.env.example to .env and adjust as needed.
Core settings
LLM settings
Scheduler settings
Remote backend settings
These are required whenBACKEND=remote:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Environment variables and settings for the OpenBunny service.
.env.example to .env and adjust as needed.
| Variable | Description | Default |
|---|---|---|
BACKEND | Storage backend: local (SQLite) or remote (cloud API) | local |
SQLITE_PATH | Path to SQLite database file | ./data/openbunny.db |
PORT | REST API port | 3100 |
| Variable | Description | Default |
|---|---|---|
OPENROUTER_API_KEY | OpenRouter API key | Required |
OPENROUTER_MODEL | Primary model ID | anthropic/claude-sonnet-4 |
LLM_TEMPERATURE | Sampling temperature | 0.3 |
LLM_MAX_TOKENS | Max tokens per response | 4096 |
AGENT_MAX_ITERATIONS | Max tool-use iterations per conversation | 10 |
| Variable | Description | Default |
|---|---|---|
DEBOUNCE_SECONDS | Wait time after last message before processing | 300 (5 min) |
TICK_BATCH_SIZE | Max conversations processed per tick | 50 |
TICK_INTERVAL_MS | Scheduler interval | 60000 (60s) |
BACKEND=remote:
| Variable | Description |
|---|---|
REMOTE_API_URL | Cloud API base URL |
REMOTE_API_TOKEN | API token (PAK) starting with obk_ |
REMOTE_TEAM_ID | Team UUID for scoping requests |
| Variable | Description |
|---|---|
SLACK_APP_TOKEN | Slack app-level token (starts with xapp-) |
SLACK_BOT_TOKEN | Slack bot token (starts with xoxb-) |
| Variable | Description |
|---|---|
TELEGRAM_API_ID | Telegram API ID from my.telegram.org |
TELEGRAM_API_HASH | Telegram API hash |
| Variable | Description |
|---|---|
GOOGLE_CLIENT_ID | Google OAuth client ID |
GOOGLE_CLIENT_SECRET | Google OAuth client secret |
GOOGLE_PUBSUB_TOPIC | Google Cloud Pub/Sub topic for push notifications |