Back to AI Q&A
What if Hermes Agent is still using login/logout?

What if Hermes Agent is still using login/logout?

AI Q&A Admin 67 views

Hermes Agent If you are still using hermes login or hermes logout, we recommend using hermes auth instead. The official CLI reference has marked login/logout as deprecated, and the new credential management portal is the auth command family.

auth is responsible for what

hermes auth is used to add, list, delete, reset, and set credential policies, and also handles OAuth processes such as Nous, Codex, and Anthropic. Compared to the old command, it is more suitable for multi-provider, multi-account, and multi-profile usage.

How to migrate usage habits

  • To add an account: Use hermes auth add.
  • I want to see what credentials I currently have: Use hermes auth list.
  • To delete or reset: Use the hermes auth remove or reset related subcommands.
  • If you want to change the default model: Still use hermes model, don't mix model selection with login.

Can the old command still be used?

deprecated doesn't mean it's not immediately unavailable, but continuing to rely on old commands can make troubleshooting, especially if you're using API Key, OAuth, OpenRouter, Nous Portal, or multiple profiles at the same time. Using auth makes it easier to know where the credentials are stored and which one is currently in use.

If you still see that the key doesn't exist after logging in, check the configuration priority again: the key is usually set at ~/.hermes/.env or auth.json, and the normal model is set at config.yaml.

Recommended Tools

More