With the command line gpg agent, you can set the default key in the configuration file. If you want to change the key to use, add the --default-key argument to your command.