The agreement reached on August 9 calls for a 31-member unity transition government led by a prime minister and three deputy prime ministers .