BANGUI, Dec 18 (Reuters) - Central African Republic President Francois Bozize has agreed with rebel and opposition leaders on the formation of a consensus government to rule until 2010 presidential elections, a mediator said on Thursday. Former Burundi President Pierre Buyoya made the announcement in the capital Bangui after chairing 10 days of political talks hosted by Bozize aimed at ending multiple bush rebellions and achieving a lasting peace in the poor, landlocked African state. (Reporting by Paul-Marin Ngoupana; Writing by Pascal Fletcher)