The past tense of agree to do is agreed to do.
The third-person singular simple present indicative form of agree to do is agrees to do.
The present participle of agree to do is agreeing to do.