spins fine, grinding on agitate

spins ok, grinds on the aggitate cycle

Hard to tell without being there to listen to it, but if it is coming from the transmission it is likely a sign that your transmission is starting to fail.

See if you can locate the area of the noise and let us know.