Configuration¶
VlinderCLI is configured via a TOML file at ~/.vlinder/config.toml. Every value can be overridden with environment variables.
Minimal Config¶
The daemon requires [queue] and [state] sections:
# ~/.vlinder/config.toml
[logging]
level = "info"
[ollama]
endpoint = "http://localhost:11434"
[queue]
backend = "nats"
nats_url = "nats://localhost:4222"
[state]
backend = "grpc"
Logging¶
Control log verbosity:
The configured level applies to vlinderd only — external crates are suppressed to warn.
Logs are written as JSONL to ~/.vlinder/logs/.
Model Providers¶
Ollama (local)¶
OpenRouter (remote)¶
Avoid committing your config.toml with API keys. Use the environment variable instead:
Queue Backend¶
NATS is the queue backend. It must be running with JetStream enabled.
[queue]
backend = "nats"
nats_url = "nats://localhost:4222"
nats_creds = "~/.nats.creds" # optional, for authenticated connections
Environment Variable Overrides¶
Any config value can be overridden with a VLINDER_ prefixed environment variable:
See Environment Variables for the full override table.
Next Steps¶
- Installation — install prerequisites and services
- config.toml reference — full configuration schema