Skip to main content
Configuration file location: ~/.mutual-dissent/config.toml

Full Example

[providers]
openrouter_api_key = "sk-or-..."
anthropic_api_key = "sk-ant-..."

[routing]
default_mode = "auto"
claude-opus = "direct"

[model_aliases]
[model_aliases.claude-opus]
openrouter = "anthropic/claude-opus-4.6"
direct = "claude-opus-4-6"

[model_aliases.claude]
openrouter = "anthropic/claude-sonnet-4-6"
direct = "claude-sonnet-4-6"

[model_aliases.gpt]
openrouter = "openai/gpt-5.4"

[model_aliases.gemini]
openrouter = "google/gemini-3.1-pro-preview"

[model_aliases.grok]
openrouter = "x-ai/grok-4.20-beta"

[model_aliases.nemotron]
openrouter = "nvidia/nemotron-3-super-120b-a12b"

[defaults]
panel = ["claude-opus", "gpt", "gemini", "grok", "nemotron"]
synthesizer = "claude-opus"
rounds = 1

[providers]

KeyDescription
openrouter_api_keyOpenRouter API key
anthropic_api_keyAnthropic direct API key
openai_api_keyOpenAI API key
google_api_keyGoogle API key
xai_api_keyxAI API key
groq_api_keyGroq API key
Environment variables override file values. See Environment Variables.

[routing]

KeyValuesDefaultDescription
default_modeauto, direct, openrouterautoRouting mode applied to all models unless overridden
<alias>auto, direct, openrouterPer-model override (e.g. claude = "direct")

[model_aliases]

Each alias is a subtable with openrouter (required) and direct (optional) keys.
KeyDescription
openrouterOpenRouter model ID used when routing via OpenRouter
directVendor-native model ID used when calling the provider directly

[defaults]

KeyDefaultDescription
panel["claude-opus", "gpt", "gemini", "grok", "nemotron"]Default debate panel
synthesizer"claude-opus"Default synthesizer alias
rounds1Default reflection rounds (1–3)

Notes

  • config.toml is created automatically on first use of dissent config show or when saving from the web UI config panel
  • The file is not created by pip install — you only need it if you want to persist settings beyond environment variables
  • Omit any section you don’t need; defaults are applied for missing values