The commands you tried to run are commands to change the system configuration, though the ssh agent is a user service - so it wouldn’t work on it and systemctl should have shown appropriate error messages.
To disable the ssh agent user service run:
systemctl --user disable --now ssh-agent.service