Required keys for AI features. Add per app in Getting Started → Environment Variables, or keep this page as the AI-specific reference.
| Variable | Required | Purpose |
|---|
LANG_GRAPH_URL | Yes | LangGraph Platform API base |
LANG_GRAPH_API_KEY | Yes | SDK authentication |
LANG_GRAPH_BACKEND_TOKEN | Yes | Bearer token on SDK default headers |
WEBHOOK_PUBLIC_BASE_URL | Prod / local tunnel | Public origin for webhook callbacks |
| Variable | Required | Purpose |
|---|
OPENAI_API_KEY | Yes | In-process agents and embeddings fallback |
USE_AZURE_OPENAI | Optional | Switch to Azure |
AZURE_EMBEDDINGS_* | If Azure | Embedding deployment |
| Variable | Required | Purpose |
|---|
LANGSMITH_PROJECT | Optional | LangSmith project on graph host |