Hermes
Hermes Agent calls Vikey through the OpenAI chat completions format.
Tested with Hermes Agent 0.21.2 on 12 November 2026.
-
Install Hermes if you do not have it:
Terminal window curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash -
Keep the API key in an environment variable:
Terminal window export VIKEY_API_KEY=YOUR_API_KEY -
Add the Vikey provider and make it the default model in
~/.hermes/config.yaml:~/.hermes/config.yaml model:default: vikey/agent-gptprovider: vikeybase_url: https://api.vikey.ai/v1key_env: VIKEY_API_KEYapi_mode: chat_completionsproviders:vikey:name: Vikeybase_url: https://api.vikey.ai/v1key_env: VIKEY_API_KEYmodel: vikey/agent-gptmodels:vikey/agent-gpt: {}openai/gpt-6.1-sol: {}deepseek/deepseek-v4.1-flash: {} -
Run
hermes. To change models, runhermes model, choose Vikey, then the model.
Another way, without editing the file:
hermes config set providers.vikey.name "Vikey"hermes config set providers.vikey.base_url "https://api.vikey.ai/v1"hermes config set providers.vikey.key_env "VIKEY_API_KEY"hermes modelCommon problems
Section titled “Common problems”| What you see | Cause | Fix |
|---|---|---|
Connection error or a timeout in Hermes Desktop (macOS) |
A TLS problem in Hermes Desktop’s built-in HTTP client, not in your config or the Vikey API | Temporarily set base_url to http://api.vikey.ai/v1, restart Hermes Desktop, and switch back to https once Hermes fixes it |
401 |
VIKEY_API_KEY is not read |
Export it again and start Hermes from the same terminal |
Model '...' not found |
A typo in the model id | Copy the id from the pricing page |