
LangMem
A Python library from LangChain for agent long-term memory, with tools an agent calls to save and search memories during a conversation, a background manager that extracts and consolidates them, and prompt optimisation; it plugs into LangGraph's memory store or any storage.
4 open-source projects declare LangMem in their code; no maker's live product we track uses it yet.
In maintenance · Oct 2025: The last PyPI release (0.0.30) was on 27 October 2025; commits since then are dependency bumps and docs tooling updates. Source ↗
Profile checked
How makers use LangMem
What LangMem is used for
When to use LangMem, and when not
Something else fits better if
- You want to add user memory to an existing agent with a few API calls and a free tier to start: Mem0 or Supermemory.
- Memory must stay on your own infrastructure, built as a graph over your data: Cognee or Graphiti.
- Your agent needs dated facts that change over time, from business data as well as chats: Zep or Graphiti.
- You'd rather build the agent on a platform where memory is built in: Letta.
- You want memory as plain Markdown files you can read, edit and share across your own AI tools: Basic Memory.
How LangMem itself is built
4 tools, from its own code, website and Product Hunt page.
Who uses it
No maker's live product on record yet, and 4 open-source projects that declare it in their code.
We haven't found a maker's live product that uses LangMem yet — only the open-source projects below, which declare it in their code.
None of these in makers' own words.
Open source: a project that declares LangMem as a dependency in its public code — verifiable, but not necessarily a live product.
Alternatives to LangMem
All alternatives by situation →Questions makers ask about LangMem
Is LangMem free?
Yes — it is free, open-source software.
Is LangMem open source or self-hostable?
Open source, and you can self-host it. source ↗
Can AI coding agents work with LangMem?
No llms.txt, official MCP server or CLI found yet.
Who uses LangMem?
No maker's live product we track yet; 4 open-source projects declare it in their code. source ↗