Hermes
Hermes Agent includes OpenCode providers for pay-as-you-go and Go. It picks the right API for each model, so every Console model works.
| Provider | Plan | Key variable |
|---|---|---|
opencode-zen | Pay-as-you-go | OPENCODE_ZEN_API_KEY |
opencode-go | Go | OPENCODE_GO_API_KEY |
Configure
Run the model setup and select OpenCode Zen for pay-as-you-go or OpenCode Go for Go.
hermes model
Paste 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-k3Models
Use model IDs from the Console or Go 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-5
Console 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-console
Or 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