Skip to main content
Configure Hermes Agent by Nous Research to call the Modellix LLM gateway. Hermes does not ship a built-in Modellix provider, so use a Custom Endpoint that points at Chat Completions on POST /v1/chat/completions.
This page covers LLM text only (https://llm.modellix.ai). For Hermes media skills (image, video, speech), see Skill.Modellix model IDs are provider/name (for example openai/gpt-5.5). Enter that full string as the Hermes model name. See Models & Pricing.

Set Up Hermes

1

Get a Modellix API Key

Create a Modellix API key in the console and store it securely. You will paste it into the Hermes Custom Endpoint setup (or into ~/.hermes/.env).
2

Configure the Custom Endpoint

From your terminal (outside an active Hermes session), run:
Select Custom endpoint (self-hosted / VLLM / etc.) and enter:Include /v1 in the base URL so paths resolve to /v1/chat/completions.
Use Custom endpoint, not built-in OpenRouter, OpenAI, or Anthropic providers. Those routes send traffic to vendor endpoints instead of Modellix.
3

Persist Env and Config

The wizard writes provider settings for you. To configure manually (or to verify), edit these files.~/.hermes/.env (secrets only):
~/.hermes/config.yaml (model and endpoint):
Replace mdlx-xxxxxxxx with your Modellix API key. Prefer keeping the key in .env when your Hermes build stores credentials there after hermes model; keep config.yaml as the source of truth for provider, base_url, and default.To switch models later, change model.default (for example to anthropic/claude-sonnet-5 or google/gemini-3.6-flash), or inside a session use /model custom:<model-id>. Full catalog: Models & Pricing.
You do not need a separate Anthropic base URL. Use anthropic/... and google/... IDs on the same Custom Endpoint; traffic goes through OpenAI-compatible Chat Completions on https://llm.modellix.ai/v1.
Hermes separates secrets from settings: API keys belong in ~/.hermes/.env; model, provider, and base URL belong in ~/.hermes/config.yaml.
4

Start Hermes

Start a Hermes session so it loads the updated config:
Or use the TUI:
You can also start a chat with:

Troubleshooting