OPENROUTER_API_KEYrequired
OpenRouter API key (recommended — access to all models). Required: nanobot exits without at least one LLM key.
ANTHROPIC_API_KEY
Anthropic API key for Claude models
OPENAI_API_KEY
OpenAI API key for GPT models
DEEPSEEK_API_KEY
DeepSeek API key (optional)
GROQ_API_KEY
Groq API key (optional — also enables Whisper voice transcription)
NANOBOT_DEFAULT_MODELrequired
Default LLM model (e.g. anthropic/claude-opus-4-5, openrouter/...)
NANOBOT_STATE_DIRrequired
Directory for config, workspace, and session data