How settings are stored
Hermes separates secrets from normal config: Secrets and tokens → ~/.hermes/.env Non-secret settings → ~/.hermes/config.yaml The easiest way to set values correctly is through the CLI: The right value goes to the right file automatically.
From the official Hermes Agent documentation.
hermes config set model anthropic/claude-opus-4.6
hermes config set terminal.backend docker
hermes config set OPENROUTER_API_KEY sk-or-...