LangMem

MemoryMIT

LangMem is a Python library from LangChain that lets an agent record and search memories during a conversation and consolidate them in the background. It offers functional primitives that work with any storage system and a native integration with LangGraph's storage layer.

The README describes memory management tools that an agent calls in the hot path, a background memory manager that extracts and updates knowledge, and native use of the LangGraph long-term memory store.

Pinout

  • MCP server: not checked yet
  • HTTP API: not checked yet
  • command line: not checked yet
  • Python SDK: supported, verified
  • TypeScript SDK: not checked yet
  • OpenAPI description: not checked yet
Where each pin comes from
InterfaceStatusSource we readRead on
MCP serverNot checked yet——
HTTP APINot checked yet——
Command lineNot checked yet——
Python SDKSupported, verifiedREADME, Installation (pip install -U langmem)
TypeScript SDKNot checked yet——
OpenAPI descriptionNot checked yet——

Facts

Facts about LangMem
LicenseMIT. GitHub API, repository license field, read .
Main languagePython (as detected by GitHub). GitHub API, repository record, read .
Publisherlangchain-ai (GitHub organization). GitHub API, repository record, read .
Last push to the repository2026-11-13. GitHub API, repository record, read .
LangGraph integrationNative integration with the LangGraph long-term memory store. README in the repository, read .
Last commit. GitHub API, latest commit on the default branch of langchain-ai/langmem, read .

Call example

pip install -U langmem

Limits

  • The README setup asks for an API key for an LLM provider.

Strengths

  • Its memory tools plug directly into a LangGraph agent created with create_react_agent, as shown in the README.

Alternatives to LangMem

All memory tools for agents
  1. Agent memory system with retain, recall and reflect operations.

    Memory
  2. Open-source memory layer storing agent context across sessions and models.

    Memory
  3. Memory layer that wraps LLM clients to store and recall agent state.

    Memory
  4. Stateful agents whose memory and identity persist across sessions and machines.

    Memory

Last check: . Method: public repository and docs read automatically, page and day written down. Next check due within 90 days. How we check

Is this your tool? Write to hello@agent-tools.directory from an address on its domain to correct a pin or a fact.