This is a significant policy shift, and signals a deepening relationship between the long-wary neighbors.
The officials in both countries became increasingly convinced that the US war effort is wavering.
According to the Afghan officials, Karzai has begun to see Pakistan as a necessary ally in ending the war through negotiation with the Taliban
"This is meant to demonstrate confidence to Pakistan, in the hope of encouraging them to begin a serious consultation and conversation with us on the issue of 'Taliban'," said Rangin Dadfar Spanta, Karzai's national security adviser on the training agreement.
However, the top US officials, involved in Afghanistan, said they had no idea about the arrangement.