IAEA chief Rafael Grossi says a three-month temporary solution has been agreed with Iran that allows continued monitoring of the country's nuclear energy program.

But inspections will be limited.

- What we have agreed on is feasible and useful to overcome the differences we have and save the situation at the moment, Grossi said at a press conference after returning to Vienna after negotiations in Tehran.

Sanctions shock test

Ahead of the talks in Tehran this weekend, Iranian Foreign Minister Mohammad Javad Zarif had signaled that the country wanted to avoid a "stalemate".

But he also warned that Iran could waive its commitments further unless the United States lifted sanctions against the country.

"Once everyone lives up to their commitments again, we can start talking," Zarif said on Iranian television before the meeting.

Left the contract

The nuclear agreement was drawn up in 2015 between Iran and the five permanent members of the UN Security Council and Germany.

But in 2018, the now retired US President Donald Trump decided that the US would leave the agreement and impose sanctions on Iran.

Trump's boss in the election, Joe Biden, wants to thaw the frost but also does not want to be the one to take the first step.

The agreement from 2015 stipulates that Iran will refrain from developing nuclear weapons, in exchange for lifting sanctions.

A protocol to the agreement states that the International Atomic Energy Agency (IAEA) may carry out unannounced inspections in the country to verify compliance with the agreement.

But Iran has been reluctant to live up to it since 2018 and last year the Iranian parliament decided to demand that the country leave the protocol.