Reference
Environment variables
| Variable | Required | Description |
|---|---|---|
DATABASE_URL | Sometimes | PostgreSQL connection string when supplied through environment. |
MEMORY_LAYER_PROFILE | Optional | Selects a profile such as dev or prod in local workflows. |
MEMORY_CONFIG | Optional | Points a subprocess at a specific config file. |
MEMORY_LAYER_CONFIG | Optional | Alternate config path variable used by Memory-aware helpers. |
OPENAI_API_KEY | Optional | Used when OpenAI-compatible LLM or embedding providers are configured. |
VOYAGE_API_KEY | Optional | Used when Voyage embeddings are configured. |
Provider-specific variables depend on your config. Prefer memory doctor to discover missing keys.
Next
Read Global config.