I don't think a peace treaty amongst neighbours is even possible. They all pretty much hate each other as much as they hate the West. I don't know what it is about the Afghan army, but you've clearly got a load of scared young men who are woefully trained, and in effect have been defended from the Taliban by US and allies for the last 20 years. Its hardly surprising that they're getting blown over with a slight breeze. The Taliban don't fear death, they'll just send fighter after fighter at the Afghan army until there's no army left. I do feel sorry for them. It's also unlikely that the West will do a u-turn and go back to defend them. They're pretty much on their own now.