Technology · Agentic → Memory · Open Source · wiki:deep
LangMem helps agents learn and adapt from interactions over time. It extracts important information from conversations, supports prompt refinement, and maintains long-term memory via functional primitives (any storage) plus native integration with LangGraph’s Long-term Memory Store (default on LangGraph Platform).
Core pieces: a storage-agnostic memory API; hot-path tools (create_manage_memory_tool, create_search_memory_tool) agents call during chat; and a background memory manager that extracts, consolidates, and updates knowledge. Install: pip install -U langmem (MIT).
An agentic OS that forgets preferences and prior case context forces humans to re-type truth. LangMem is the LangGraph-native memory layer: agents record/search in-session, and background jobs consolidate — without inventing a second memory product. Prefer it when the runtime is already LangGraph; prefer Mem0/Zep/Letta when you need a standalone memory service or graph timeline.
Memory here is assistant state, not the company ledger.
BaseStore (dev: InMemoryStore; prod: Postgres/similar). Related: langgraph · mem0 · zep · topics/31-memory-architecture
InMemoryStore is for demos — production needs DB-backed store. Claims below are backed by science sources on disk.
Product / LangGraph memory tooling
langchain-ai/langmem · MODERATE
“LangMem helps agents learn and adapt from their interactions over time.”
Contrast vs Letta
OS-style memory contrast · MODERATE
“To enable using context beyond limited context windows, we propose virtual context management, a technique drawing inspiration from hierarchical memory systems in traditional operating systems which provide the illusion of an extended virtual memory via paging between physical memory and disk.”
Contrast vs Mem0
Mem0 contrast · MODERATE
“We introduce Mem0, a scalable memory-centric architecture that addresses this issue by dynamically extracting, consolidating, and retrieving salient information from ongoing conversations.”
9 tags · 11 out · 12 in · 3 artifacts · 1 gaps · 32 corpus docs
map_edge · 8
tech_features · 1
tech_quote · 9
tech_readme · 1
tech_science_source · 3
tech_section · 10