Add managed long-term memory to LangGraph agents with LangMem

Give LangGraph agents memory management and search tools so they can store, retrieve, and update durable facts across sessions.

agentskillexchange Updated 28 repo stars

File contents

Add managed long-term memory to LangGraph agents with LangMem

Give LangGraph agents memory management and search tools so they can store, retrieve, and update durable facts across sessions.

Prerequisites

Python, langmem, LangGraph or LangChain agent runtime, persistent store such as Postgres for production, LLM provider API key

Installation

Use the upstream install or setup path that matches your environment:

  • pip install -U langmem

Requirements and caveats from upstream:

  • python

Basic usage or getting-started notes:

Documentation

Source

agentskillexchange/skills/tree/main/skills/add-managed-long-term-memory-to-langgraph-agents-with-langmem commit 555b3350fa

Frequently asked questions

npx skillmds@latest add agentskillexchange/add-managed-long-term-memory-to-langgraph-agents-with-langme