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 this section for guided setup. Exact lookup pages for config.toml,
environment variables, and paths live under Reference.
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.
- Setup wizard —
gormes setup, focused setup sections, verification, and command reference links. - Providers — the inference providers Gormes ships
with, the env vars they need, and how the
--provider/--modelflags resolve. - Models and routing — active provider/model selection, invocation overrides, and fallback pointers.
- Profiles and workspaces — profile state boundaries and workspace allow-list semantics.
- Channel credentials — Telegram token setup plus gateway credential pointers.
- Secrets and local state —
config.tomlvs.env,$GORMES_HOME, and what not to share.
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-...For exact lookup, use: