Difference between agree and consent
Agree to do something is a legal or contractual context is generally used to assume an obligation:
"the contractor agrees to perform the work in good and workmanlike quality"
Consent, on the other hand, is an ackonwledgement that the other person will do something and the subject will tolerate it.
The Seller consents to the registration of Buyer's title of ownership to the property in the Land Register.
If the term "agree" is used, the action will be performed by the person who agreed, when "consent" is used, the action will be performed by the other person and will be tolerated by the first.