Try the following test. With the washer off, grab the agitator with both hands and try to turn it in both directions. If it turns in one direction, but not the other, it's functioning properly. If it turns in both directions, it needs to be replaced, and you should get a phone estimate before proceeding. The it's a major job.
If my answer helps you, please click on the 'accept' button. That's how we experts are paid for our efforts.