They both refer to the idea of being in harmony, matching, or being the same throughout.
Here's how they relate:
* Consistent: Means unchanging over time or in different situations.
* Agreeing: Means being in accord or in agreement with something else.
Example:
"The scientist's research findings were consistent with her hypothesis, and the other researchers agreed that her conclusions were valid."