The uneasy peace between the United States and Iran is facing its first major test just days after a landmark framework agreement halted months of escalating conflict, with both sides publicly contradicting each other on key provisions ranging from nuclear inspections to frozen assets and regional security.

Speaking at a rally in Pennsylvania, U.S. President Donald Trump projected confidence about the negotiations, insisting relations with Tehran were improving and claiming Iran had agreed to unlimited international inspections of its nuclear facilities.

"We're getting along quite well," Trump said, portraying the talks as a significant diplomatic breakthrough.

Iran quickly pushed back.

Tehran denied that its nuclear program had even been discussed during the latest round of negotiations in Switzerland and rejected suggestions that it had agreed to grant inspectors unrestricted access to nuclear sites damaged during last year's conflict.