I feel an Al Jazeera perspective may be apt (and likely highly locally informed). Some stuff not mentioned so far. I learnt a few new things anyway
"
In 2011, the Obama administration allowed a group of Taliban officials to move to Qatar, where they would be charged with laying the groundwork for face-to-face negotiations with the government of then-President Karzai.
In 2013, the Taliban’s Doha office was formally opened. In 2018, the Trump administration began formal, direct talks with the group. The Afghan government was not invited.
The head of the Taliban political office in Doha, Abdul Ghani Baradar, signed an agreement with the US on February 29, 2020, that paved way for the withdrawal of the US and other foreign forces. The Taliban promised not to attack US-led foreign forces.
The agreement also launched peace talks between the Taliban and the Afghan leadership in the Qatari capital. But the Taliban continued its military offensive on the ground while participating in the talks. Last Sunday, they entered the presidential palace, retaking Afghanistan 20 years after they were driven out of power."
https://www.aljazeer...-of-the-taliban