Skip to content

Configuration Guide

Cordenex stores its configuration in ~/.cordenex/config.yaml. You can modify this file directly or use the cordenex set command.

AI Providers

Anthropic

cordenex config set providers.anthropic.enabled true
cordenex config set providers.anthropic.api_key sk-ant-...
cordenex switch claude-3-5-sonnet

Groq

cordenex config set providers.groq.enabled true
cordenex config set providers.groq.api_key gsk_...
cordenex switch llama-3.3-70b-versatile

Google Gemini

cordenex config set providers.gemini.enabled true
cordenex config set providers.gemini.api_key ai-...
cordenex switch gemini-2.0-flash

Ollama (Local/Private)

Requires Ollama running locally.

cordenex config set providers.ollama.enabled true
cordenex config set providers.ollama.base_url http://localhost:11434
cordenex switch llama3.2

UI & Aesthetics

KeyValuesDescription
general.themedark, lightTerminal UI theme.
general.verbosetrue, falseEnable debug logging.
general.interactivetrue, falseDisable for headless automation.
# Example: Switch to light theme
cordenex config set general.theme light

Session & Logging

Cordenex logs all AI interactions for self-improvement and debugging.

  • Logs: stored in ~/.cordenex/logs/
  • Journal: stored in ~/.cordenex/journal.json

To disable logging:

cordenex config set general.log_file ""