Iran and the United States have agreed to halt recent hostilities in the Gulf and resume diplomatic talks over their dispute in the Strait of Hormuz, a US official said on Sunday, raising hopes of stabilising a fragile interim understanding, according to Reuters.