Environment Variables
Environment variables override values in ~/.snippbot/config.toml. Set them in your shell profile or before running snippbot start:
export ANTHROPIC_API_KEY=sk-ant-xxxexport SNIPPBOT_PORT=18781snippbot startOr inline:
ANTHROPIC_API_KEY=sk-ant-xxx snippbot startServer
Section titled “Server”| Variable | Default | Description |
|---|---|---|
SNIPPBOT_HOST | "" (dual-stack) | Daemon bind address (empty = IPv4 + IPv6) |
SNIPPBOT_PORT | 18781 | Daemon API port |
SNIPPBOT_LOG_LEVEL | info | Log level: debug, info, warning, error |
SNIPPBOT_DATA_DIR | ~/.snippbot | Data directory path |
SNIPPBOT_PROJECTS_DIR | (empty) | Projects directory (defaults to {data_dir}/projects) |
Security
Section titled “Security”| Variable | Default | Description |
|---|---|---|
SNIPPBOT_API_KEY_REQUIRED | true | Require auth for all endpoints |
SNIPPBOT_CORS_ORIGINS | http://localhost:5173 | Allowed CORS origins (comma-separated) |
SNIPPBOT_SESSION_EXPIRY | 86400 | Session token expiry in seconds (24h) |
SNIPPBOT_INACTIVITY_TIMEOUT | 1800 | Inactivity logout timeout in seconds (30m) |
AI providers
Section titled “AI providers”| Variable | Description |
|---|---|
ANTHROPIC_API_KEY | Anthropic API key |
OPENAI_API_KEY | OpenAI API key |
OPENROUTER_API_KEY | OpenRouter API key |
GEMINI_API_KEY | Google Gemini API key |
DEEPSEEK_API_KEY | DeepSeek API key |
GROK_API_KEY | Grok API key |
GROQ_API_KEY | Groq API key |
MISTRAL_API_KEY | Mistral API key |
Voice / audio
Section titled “Voice / audio”| Variable | Description |
|---|---|
ELEVENLABS_API_KEY | ElevenLabs TTS API key |
HUME_API_KEY | Hume AI voice API key |
WHISPER_MODEL | Local Whisper STT model (e.g., base, small, medium) |
Integrations
Section titled “Integrations”| Variable | Description |
|---|---|
BRAVE_SEARCH_API_KEY | Brave Search API key |
GITHUB_TOKEN | GitHub personal access token |
SLACK_BOT_TOKEN | Slack bot token |
Resource limits
Section titled “Resource limits”| Variable | Default | Description |
|---|---|---|
SNIPPBOT_MAX_CONCURRENT_TASKS | 4 | Maximum concurrent task executions |
SNIPPBOT_DEFAULT_TIMEOUT | 300 | Default task timeout in seconds |
Sandbox
Section titled “Sandbox”| Variable | Default | Description |
|---|---|---|
SNIPPBOT_SANDBOX_BACKEND | auto | docker, podman, process, or auto |
SNIPPBOT_SANDBOX_NETWORK | none | Default container network mode |
SNIPPBOT_SANDBOX_MEMORY_MB | 512 | Default container memory limit |
Browser
Section titled “Browser”| Variable | Default | Description |
|---|---|---|
SNIPPBOT_BROWSER_HEADLESS | true | Run browser in headless mode |
SNIPPBOT_BROWSER_STEALTH | true | Enable stealth mode (bot detection evasion) |