.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow. (showing first 20, more exist in .env.example)
OPENROUTER_API_KEY
secret
LLM PROVIDER (OpenRouter) OpenRouter provides access to many models through one API All LLM calls go through OpenRouter no direct provider…
LLM_MODEL
Default model to use (OpenRouter format: provider/model) Examples: anthropic/claude-opus-4.6, openai/gpt-4o, google/gemini-3-flash-preview,…
GLM_API_KEY
secret
LLM PROVIDER (z.ai / GLM) z.ai provides access to ZhipuAI GLM models (GLM-4-Plus, etc.) Get your key at: https://z.ai or…
KIMI_API_KEY
secret
LLM PROVIDER (Kimi / Moonshot) Kimi Code provides access to Moonshot AI coding models (kimi-k2.5, etc.) Get your key at:…
MINIMAX_API_KEY
secret
LLM PROVIDER (MiniMax) MiniMax provides access to MiniMax models (global endpoint) Get your key at: https://www.minimax.io
MINIMAX_CN_API_KEY
secret
MiniMax China endpoint (for users in mainland China)
OPENCODE_ZEN_API_KEY
secret
LLM PROVIDER (OpenCode Zen) OpenCode Zen provides curated, tested models (GPT, Claude, Gemini, MiniMax, GLM, Kimi) Pay-as-you-go pricing.…
OPENCODE_GO_API_KEY
secret
LLM PROVIDER (OpenCode Go) OpenCode Go provides access to open models (GLM-5, Kimi K2.5, MiniMax M2.5) $10/month subscription. Get your key…
PARALLEL_API_KEY
secret
Parallel API Key AI-native web search and extract Get at: https://parallel.ai
FIRECRAWL_API_KEY
secret
Firecrawl API Key Web search, extract, and crawl Get at: https://firecrawl.dev/
FAL_KEY
secret
FAL.ai API Key Image generation Get at: https://fal.ai/
HONCHO_API_KEY
secret
Honcho Cross-session AI-native user modeling (optional) Builds a persistent understanding of the user across sessions and tools. Get at:…
TERMINAL_MODAL_IMAGE
Container images (for singularity/docker/modal backends) TERMINAL_DOCKER_IMAGE=nikolaik/python-nodejs:python3.11-nodejs20…
TERMINAL_TIMEOUT
Default command timeout in seconds
TERMINAL_LIFETIME_SECONDS
Cleanup inactive environments after this many seconds
BROWSERBASE_API_KEY
secret
Browserbase API Key Cloud browser execution Get at: https://browserbase.com/
BROWSERBASE_PROJECT_ID
Browserbase Project ID From your Browserbase dashboard
BROWSERBASE_PROXIES
Enable residential proxies for better CAPTCHA solving (default: true) Routes traffic through residential IPs, significantly improves…
BROWSERBASE_ADVANCED_STEALTH
Enable advanced stealth mode (default: false, requires Scale Plan) Uses custom Chromium build to avoid bot detection altogether
BROWSER_SESSION_TIMEOUT
Browser session timeout in seconds (default: 300) Sessions are cleaned up after this duration of inactivity
brew install flyctl && fly launch --from https://github.com/0xmassi/hermes-agent
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/0xmassi/hermes-agent
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/0xmassi/hermes-agent