- Official site: hermes-agent.nousresearch.com
- Quick start: Quickstart
- GitHub: NousResearch/hermes-agent
Core Features
Intelligent Agent
Native support for tool calling, file read/write, and code execution with persistent memory
Multi-channel Integration
Unified messaging gateway for Telegram, Discord, Slack, WhatsApp and more
Open Model Ecosystem
Built-in Custom Endpoint support for any OpenAI-compatible API
Prerequisites
Prepare Mixroute Address
Get an available Mixroute address, for example:
https://api.mixroute.ai/v1If you need to use native ports, you need to configure according to the endpoints in the API documentation. It is recommended to keep the settings in this guide to avoid errors and issues caused by different endpoints.
Hermes Agent requires the model to support at least 64K tokens context window. Please verify this requirement when selecting a model, otherwise you may encounter context insufficient errors.
Install Hermes Agent
- Linux / macOS / WSL2
- Windows
- Run the official one-click installation script in your terminal: Choose
Quick setupmode to deploy and configure core settings. For Provider and Model details, see Configure mixroute integration.
- After installation, reload your terminal environment variables:
Run
hermes --version. If a version number is displayed, the installation was successful.Configure Mixroute Integration
This is the most critical step in the integration process. Hermes Agent provides an interactive menu, so you don’t need to write any code or manually edit configuration files — just follow the prompts to enter the Mixroute URL, Key, and model name.After configuration, if you want to change settings or failed to complete the provider setup during the interactive guide, you can run
hermes model at any time after Hermes Agent deployment to overwrite the previous configuration and enter a new URL, Key, or model name.Select Provider
Use arrow keys to scroll to Custom Endpoint (or similar “custom endpoint” option) and press Enter to confirm.
Select API Mode
Hermes has four compatible modes. Select based on your model. Hermes defaults to Auto-detect.
Auto-detect [current]
Use Hermes URL heuristics; best for standard OpenAI-compatible endpoints.Chat Completions
Use/chat/completionsfor standard OpenAI-compatible servers.Responses / Codex
Use/responsesfor Codex-compatible tool-calling backends.Anthropic Messages
Use/v1/messagesfor Anthropic-compatible endpoints.
Key Configuration Reference
| Config Item | Description | Example |
|---|---|---|
| Base URL | Mixroute address, must end with /v1 | https://api.mixroute.ai/v1 |
| API Key | Token generated in Mixroute console | sk-xxxxxxxxxxxxxxxx |
| Model | Model name, must match the model ID exposed by Mixroute | claude-sonnet-4-6 |
Verify Integration
After configuration, start Hermes to begin a conversation:If the model responds normally, the integration is successful.
View and Switch Models
Enter the following command directly in the conversation to view the current model and switch quickly:FAQ
Empty response or error
Empty response or error
Check if the Base URL ends with
/v1Model not found error
Model not found error
Confirm the model name exactly matches the model ID in the Mixroute console
Invalid API Key error
Invalid API Key error
Generate a new Key in the Mixroute console, then run
hermes model againDon't know how to access the configuration menu
Don't know how to access the configuration menu
Want to switch models
Want to switch models
Run
hermes model again, or enter /model in the conversationWant to modify previous configuration
Want to modify previous configuration
Run
hermes model again, which will overwrite the previous settingsCannot install on Windows
Cannot install on Windows
Hermes does not natively support Windows. Please install WSL2 first and execute the installation command in the WSL2 terminal
After integrating with Mixroute, all subsequent Hermes Agent capabilities (messaging gateway, skill calling, background service, etc.) will call your selected model through Mixroute, without needing to configure model providers separately for each feature.