JERUSALEM - Israel said Thursday it has agreed on a cease-fire with the Hamas militant group after deadly exchanges of fire over a period of 11 days killed hundreds of people.