Skip to content
Configuration (Reference)

Configuration (Reference)

~/.vectora/config.toml

Runtime configuration, generated/edited by vectora config or the Settings UI. Minimal example:

[global]
mode = "desktop"   # or "cli", "headless", "mcp", "web"

[runtime]
auto_update = true

[server]
host = "0.0.0.0"
port = 8080

Main environment variables

VariableRequired?Description
LLM_PROVIDERYesgoogle-genai, openai, anthropic, cohere, or ollama
GOOGLE_API_KEY / OPENAI_API_KEY / ANTHROPIC_API_KEYDepends on providerthe chosen LLM provider’s key
COHERE_API_KEYYes (for RAG)embeddings + reranking
TAVILY_API_KEYOptionalweb search
STORAGE_MODENo (default lite)lite or complete — see Storage
POSTGRES_DSNOnly in completee.g. postgresql+asyncpg://user:pass@host:5432/vectora
QDRANT_URL / QDRANT_API_KEYOnly in completeQdrant endpoint
REDIS_URLOnly in completeRedis endpoint
TELEMETRY_ENABLEDNo (default true)Enables native agent telemetry (turn start/end, tool calls, unhandled errors) via structured logging
TELEMETRY_OUTPUT_PATHOptionalPath to a dedicated JSONL file for telemetry events. If unset, events go to the standard JSON log (~/.vectora/logs/backend.jsonl)

Hierarchy

defaults.env (built-in)  →  .env (project)  →  ~/.vectora/.env (user)  →  per-user overrides (database)

See Configuration for the full usage guide.