Skip to main content
The CLI exposes a couple of commands that can be used to configure the application. It can be accessed by running:
swizz [OPTIONS]
FlagDescriptionDefault
--versionShow the installed version and exit
--api-key TEXTOpenRouter API key (also read from OPENROUTER_API_KEY env var)None
--model TEXTModel to use at startup (e.g. openai/gpt-4o, ollama/llama3)openai/gpt-4o
--devEnable development mode with Textual debug logging to textual.logFalse
Examples:
# Start with a specific model
swizz --model anthropic/claude-3.5-sonnet

# Pass your OpenRouter API key directly
swizz --api-key sk-or-...

# Start in dev mode for troubleshooting
swizz --dev