Skip to content
docs

Hermes Agent

Hermes Agent is an agent by Nous Research with a terminal interface, gateways to messengers, its own skills, and a scheduler. It can take its model from any OpenAI-compatible endpoint, so Waibee connects with a config change.

Install Hermes (see its documentation):

Terminal window
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash

Hermes reads the key from its own .env:

~/.hermes/.env
WAIBEE_API_KEY=sk_live_...
~/.hermes/config.yaml
model:
provider: "custom"
base_url: "https://api.waibee.com/v1"
api_key: "${WAIBEE_API_KEY}"
default: "anthropic/claude-sonnet-4.6"

provider: "custom" is the option for any OpenAI-compatible endpoint, so base_url goes with the /v1 suffix: requests go to POST /v1/chat/completions.

The same without an editor:

Terminal window
hermes config set model.provider custom
hermes config set model.base_url https://api.waibee.com/v1
hermes config set model.api_key '${WAIBEE_API_KEY}'
hermes config set model.default anthropic/claude-sonnet-4.6
Terminal window
hermes doctor # check the configuration and the key
hermes # interactive session
hermes chat -q "what does this repository do?" --oneshot # one-off request
hermes chat -q "..." -m google/gemini-3.6-flash # a different model for one run

Give the full model ID as it appears in the catalog: <provider>/<model>. waibee/auto works too; then the router picks the model. See Autorouting.

Available IDs:

Terminal window
curl -s https://api.waibee.com/v1/models \
-H "Authorization: Bearer $WAIBEE_API_KEY" | jq -r '.data[].id'

The second working option is to present Waibee to Hermes as the OpenAI API with a different address.

~/.hermes/config.yaml
model:
provider: "openai-api"
default: "anthropic/claude-sonnet-4.6"
api_mode: "chat_completions"
~/.hermes/.env
OPENAI_API_KEY=sk_live_...
OPENAI_BASE_URL=https://api.waibee.com/v1

The advantage of this option: the interactive model picker (hermes model) loads its list from GET /v1/models, so you see the catalog right in the picker.

  • Hermes tools (reading files, running commands, search) work as usual: Hermes calls them through tool calling. See Tool calling.
  • agent.reasoning_effort sets the reasoning level; see Reasoning.

HTTP 401: {"error":"unauthorized"} with provider: "custom". If the WAIBEE_API_KEY variable is not set, Hermes leaves the string ${WAIBEE_API_KEY} as is and sends it instead of the key. Check hermes config get model.api_key.

422 validation_error. The ID has no provider prefix. Use the full ID, for example anthropic/claude-sonnet-4.6.

404 model_not_found. The model is not in your key’s catalog. Check the ID against GET /v1/models, called with the same key that Hermes uses. See Models.

hermes doctor says the key is not configured. Check the path to .env in the hermes doctor output (by default ~/.hermes/.env) and the substitution in model.api_key: doctor does not recognize WAIBEE_API_KEY.