Pakistani Army Chief of Staff Gen. Qamar Javed Bajwa met with Afghan President Ashraf Ghani in Kabul to discuss regional security and counter-terrorism co-operation.
Addressing the United Nations, President Ghani called on Pakistan to engage in earnest efforts to eliminate terrorism.
The offer is a golden opportunity to join hands against militants and establish peace on both sides of the border, observers say.
Co-operation in battling terrorism was the theme as dignitaries in Peshawar celebrated Afghanistan's 98th Independence Day.
The recently concluded conference revealed that regional and international peace might more easily be found by getting to know neighbours than by fearing them.
Afghan President Ashraf Ghani sent a strong message to the Taliban this week, reflecting the Afghan people's desire for peace and his cabinet's growing impatience.
Officials and observers in the neighbouring countries are optimistic about warming relations.
Joining the government's peace process is the only way out, say the Afghanistan High Peace Council and former fighters.
The president made a strong plea for peace at the Kabul Process talks but said the Taliban must also be willing to come to the table.
A delegation of Pakistani lawmakers visited Kabul with the goal of building trust with their Afghan colleagues.