Procedural memory — learns how to do tasks and rewrites the agent's own behavior/prompts.
- Storage
- Whatever your LangGraph store is (e.g. Postgres)
- Retrieval
- Retrieves from your configured LangGraph store across semantic, episodic, and procedural memory types.
- Self-host
- Self-host: trivial
- License
- MIT
- Pricing
- Free OSS SDK; managed service · Free + paid
- GitHub stars
- 1,602
- Last release
- 2025-10-27
- Last commit
- 2026-08-05
- First catalogued
- 2026-06-28
Strengths
- Semantic + episodic + procedural memory types in one SDK
- Procedural memory via create_prompt_optimizer: rewrites system prompts from episodic feedback
- Hot-path and background formation modes — no latency hit for pattern extraction
- Native LangGraph store integration; works with any LangChain/LangGraph stack
Watch out
- Not a turnkey backend — you provision and wire your own storage (Postgres, InMemory, etc.)
- LangGraph coupling: procedural optimizer and background manager assume LangGraph agent loop
- Latest PyPI release is v0.0.30 (Oct 2025); repo has active commits through Jun 2026 but no new package release in ~8 months — pin to v0.0.30 or pin the git sha for reproducibility
Best for
- Teams already on LangChain/LangGraph who need agents that improve from feedback
How it integrates
Benchmark results
No sourced results yet.
Sources
- Monthly card re-verification — GitHub API repo metadata: 1,590 stars, license MIT confirmed, archived=false, last commit on the default branch 2026-07-25 (third-party)
- https://www.langchain.com/blog/langmem-sdk-launch (vendor)
- https://github.com/langchain-ai/langmem (vendor)
- LangMem Core Concepts — procedural memory and create_prompt_optimizer confirmed (vendor)
- LangMem PyPI — v0.0.30 (2025-10-27); requires langchain>=0.3.15, langgraph>=0.6.0; Python SDK (vendor)
- GitHub API — 1528 stars; MIT license; last pushed 2026-06-28; no formal GitHub releases (third-party)
- GitHub API re-check — 1530 stars, still no formal GitHub releases, last pushed 2026-06-28 (unchanged) (third-party)
- PyPI JSON API re-check — still v0.0.30 (2025-10-27), no new release in ~8 months; requires langgraph>=0.6.0, langchain>=0.3.15 (confirms hard LangGraph/LangChain dependency, not optional) (third-party)
- LangMem hot-path quickstart — LangGraph create_react_agent + memory tools; native LangGraph store integration (vendor)
- LangMem CrewAI guide — official docs showing create_manage_memory_tool / create_search_memory_tool used as CrewAI agent tools (vendor)
- Monthly re-check — MIT license confirmed, not archived, last pushed 2026-07-15 (third-party)
- PyPI JSON API re-check — still v0.0.30 (2025-10-27), no new release in ~9 months (third-party)
Last verified 2026-08-01 · updated by refresh-framework-cards