LangMem (LangChain)
https://langchain-ai.github.io/langmem/
First-class memory module inside LangChain — explicit cognitive-science-style typing of memories.
Active · Verified 2026-10-23 · fresh as of 2026-10-23 · 54 cited facts, 3 with a third-party source · 2 recorded changes · Suggest a correction
At a glance
- Type
- Episodic / semantic / procedural vendor fix
- Tier
- T2
- Section
- Framework-embedded memory
- Latest release
- v0.0.30 (2025-10-27) — PyPI registry fix
- GitHub
- langchain-ai/langmem — ~1.6k stars, 147 commits repo fix
- Pricing
- OSS library free; LangSmith (observability/platform) Free 5k traces/mo; Plus $39/mo; Enterprise custom. vendor fix
- Funding
- $160M total $1.2B val Series B · 2025-10 vendor fix
- Freshness
- 2026-10-23 fix
- Layer
- agent-infra repo fix
- Developer activity
- OpenRank 0.49 (12-mo avg 1.77) · 9 participants — 2026-09 third-party fix
Memory taxonomy
- storage
- vector
- retrieval
- similarity
- persistence
- long-term
- update
- extraction
- unit
- episode
- governance
- inspectable
- conflict
- llm-arbitrate
When to use
Optimised for: cognitive-typed memory (episodic/semantic/procedural) inside LangGraph
Anti-fit: not for non-LangChain stacks (Python-first)
Pros & cons
Pros
First-party LangChain integration so memory composes with retrievers, chains, and graphs without glue code.
Cons
LangChain-shaped — maximum value if you've already adopted LangChain; less useful otherwise.
Claims & capabilities
First-class cognitive-typed memory module (episodic/semantic/procedural) inside LangChain. Reports 58.10% accuracy on LOCOMO with p95 search latency of 59.82s — much slower than Mem0 (0.200s, 67.13%). LangChain raised $160M Series B at $1.2B valuation (October 2025). MIT-licensed
Technical surface
- API surface
- SDK: Python (create_manage_memory_tool, create_search_memory_tool, background memory manager)
- Backend storage
- pluggable
- Deployment
- Both (LangSmith cloud managed + self-hosted Kubernetes; LangGraph Platform cloud or self-hosted)
- Embedding model
- multiple supported
- Multi-tenancy
- not applicable — library; namespacing is hierarchical (tuple-keyed) within whatever store the embedding app provides
- MCP
- via official adapter — LangChain MCP adapters
- A2A
- supported (LangChain A2A integration)
- OpenTelemetry
- first-class — LangSmith + OTel exporter
Alternatives to LangMem (LangChain) → live options ranked by shared design, licence, hosting and MCP support
Similar systems
Other framework-embedded memory in the catalog, ranked by inbound references.
- Spring AI ChatMemory T3
Wraps conversation memory behind an Advisor abstraction. MessageWindowChatMemory default 20-msg sliding window (preserves system messages); pluggable ChatMemoryRepository backends (in-memory, JDBC, Cassandra, Neo4j). Memory injected as cross-cutting concern at the ChatClient level.
- Flowise Memory T1
Discontinued: Flowise (acquired by Workday, Aug 2025) was sunset in 2026 — code freeze 2026-07-29, GitHub repo archived 2026-08-13, end of life 2026-08-31. Was a visual LangChain canvas with LangChain-native memory nodes (Buffer, Buffer Window, Conversation Summary Buffer) backed by an internal chat_message DB table; Buffer Window kept the last K interactions, Summary Buffer compressed older turns while keeping recent ones verbatim.
- LangGraph Persistence T2
Distinct from LangMem. Built-in checkpointer saves graph state per super-step (short-term, thread-scoped). Store System adds long-term hierarchical key-value memory across threads with optional vector search + TTL. Postgres / Mongo / Redis stores for production.
- AutoGen Memory T2
AutoGen's memory layer: ListMemory chronological context plus teachable agents that vectorise corrections; integrates with Mem0/Zep rather than building deep memory natively. Microsoft AutoGen is in maintenance mode (community managed, bug and security fixes only), and Microsoft points new projects to Microsoft Agent Framework.
- CrewAI Memory T2
Memory subsystem inside the CrewAI orchestration framework; integrates with Mem0 for the long-term tier.
- Hermes Agent memory (Nous Research) T3
Nous Research's open-source self-improving agent keeps an agent-curated MEMORY.md/USER.md notebook injected at session start, full-text (FTS5) search over past sessions that returns raw messages without LLM summarisation, and optional Honcho user modelling. one of the most-starred agent projects of 2026.
Sources (53 cited facts, 3 third-party)
Each fact links to the page it came from; the badge says who published it (how to read sources).
- What it is Episodic / semantic / procedural vendor
- What it does & what's distinct First-class memory module inside LangChain — explicit cognitive-science-style typing of … vendor
- Claims / benefits First-class cognitive-typed memory module (episodic/semantic/procedural) inside LangChai… third-party
- Modalities text vendor
- Created 2025-01 vendor
- Latest release v0.0.30 (2025-10-27) — PyPI registry
- License MIT repo
- GitHub langchain-ai/langmem — ~1.6k stars, 147 commits repo
- Funding $160M total $1.2B val Series B · 2025-10 vendor
- Pricing OSS library free; LangSmith (observability/platform) Free 5k traces/mo; Plus $39/mo; Ent… vendor
- Compliance SOC 2 Type II (July 2024); GDPR compliant; HIPAA compliant vendor
- Data handling Data encrypted in transit and at rest; EU and US regions; enterprise self-hosted option … vendor
- Deployment Both (LangSmith cloud managed + self-hosted Kubernetes; LangGraph Platform cloud or self… vendor
- HQ US (San Francisco, CA) vendor
- Founders / pedigree LangChain; co-founders Harrison Chase (CEO; Harvard; ex-Kensho and Robust Intelligence M… third-party
- Memory volume / scale no scale claim vendor
- Code/weights release Active — last commit 2026-05 · 1,444★ repo
- API surface SDK: Python (create_manage_memory_tool, create_search_memory_tool, background memory man… vendor
- Backend storage pluggable vendor
- Embedding model multiple supported vendor
- Schema evolution Pydantic schema migration for typed memory items vendor
- Namespace primitives per-tenant vendor
- Contradiction handling LLM resolves and overwrites vendor
- MCP support via official adapter — LangChain MCP adapters vendor
- A2A support supported (LangChain A2A integration) vendor
- OTel first-class — LangSmith + OTel exporter vendor
- Webhooks / events webhooks supported (LangSmith hooks) vendor
- Import / export JSON via LangSmith export vendor
- Integration count 1 repo
- Orchestration both (works with single LangGraph agents and multi-agent setups via store) vendor
- Programmatic control full CRUD + SDK vendor
- Pricing specifics OSS free; tier flat-rate via LangSmith ($39/mo Plus; Enterprise custom) vendor
- Agent abstraction DAG (LangGraph) vendor
- Memory primitives multiple (key-value + vector + thread/conversation) vendor
- LLM lock any (BYO) vendor
- Runtimes Python, Node/TypeScript vendor
- Session handling checkpoint-resumable thread vendor
- Validated verticals agent developers (horizontal); broad LangChain user base vendor
- Time to running <10min (pip install langmem) vendor
- Anti-fit not for non-LangChain stacks (Python-first) vendor
- Optimised for cognitive-typed memory (episodic/semantic/procedural) inside LangGraph vendor
- Adjacent infrastructure requires LangChain / LangGraph; BYO LLM + store vendor
- Pros First-party LangChain integration so memory composes with retrievers, chains, and graphs… vendor
- Cons LangChain-shaped — maximum value if you've already adopted LangChain; less useful otherw… vendor
- Project & sources GitHub langchain-ai/langmem conceptual guide SDK launch vendor
- commit-trajectory [{"ym":"2025-01","cum":6},{"ym":"2025-02","cum":33},{"ym":"2025-03","cum":60},{"ym":"202… repo
- download-trajectory [{"ym":"2025-11","monthly":126921,"cum":126921},{"ym":"2025-12","monthly":341127,"cum":4… registry
- architecture-deployment-locus local vendor
- licensing-bucket open-core vendor
- positioning-platform-vs-product platform vendor
- taxonomy-three-layer-rollup agent-infra repo
- developer-activity-opendigger {"activity":15.22,"as_of":"2026-09","openrank_12mo":1.77,"openrank_current":0.49,"partic… third-party
- sdk-languages python vendor
What changed
Changes to this record's lifecycle, licence, release, pricing and hosting facts, from the catalog's git history. Subscribe (Atom)
- 2026-10-23
- Pricing “OSS library free; LangSmith (observability/platform) Free 5k traces/mo; Plus $39/mo; Enterprise custom. LangGraph P…” → “OSS library free; LangSmith (observability/platform) Free 5k traces/mo; Plus $39/mo; Enterprise custom.” source
- 2026-10-22
- Latest release first recorded as “v0.0.30 (2025-10-27) — PyPI” source
Related systems
References (3)
- LangChain (framework) depends on at runtime — adjacent-infrastructure cell: requires LangChain / LangGraph; BYO LLM + store
- LangGraph (orchestration) depends on at runtime — adjacent-infrastructure cell: requires LangChain / LangGraph; BYO LLM + store
- LangGraph Persistence integrates with — First-party LangChain integration so memory composes with retrievers, chains, and graphs without glue code.