Skip to content
Docs/Integrations/Hermes Agent

Hermes Agent

An open-source terminal agent from Nous Research. Any OpenAI-compatible server is a custom endpoint in its model settings.

Settings

model.provider
custom
model.default
uncensoredllm-1
model.base_url
https://uncensoredllm.xyz/v1
model.api_key
your vk-... key
model.context_length
262144

Steps

The quick way is interactive:

  1. Run hermes model.
  2. Choose the custom endpoint entry (Hermes labels it as self-hosted).
  3. Enter the base URL, your vk- key and the model id when it asks. Hermes saves them to its config.yaml.

Or edit ~/.hermes/config.yaml by hand:

YAML
model:  default: uncensoredllm-1  provider: custom  base_url: https://uncensoredllm.xyz/v1  api_key: vk-...  context_length: 262144

Hermes keeps secrets in ~/.hermes/.env. Its docs say hermes config set model.api_key ... writes the key there and leaves a ${HERMES_MODEL_API_KEY} reference in the YAML. They also describe a key_env field that names a variable holding the key. The context_length line is for when Hermes detects the size wrong.

Check that it works

Start Hermes and send one short message.

When something does not work

  • OPENAI_BASE_URL has no effect Hermes's docs say that variable applies only to its openai-api provider. For a custom endpoint, set model.base_url.
  • 401 The key in config.yaml or .env is missing or wrong. See errors.
  • 404 model_not_found The default value is not our model id. See models.