Memory
Memory
Chat memory + vector stores + wrappers that make long-running agents practical.
#Chat memory (ordered history)
createInMemoryMemoryβ default, zero deps.createLocalStorageMemoryβ browser-persisted.fileChatMemoryβ JSON file.sqliteChatMemoryβ SQLite-backed.redisChatMemoryβ Redis-backed.
#Vector memory
fileVectorMemoryβ pure JS, file-persisted.redisVectorMemoryβ Redis Vector.pgvectorβ BYO SQL runner. Recipe.pinecone/qdrant/chroma/upstashVectorβ HTTP-backed managed stores.
#Higher-order wrappers
createVirtualizedMemoryβ hot window + cold retriever. Recipe.createHierarchicalMemoryβ MemGPT working / recall / archival. Recipe.createAutoSummarizingMemoryβ fold oldest into a summary. Recipe.createEncryptedMemoryβ AES-GCM over anyChatMemory. Recipe.createInMemoryGraphβ knowledge graph (nodes + edges). Recipe.createInMemoryPersonalizationβ per-subject profile. Recipe.
Per-backend deep dives land in step 4 of the docs IA rollout.