The agreement - which the US president announced just hours after he threatened to escalate the war – would, if finalised, be the most significant diplomatic breakthrough yet to end the three-month-old conflict.