The Malian government agreed a deal with six armed groups Thursday to cease hostilities as part of UN-sponsored peace talks aimed at ending the crisis in the country's north.