Memory Layer
Reference

Environment variables

VariableRequiredDescription
DATABASE_URLSometimesPostgreSQL connection string when supplied through environment.
MEMORY_LAYER_PROFILEOptionalSelects a profile such as dev or prod in local workflows.
MEMORY_CONFIGOptionalPoints a subprocess at a specific config file.
MEMORY_LAYER_CONFIGOptionalAlternate config path variable used by Memory-aware helpers.
OPENAI_API_KEYOptionalUsed when OpenAI-compatible LLM or embedding providers are configured.
VOYAGE_API_KEYOptionalUsed when Voyage embeddings are configured.

Provider-specific variables depend on your config. Prefer memory doctor to discover missing keys.

Next

Read Global config.

On this page