Pakistan's prime minister is in Kabul for a one-day visit to discuss efforts to start a peace process with the Taliban and energy projects to alleviate chronic power shortages in both countries.

Nawaz Sharif arrived on Saturday on his first visit since being elected for talks with President Hamid Karzai, who has been pushing Pakistan for help in talking to the Taliban and access to a Taliban leader recently released by Pakistan.

Many Taliban leaders are thought to be based in Pakistan, and Kabul has sought Islamabad's help to get them to talk.

Karzai was in Pakistan last August.

Relations between the two countries have been testy and Afghanistan has often accused Pakistan of aiding Taliban leaders sheltering across the border.

Sharif has made improving ties with Afghanistan a priority.