JERUSALEM — After 50 days of fighting that took some 2,200 lives, leveled large areas of the Gaza Strip and paralyzed Israel’s south for the summer, Israeli and Palestinian leaders reached an open-ended cease-fire agreement on Tuesday that promised only limited change to conditions in Gaza and left unresolved the broader issues underpinning the conflict.

Hamas, the militant Islamist faction that dominates Gaza, declared victory even though it had abandoned most of its demands, ultimately accepting an Egyptian-brokered deal that differs little from one proffered on the battle’s seventh day. In effect, the deal put both sides back where they were at the end of eight days of fighting in 2012, with terms that called for easing but not lifting Israeli restrictions on travel, trade and fishing in Gaza.

In Israel, continual barrages of rocket fire and fears about starting school on Monday without a cease-fire had increased pressure on the government from citizens exhausted by what had become a war of attrition. Yuval Steinitz, a senior Israeli minister, said in a television interview Tuesday night that he accepted the cease-fire “with a sour taste of missed opportunity.”