Overview
Hermes Agent is an open-source, self-hosted AI agent from Nous Research. It runs as a persistent background process with its own memory and evolving skills, and reaches you across the CLI and 20+ messaging platforms. Because Hermes talks to any OpenAI-compatible endpoint, you can point it at Eden AI and get:- 500+ models: Access OpenAI, Anthropic, Google, and more through a single API key
- One key, many providers: Switch models by changing a single config value — no per-provider keys
- Automatic fallbacks: Configure a backup model that Hermes tries when the primary one fails
Hermes is an agent, so every request it sends includes a
tools (function-calling) parameter. Point it at a model that supports function calling — see Choosing a model.Prerequisites
- Hermes Agent already installed. If not, run the one-line installer:
- Eden AI API key from app.edenai.run → API Keys
Setup
1. Point Hermes at Eden AI
Configure thecustom provider with the Eden AI base URL and a function-calling model. Use the built-in config set commands — no manual file editing required:
hermes config path prints its location — ~/.hermes/config.yaml on macOS/Linux, %LOCALAPPDATA%\hermes\config.yaml on Windows). The result looks like:
2. Add your API key
Hermes derives the key’s environment-variable name from the base URL host, soapi.edenai.run maps to EDENAI_API_KEY. Add it to Hermes’ secrets file (hermes config env-path prints its location):
base_urlmust behttps://api.edenai.run/v3(no trailing/chat/completions— the OpenAI-compatible client appends that for you).- Keep the key in the
.envfile, not inconfig.yaml. Any environment variable namedEDENAI_API_KEYworks too. - Billing is handled on the Eden AI side through your API key. Check per-request cost in the Eden AI dashboard.
3. Start Hermes
Choosing a model
Hermes requires function calling, so pick a model that supports it. Anyprovider/model string from the Eden AI catalog works — set it with hermes config set model.default <model> or per-session with hermes chat -m <model>.
| Model | Best for |
|---|---|
anthropic/claude-sonnet-4-5 | Recommended default — balanced reasoning, reliable tool calling |
anthropic/claude-opus-4-8 | Maximum capability |
anthropic/claude-haiku-4-5 | Fast and cheap |
openai/gpt-5 | OpenAI’s frontier model |
google/gemini-2.5-pro | Long context, multimodal |
Set up a fallback
Hermes can fall back to a backup model when the primary one fails. Add a second Eden AI model to the fallback chain:Troubleshooting
401 / Custom token not found
Verify your Eden AI key — grab a fresh one at app.edenai.run → API Keys. Confirm EDENAI_API_KEY is set in Hermes’ .env (hermes config env-path) and has no leading/trailing spaces.
Request included tools parameter, but providers ... do not support function calling
The selected model can’t do function calling, which Hermes requires. Switch to a function-calling model:
model not found
Ensure model.default uses the provider/model format (e.g. anthropic/claude-sonnet-4-5). No bare model names.
Connection issues
Confirmbase_url is exactly https://api.edenai.run/v3 and check Eden AI status at app-edenai.instatus.com.
Next Steps
- OpenClaw - Self-hosted terminal-based AI agent
- OpenCode - Terminal-based AI coding assistant
- Claude Code - Official Claude CLI