Under the terms of the deal, Kabila will stay until the "end of 2017" but a transition council will be established, headed by opposition leader Etienne Tshisekedi.
In addition, a prime minister will be named from the opposition ranks.
The talks were launched by the Roman Catholic Church to ward off violence as Kabila's second and final mandate ended on December 20 with no sign of him stepping down and no election in sight.
According to a working document for the deal previously seen by AFP, Kabila guarantees that he will not seek a third mandate.
Also Read
In return, the opposition accepted the president remain in office until handing over to an elected successor.
The opposition had previously demanded his immediate departure from public life.
The Catholic Church, which plays a key role in the vast central African country of some 70 million people, launched the negotiations on December 8 and had initially hoped to see a deal before Christmas.
And in a highly controversial ruling, the constitutional court said Kabila could remain in office until an election was held.
The ruling fed opposition fears that he planned to amend the constitution to allow him to run for a third term.
Kabila, 45, has been in power since the 2001 assassination of his father Laurent at the height of the Second Congo War.
He was confirmed as leader in 2006 during the first free elections since independence from Belgium in 1960, and re-elected for a second term in 2011 in a vote marred by allegations of massive fraud.
Disclaimer: No Business Standard Journalist was involved in creation of this content