Hamas has accepted a draft agreement for a ceasefire in the Gaza Strip and the release of dozens of hostages, two officials involved in the talks said on Tuesday. Mediator Qatar said the negotiations were at the closest point yet to sealing a deal. The Associated Press obtained a copy of the proposed agreement, and an Egyptian official and a Hamas official confirmed its authenticity. An Israeli official said progress has been made, but the details are being finalized. The plan would need to be submitted to the Israeli Cabinet for final approval. All three officials spoke on condition of anonymity to discuss the closed-door talks. The United States, Egypt and Qatar have spent the past year trying to mediate an end the 15-month war and secure the release dozens of hostages captured in Hamas' October 7, 2023, attack that triggered it. Some 100 Israelis are still captive inside Gaza, and the military believes at least a third them are dead. Officials have expressed mounting optimism