Prerequisites
- macOS, Linux, or WSL2, with the prerequisites in the official installation guide.
- An active API key from the RunBridge AI console.
- A text model available to your key that supports Chat Completions, streaming, and tool calling. Replace
your-model-idthroughout the example.
Install Hermes Agent
Follow the official installer instructions, then confirm the CLI is available:Configure the provider
Add your key to the user-level~/.hermes/.env file. Edit an existing entry instead of adding duplicates, and keep this file outside your project repository:
~/.hermes/config.yaml, preserving any other providers and settings:
runbridge is a name you assign to this custom provider. key_env tells Hermes which environment variable holds its key; transport selects Chat Completions. Keep /v1 in the base URL. Hermes adds /chat/completions and sends the key as a Bearer token.
Hermes can use separate auxiliary models for tasks such as vision and summarization. Review any existing auxiliary overrides if those tasks should also use RunBridge AI.
Verify the connection
Check the configuration, then start a new session so it reads the selected provider:Troubleshooting
See the official provider configuration and model configuration references for additional options.