Skip to main content

Configuration Reference

All backend configuration is via environment variables. Set them in .env or export them in your shell.

Required

VariableDescription
ANTHROPIC_API_KEYClaude API key from console.anthropic.com
VOYAGE_API_KEYVoyage AI key from dash.voyageai.com
GITHUB_TOKENGitHub personal access token or App token

Models

VariableTypeDefaultDescription
PLANNER_MODELstringclaude-opus-4-6Model for the planning phase
IMPLEMENTER_MODELstringclaude-sonnet-4-6Model for the implementation phase
REVIEWER_MODELstringclaude-sonnet-4-6Model for self-review

Storage

VariableTypeDefaultDescription
CHROMA_PERSIST_DIRpath./.chromaChromaDB persistence directory
WORKSPACE_BASE_DIRpath/tmp/nimbus-workspacesBase dir for task workspaces

Embeddings

VariableTypeDefaultDescription
EMBEDDING_MODELstringvoyage-code-2Voyage AI embedding model
EMBEDDING_BATCH_SIZEinteger64Files per embedding batch
CHUNK_MAX_LINESinteger80Max lines per code chunk
CHUNK_OVERLAP_LINESinteger10Overlap between chunks

Retrieval

VariableTypeDefaultDescription
RAG_TOP_Kinteger20Number of chunks to retrieve
RAG_BM25_WEIGHTfloat0.3BM25 score weight in hybrid search
RAG_VECTOR_WEIGHTfloat0.7Vector score weight in hybrid search

Execution

VariableTypeDefaultDescription
MAX_IMPLEMENT_ITERATIONSinteger5Max plan generation attempts
MAX_FIX_ITERATIONSinteger3Max fix attempts after verification failure
PARALLEL_THRESHOLDinteger6Min file changes to enable parallel workers
MAX_PARALLEL_WORKERSinteger3Max concurrent implementation workers

API

VariableTypeDefaultDescription
REQUIRE_API_KEYbooleanfalseRequire X-API-Key on all requests
FREE_TIER_MONTHLY_LIMITinteger10Tasks per month on free tier
CORS_ORIGINSJSON array["http://localhost:3000"]Allowed CORS origins
WS_PING_INTERVALinteger20WebSocket ping interval (seconds)

Integrations

VariableDescription
SLACK_BOT_TOKENSlack bot token (xoxb-...)
SLACK_SIGNING_SECRETSlack app signing secret
SLACK_CLIENT_IDSlack app client ID
SLACK_CLIENT_SECRETSlack app client secret
LINEAR_API_KEYLinear GraphQL API key
LINEAR_WEBHOOK_SECRETLinear webhook secret