But significant obstacles remain.
Iran says it won`t allow inspectors to visit military sites and interview scientists to ensure Iranian compliance. Ayatollah Ali Khamenei, the supreme leader, also says he wants all economic sanctions lifted before the deal is signed, while the U.S., Britain, France, China, Germany and Russia must still agree among themselves - and then with Iran - on a much-slower schedule for rolling back sanctions and a plan for snapping them back into place if the Iranians are caught cheating.
Meanwhile, Israel is threatening potential military action to destroy Iran`s nuclear infrastructure and Saudi Arabia`s Sunni monarchy is considering an atomic program of its own to match that of its Shiite neighbor.
Here is a look at the emerging Iran agreement, the remaining obstacles and the political challenges it faces:
More about: