Environment Variables
All env vars OpenVesper reads. Most have sensible defaults.
Gateway core
| Variable | Default | Purpose |
|---|
OPENVESPER_GATEWAY_HOST | 127.0.0.1 | Bind address |
OPENVESPER_GATEWAY_PORT | 18789 | Bind port |
OPENVESPER_AGENTS_DIR | ./.agents | Bundled agents dir |
OPENVESPER_CONFIG_DIR | ~/.openvesper | User config root |
OPENVESPER_HEARTBEAT_INTERVAL | 60000 | Heartbeat check (ms) |
OPENVESPER_MAX_CONCURRENT | 4 | Max parallel agent runs |
OPENVESPER_SEARCH_PROVIDER | duckduckgo | Web search default |
LLM providers
| Variable | For |
|---|
ANTHROPIC_API_KEY | Claude |
OPENAI_API_KEY | GPT-4o, o-series |
GROQ_API_KEY | Groq (fast Llama) |
GEMINI_API_KEY | Google Gemini |
MISTRAL_API_KEY | Mistral |
DEEPSEEK_API_KEY | DeepSeek |
OPENROUTER_API_KEY | OpenRouter (multi-provider) |
OLLAMA_URL | Local Ollama (default: http://127.0.0.1:11434) |
Tool API keys
| Variable | For |
|---|
HELIUS_API_KEY | Solana RPC + DAS API |
BRAVE_SEARCH_API_KEY | Brave web search |
TAVILY_API_KEY | Tavily search |
SERPAPI_API_KEY | SerpApi search |
SEARXNG_URL | Self-hosted SearXNG |
COINGECKO_API_KEY | CoinGecko Pro (optional) |
Channels
| Variable | For |
|---|
TELEGRAM_BOT_TOKEN | Telegram bot |
SLACK_BOT_TOKEN | Slack bot |
DISCORD_WEBHOOK_URL | Discord webhook send |
DISCORD_BOT_TOKEN | Discord bot send |
Workspaces
For running multiple gateways:
OPENVESPER_GATEWAY_PORT โ per-workspace portOPENVESPER_AGENTS_DIR โ per-workspace agentsOPENVESPER_CONFIG_DIR โ per-workspace configOPENVESPER_PID_FILE โ per-workspace PID
See Workspaces for details.