Definition of agree:
(v) :
to harmonize in opinion, statement, or action; to be in unison or concord; to be or become united or consistent; to concur; as, all parties agree in the expediency of the law; to yield assent; to accede;—followed by to; as, to agree to an offer, or to opinion
"if music and sweet poetry agree. --Shak."