The United States and Iran reached an initial agreement early on Monday to reopen the Strait of Hormuz and extend a fragile ceasefire in the US-Iran conflict.