Hermes Agent Configuration
Learn how to configure Hermes Agent, including config files, LLM provider settings, tool configuration, and all available configuration options.
Choose a model provider
Hermes supports 300+ models and more than a dozen providers.
Nous Portal is Nous Research's own subscription gateway; a single OAuth login covers model calls + tool gateway (web search, image generation, TTS, browser automation):
hermes setup --portal

The above command opens the browser to complete OAuth authorization, sets Nous as the inference provider, and enables all tool gateways at the same time.

Full setup wizard (bring your own API Key):
hermes setup
The wizard offers three modes:
| Mode | Description | Who It's For |
|---|---|---|
| Quick Setup (Nous Portal) | One-click OAuth login, no API Key needed | New users who want to get running fastest |
| Full Setup | Configure each provider and tool step by step | Users who want to customize everything |
| Blank Slate | Enable only the minimal core (file operations + terminal), everything else off | Advanced users who need precise control |
Manually select a provider
Use the following command to view the providers you can choose from:
hermes model
Use the up/down keys to select and press Enter to confirm the configuration:

Common provider configuration methods:
| Provider | Configuration method |
|---|---|
| Nous Portal | hermes setup --portal (OAuth) |
| Anthropic (Claude) | OAuth login (requires the Max plan + extra usage quota), or set ANTHROPIC_API_KEY |
| OpenRouter | Settings OPENROUTER_API_KEY |
| OpenAI | Settings OPENAI_API_KEY |
| Google AI Studio | Settings GOOGLE_API_KEY |
| xAI (Grok OAuth) | hermes model → xAI Grok OAuth |
| Local model (LM Studio) | Settings LM_API_KEY and LM_BASE_URL |
Principle: get basic conversation working first, then gradually enable advanced features such as gateways, scheduled tasks, and voice.
One-click configuration with CC Switch
Next we use CC Switch to let Hermes use large models such as Qwen, GlM, Kimi, and DeepSeek. CC Switch is an open-source cross-platform desktop tool that centrally manages AI coding assistants like Claude Code, Codex, and Gemini CLI, and supports one-click switching of API providers, models, and configurations.
You can download it from the official website:https://ccswitch.io/zh/.
Or go to GitHub Releases: https://github.com/farion1231/cc-switch/releases/latest Download the installer for your platform.
Scroll to the very bottom of the page, to the assets section, and download the installer for your platform:

After downloading and installing CC Switch, select Hermes and click the 'Create' button in the top-right corner.

Then choose Custom in the configuration:

We can use the Coding Plan, which is still the most cost-effective since it is a monthly subscription:
Here we select ByteDance's Ark, enter the API Key and request address, the OpenAI-compatible request address: https://ark.cn-beijing.volces.com/api/coding/v3, set your API key, and set the desired model; here we chose deepseek-v4-pro:

After configuring, click the Save button in the bottom-right corner; back on the main screen we can see the configured info, test whether it was set up successfully, and then enable it:

After enabling, go to the command line and use the hermes command to start Hermes:
hermes
As you can see, the model has been set up successfully and is ready to use.
For more details on CC Switch, see:https://www.runoob.com/ai-agent/cc-switch.html
Config file locations
Hermes Agent uses the following config files:
| file | Description |
|---|---|
~/.hermes/config.yaml |
Main config file |
~/.hermes/.env |
Environment variables (API keys, etc.) |
~/.hermes/state.db |
SQLite session database |
~/.hermes/skills/ |
Installed skills directory |
~/.hermes/sessions/ |
Session storage directory |
~/.hermes/memories/ |
Persistent memory storage |