It would be truer to say the agreement was between several world powers and Obama, as the Senate didn't ratify.
Re international agreements: yes, the idea is that _broad support_ is required for binding international agreements. Senate ratification represents broad support.
The JCPOA was written in pencil.