On February 29, 2020, the American government signed a conditional peace deal with the Taliban. The deal obliges
1) The United States to have a phased withdrawal of troops from Afghanistan by 2021
2) Prisoner swaps to take place with 5000 Taliban prisoners being released in exchange for 1000 government soldiers
3) The Taliban to sever ties with Al Qaeda and all other international terror groups, and sit down in peace negotiations with other Afghans.
The Afghan government was not a party to the negotiations, although it was kept in the loop.