Representatives and leaders of the rival groups have agreed to form a unity government within one year alongside an immediate ceasefire.
“As I have said many times, there is no text that is entirely satisfactory to all parties and that responds to all their demands… I am confident that in the weeks ahead a clear decision will be made and will address all sides and issues,” said UN special envoy to Libya, Bernardino Leon.
Multiple groups have been trying to take control of the oil-rich nation, which has been reeling under an intense power struggle for four years ever since former dictator Muammar Gaddafi was ousted.
“This agreement will bring a step, an important step in the road of peace in Libya. Let me enhance one message: The doors will remain open for those who have chosen not to be here,” Leon said in his address during a gathering of both Western and Arab delegates.
A one-year transitional period will allow the groups to work out a framework on who will take control of key establishments like airports. They are also expected to come up with a constitution during this period.
The deal has come at a crucial time when the Islamic State (Isis) is increasingly attempting to capitalize on the political vacuum created by the unrest in the North African nation.