Islamabad: The Taliban will not attack public institutions such as schools, universities and religious centres under an agreement reached with Afghan officials after two days of talks in Doha.

Afghan politicians and Taliban envoys unveiled a confidence-building "road map for peace" on Tuesday after two days of talks in the Qatari capital.

Baghlan province residents carry the bodies of children killed in an air strike in northern Afghanistan on Saturday. Credit:AP

Although the declaration is not binding and did not formally involve the Afghan government, diplomats hope it will form the foundation for official negotiations.

But fulfilling the pledge to cut civilian casualties will be difficult in a war that last year saw 11,000 non-combatants killed or wounded, according to UN estimates.