The deal was agreed on Monday between the government and 17 political parties and civil society groups. It would see the creation of a federal state, though there is still disagreement on where the regional borders will lie.