UN peace envoy Jan Kubis met Libyan military commander Field Marshal Khalifa Haftar in the eastern city of Benghazi on Friday in a renewed drive to bring peace to the country.
The UN said Mr Kubis called for the bolstering of a shaky October ceasefire between the country's warring forces that has offered Libyans hope after years of war between rival governments in the east and west.
Mr Kubis declared that Libya was "back on the path of reconciliation and unity" at the talks, the UN said.
"Discussions focused on ways to expedite the full implementation of the ceasefire agreement … including the withdrawal of all foreign forces and mercenaries as well as the unification of the military and security institutions," it said.
The men also "discussed ways to expedite the opening of the coastal road" around the Mediterranean city of Sirte, where the most recent bout of fighting became deadlocked last year.
Mr Kubis met Field Marshal Haftar, commander of the Libyan National Army, alongside members of a military commission that includes envoys from the Government of National Accord, based in Tripoli.
UN spokesman Farhan Haq said the UN was still not ready to send monitors to ensure the ceasefire was being followed.
Mr Kubis this week spoke to key Libyan political figures in a bid to speed up plans to send UN ceasefire monitors and bolster the interim government's efforts to unite the country through national elections on December 24.
Since starting work on February 8, Mr Kubis has also spoken with diplomats and ministers from the UK, Germany, France, Egypt, Algeria, Morocco, Tunisia, Turkey, France, Russia, Switzerland, Qatar and other countries with a stake in Libya.
Abdul Hamid Dbeibah was this month elected interim prime minister by Libyan delegates at UN-led talks near Geneva. The delegates also elected a three-member Presidential Council that, along with Mr Dbeibah, will lead Libya towards the vote.
Libya fell into chaos after a Nato-backed uprising in 2011 toppled leader Muammar Qaddafi. The country has been split between an administration in the east and the Government of National Accord in the west.
Last Wednesday, Libyans marked the 10th anniversary of the start of that uprising.