The key is the verb "to make" in this case. It's followed by the bare infinitive - to make [to] agree to do If instead of "make" you use "force," which is followed by the complete infinitive, you can better see how the form works. Someone tries to force someone to agree to do something.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.