Hermes
Use OpenCode Console models from Hermes Agent.
Hermes Agent (opens in a new tab) includes OpenCode providers for pay-as-you-go Console access. It picks the
right API for each Console models. Free-tier chat models require OpenCode and return HTTP 403 from Hermes.
Note: The Console CLI sets up Hermes with one command, including the workspace's policies, MCP servers, skills and instructions. Run
npx @opencode/console setup hermes. The steps below set it up by hand.
| Provider | Plan | Key variable |
|---|---|---|
opencode-zen | Pay-as-you-go | OPENCODE_ZEN_API_KEY |
Configure
Run the model setup and select OpenCode Zen for pay-as-you-go or OpenCode Console for Go.
hermes modelPaste a personal API key, then choose a model. Hermes saves the
key to ~/.hermes/.env and the selection to ~/.hermes/config.yaml.
model:
provider: opencode-go
default: kimi-k3Note: Go requires a session ID on every request. Hermes v0.21.6 and later send it automatically.
Models
Use model IDs from the Console table without a prefix.
Switch models in a session with /model, or pick one for a single run.
hermes chat --provider opencode-zen --model claude-sonnet-5-5Console MCP
Add the Console MCP server with OAuth, then sign in from the browser.
hermes mcp add opencode-console --url https://opencode.ai/console/mcp --auth oauth
hermes mcp login opencode-consoleOr add it to ~/.hermes/config.yaml and run /reload-mcp in a session.
mcp_servers:
opencode-console:
url: https://opencode.ai/console/mcp
auth: oauth