add-managed-long-term-memory-to-langgraph-agents-with-langmem

Solid

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

AI & Automation 19 stars 14 forks Updated today MIT

Install

View on GitHub

Quality Score: 81/100

Stars 20%
43
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
57
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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: - Configure your environment with an API key for your favorite LLM provider: - export ANTHROPIC_API_KEY="sk-..." # Or another supported LLM provider - Here's how to create an agent that actively manages its own long-term memory in just a few lines: - Source: https://github.com/langchain-ai/langmem - Extracted from upstream docs: https://raw.githubusercontent.com/langchain-ai/langmem/HEAD/README.md ## Documentation - https://langchain-ai.github.io/langmem/ ## Source - [Agent Skill Exchange](https://agentskillexchange.com/skills/add-managed-long-term-memory-to-langgraph-agents-with-langmem/)

Details

Author
agentskillexchange
Repository
agentskillexchange/skills
Created
4 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category