Hermes Portable stores all API credentials in a singleDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/techjarves/Hermes-USB-Portable/llms.txt
Use this file to discover all available pages before exploring further.
data/.env file located inside your portable folder — never in your home directory or system environment. Because HERMES_HOME is overridden to point at data/ on every launch, keys are read directly from there rather than from ~/.hermes/. This means your credentials travel with the drive and are never written to the host machine.
Two Ways to Add Your Keys
- Manual — Edit data/.env
- Interactive Wizard
Open Save the file, then restart Hermes for the changes to take effect.
data/.env in any text editor and add the keys for the providers you want to use:Supported Providers
| Provider | Environment Variable | Notes |
|---|---|---|
| OpenRouter | OPENROUTER_API_KEY | Access hundreds of models through a single key |
| OpenAI | OPENAI_API_KEY | GPT-4o, o1, and other OpenAI models |
| Anthropic | ANTHROPIC_API_KEY | Claude 3.5 Sonnet, Claude 3 Opus, and others |
Additional providers (DeepSeek, custom endpoints, etc.) can also be configured via
data/.env. Use hermes setup to have the wizard generate the correct variable names automatically.After Changing Keys
Hermes readsdata/.env at startup. Any changes you make to the file take effect the next time you launch Hermes — there is no hot-reload. To apply new keys immediately, exit the current session and relaunch.
hermes status to confirm the active provider and model after reconfiguring.