US and Iranian officials have agreed on a framework aimed at ending the conflict between the two countries, lifting the US blockade on Iran and reopening the Strait of Hormuz, according to media reports on Monday.