I’m not sure why I had to do this even if I told SSHKeychain to manage my environment variables, but anyway, to use SSHKeychain’s key agent in a shell, you do this:
Look up the socket location in preferences, it should look like this:
and set the SSH_AUTH_SOCK environment variable in your shell to that location, you then should be good to go.