AutoBot supports comprehensive configuration through environment variables with the AUTOBOT_ prefix. All variables have fallback defaults defined in config/config.yaml.
| Variable | Default | Description |
|---|---|---|
AUTOBOT_BACKEND_HOST |
0.0.0.0 |
Backend server host |
AUTOBOT_BACKEND_PORT |
8443 |
Backend server port |
AUTOBOT_BACKEND_API_ENDPOINT |
https://localhost:8443 |
Full API endpoint URL |
AUTOBOT_BACKEND_TIMEOUT |
60 |
Request timeout in seconds |
AUTOBOT_BACKEND_MAX_RETRIES |
3 |
Maximum retry attempts |
AUTOBOT_BACKEND_STREAMING |
false |
Enable streaming responses |
| Variable | Default | Description |
|---|---|---|
AUTOBOT_DEFAULT_LLM_MODEL |
qwen3.5:9b |
Quality tier - Default LLM model for complex tasks (chat, research, code) |
AUTOBOT_OLLAMA_HOST |
<aiml-ip> |
Ollama server host (AI Stack VM) |
AUTOBOT_OLLAMA_PORT |
11434 |
Ollama server port |
AUTOBOT_OLLAMA_ENDPOINT |
http://${HOST}:${PORT}/api/generate |
Ollama API endpoint |
AUTOBOT_LLM_PROVIDER_TYPE |
local |
LLM provider type (local/cloud) |
Note:
AUTOBOT_OLLAMA_MODELis deprecated. UseAUTOBOT_DEFAULT_LLM_MODELinstead.
| Variable | Default | Tier | Purpose |
|---|---|---|---|
AUTOBOT_MODEL_TIER_ROUTING |
llama3.2:1b |
Routing | Orchestrator, request routing |
AUTOBOT_MODEL_TIER_CLASSIFICATION |
gemma2:2b |
Classification | Intent detection, category assignment |
AUTOBOT_MODEL_TIER_LIGHT |
phi3:mini |
Light Processing | Extraction, formatting |
AUTOBOT_MODEL_TIER_INSTRUCTION |
mistral:7b-instruct |
Instruction | RAG, step execution |
AUTOBOT_MODEL_TIER_SYSTEM |
dolphin-llama3:8b |
System | Commands, security |
AUTOBOT_MODEL_TIER_QUALITY |
qwen3.5:9b |
Quality | Chat, research, code |
| Variable | Default | Description |
|---|---|---|
AUTOBOT_REDIS_HOST |
localhost |
Redis server host |
AUTOBOT_REDIS_PORT |
6379 |
Redis server port |
AUTOBOT_REDIS_ENABLED |
false |
Enable Redis for memory storage |
| Variable | Default | Description |
|---|---|---|
AUTOBOT_CHAT_MAX_MESSAGES |
100 |
Maximum messages per chat |
AUTOBOT_CHAT_WELCOME_MESSAGE |
Hello! How can I assist you today? |
Default welcome message |
AUTOBOT_CHAT_AUTO_SCROLL |
true |
Auto-scroll chat interface |
AUTOBOT_CHAT_RETENTION_DAYS |
30 |
Chat message retention period |
| Variable | Default | Description |
|---|---|---|
AUTOBOT_KB_ENABLED |
true |
Enable knowledge base |
AUTOBOT_KB_UPDATE_FREQUENCY |
7 |
Update frequency in days |
AUTOBOT_KB_DB_PATH |
`` | Knowledge base database path |
| Variable | Default | Description |
|---|---|---|
AUTOBOT_LOG_LEVEL |
info |
Logging level (debug/info/warning/error) |
AUTOBOT_LOG_TO_FILE |
false |
Enable file logging |
AUTOBOT_LOG_FILE_PATH |
`` | Log file path |
| Variable | Default | Description |
|---|---|---|
AUTOBOT_DEVELOPER_MODE |
false |
Enable developer mode |
AUTOBOT_DEBUG_LOGGING |
false |
Enable debug logging |
AUTOBOT_ENHANCED_ERRORS |
true |
Show enhanced error messages |
| Variable | Default | Description |
|---|---|---|
AUTOBOT_UI_THEME |
light |
UI theme (light/dark) |
AUTOBOT_UI_FONT_SIZE |
medium |
Font size (small/medium/large) |
AUTOBOT_UI_LANGUAGE |
en |
Interface language |
AUTOBOT_UI_ANIMATIONS |
true |
Enable UI animations |
| Variable | Default | Description |
|---|---|---|
AUTOBOT_SHOW_THOUGHTS |
true |
Show thought messages |
AUTOBOT_SHOW_JSON |
false |
Show JSON output |
AUTOBOT_SHOW_DEBUG |
false |
Show debug messages |
AUTOBOT_SHOW_PLANNING |
true |
Show planning messages |
AUTOBOT_SHOW_UTILITY |
false |
Show utility messages |
| Variable | Default | Description |
|---|---|---|
AUTOBOT_ENABLE_ENCRYPTION |
false |
Enable data encryption |
AUTOBOT_SESSION_TIMEOUT |
30 |
Session timeout in minutes |
| Variable | Default | Description |
|---|---|---|
AUTOBOT_VOICE_ENABLED |
false |
Enable voice interface |
AUTOBOT_VOICE_RATE |
1 |
Speech rate multiplier |
AUTOBOT_VOICE |
default |
Voice selection |
| Variable | Default | Description |
|---|---|---|
AUTOBOT_USE_LANGCHAIN |
false |
Use LangChain orchestrator |
AUTOBOT_USE_PHI2 |
false |
Use Phi-2 model (deprecated) |
The frontend uses Vite environment variables with the VITE_ prefix:
| Variable | Default | Description |
|---|---|---|
VITE_API_BASE_URL |
https://localhost:8443 |
Backend API base URL |
# Quality tier (default for complex tasks)
export AUTOBOT_DEFAULT_LLM_MODEL="qwen3.5:9b"
# Override specific tiers
export AUTOBOT_MODEL_TIER_ROUTING="llama3.2:1b"
export AUTOBOT_MODEL_TIER_INSTRUCTION="mistral:7b-instruct"
export AUTOBOT_MODEL_TIER_SYSTEM="dolphin-llama3:8b"export AUTOBOT_BACKEND_PORT=8002
export AUTOBOT_BACKEND_API_ENDPOINT="http://localhost:8002"
export VITE_API_BASE_URL="http://localhost:8002"export AUTOBOT_REDIS_ENABLED=true
export AUTOBOT_REDIS_HOST="redis.example.com"
export AUTOBOT_REDIS_PORT=6380export AUTOBOT_DEVELOPER_MODE=true
export AUTOBOT_DEBUG_LOGGING=true
export AUTOBOT_LOG_LEVEL=debugEnvironment variables take precedence over config file values:
- Environment Variables (highest priority)
- config/config.yaml (fallback defaults)
- Hardcoded defaults (last resort, now eliminated)
The system validates environment variables on startup and logs applied overrides. Invalid values will fall back to config file defaults with warnings logged.