AI for Developers
LangMem logo

LangMem

Visit Website

LangChain's library for agent long-term memory. It extracts facts from conversations, updates them over time and can rewrite the agent's own prompt. Works with LangGraph's store.

LangMem is LangChain's library for agents that learn from conversations and keep long-term memory. It has a core memory API that works with any storage, in-chat memory tools, a background memory manager that extracts and updates memories, and native integration with the LangGraph memory store.

Install with pip install -U langmem and set an API key for your LLM provider, then add its memory tools to a LangGraph agent. MIT licensed.

LangMem reviews

  • No reviews yet.
See something outdated? Suggest an update