Configure
Configure
Section titled “Configure”Gormes resolves settings in a fixed precedence chain: CLI flags win, then
environment variables, then values in config.toml, then built-in defaults.
Secrets are routed to a separate dotenv file so config.toml stays safe to
share. Use the pages below to find the exact knob you need.
Configuration is canonical at $GORMES_HOME/config.toml (default
~/.gormes/config.toml). Secrets live in $GORMES_HOME/.env. There is no
project-local override and no XDG path.
- Config file — every
[section]and field thatconfig.tomlaccepts, with verified defaults from the binary. - Environment — every
GORMES_*and legacyHERMES_*/TELEGRAM_*variable Gormes reads, grouped by family. - Providers — the inference providers Gormes ships
with, the env vars they need, and how the
--provider/--modelflags resolve. - Telegram — the minimal bot-token + allow-list path and the advanced channel/guest-mode/notification options.
- Paths & logs — the exact files Gormes reads and writes
under
$GORMES_HOME, and how each is resolved.
Quick orientation
Section titled “Quick orientation”Use the binary as the source of truth for paths and current values:
gormes config path # prints $GORMES_HOME/config.tomlgormes config env-path # prints $GORMES_HOME/.envgormes config show # resolved config with secrets redactedgormes config check # schema and dotenv presenceTo change a value, prefer gormes config set. It writes secrets
(*_API_KEY, *_TOKEN, api_key) to .env and everything else to
config.toml:
gormes config set hermes.provider openaigormes config set hermes.api_key sk-... # routed to .env automaticallyFor provider credentials, use the credential pool so OAuth refresh works:
gormes auth add anthropic --type oauthgormes auth add openai --api-key sk-...