KABUL: Leaked US government cables critical of Afghanistan and Pakistan have helped bring the two nations together, Afghan President Hamid Karzai said on Saturday, dismissing their content as lies.

Karzai also hinted, at a joint news conference with visiting Prime Minister Yousuf Raza Gilani, that outside agents may be working to destabilise the neighbours.

"Whatever the intention was of the WikiLeaks, they helped relations between Pakistan and Afghanistan, so in that sense the Wikileaks were good for us," Karzai said, without detailing how damaging allegations in the cables might have brought them together.

Karzai, who has recently been publicly critical of Western tactics in the fight against the Taliban, said ties with Islamabad were solid.

"I can assure you that there is no trust deficit between Afghanistan and Pakistan," he told journalists.