Configuration¶
LLM Provider¶
Codeilus supports a provider-agnostic LLM architecture. The default provider is Claude Code CLI.
Auto-Detection¶
On startup, Codeilus automatically detects the best available provider:
- Check
CODEILUS_LLM_PROVIDERenv var - Look for
claudeCLI binary in PATH - Check for
ANTHROPIC_API_KEY - Fall back to Claude Code CLI (errors on use if unavailable)
Manual Override¶
# Force Claude Code CLI
CODEILUS_LLM_PROVIDER=claude_code codeilus ./repo
# Force Anthropic API (requires ANTHROPIC_API_KEY)
CODEILUS_LLM_PROVIDER=anthropic_api codeilus ./repo
# Skip LLM entirely
CODEILUS_SKIP_LLM=1 codeilus ./repo
Settings Page¶
The Settings page (/settings) shows the current LLM provider status and availability. You can verify your setup there after starting the server.
Database¶
Codeilus uses SQLite with WAL mode. The database is created automatically.
Default: ~/.codeilus/codeilus.db
Re-analyzing a repository clears previous data automatically.
Server¶
Default: 127.0.0.1:4174
Logging¶
Codeilus uses the tracing framework. Control log levels with RUST_LOG: