#3939th of 41 in Memory

langmem

Python library giving LangGraph agents long-term memory tools and background extraction

Releases and problems feed (RSS)

Stars
1.8k
License
MIT
Last commit
Nov 2026
Language
Python
Stars, last 29 weeks+374
2 May 2026: 1,419 stars9 May 2026: 1,432 stars16 May 2026: 1,449 stars23 May 2026: 1,462 stars30 May 2026: 1,478 stars6 Jun 2026: 1,494 stars13 Jun 2026: 1,499 stars20 Jun 2026: 1,510 stars27 Jun 2026: 1,524 stars4 Jul 2026: 1,539 stars11 Jul 2026: 1,548 stars18 Jul 2026: 1,565 stars25 Jul 2026: 1,581 stars1 Aug 2026: 1,588 stars8 Aug 2026: 1,602 stars15 Aug 2026: 1,609 stars22 Aug 2026: 1,623 stars29 Aug 2026: 1,634 stars5 Sept 2026: 1,650 stars12 Sept 2026: 1,664 stars19 Sept 2026: 1,677 stars26 Sept 2026: 1,687 stars3 Oct 2026: 1,694 stars10 Oct 2026: 1,703 stars17 Oct 2026: 1,713 stars24 Oct 2026: 1,727 stars31 Oct 2026: 1,748 stars7 Nov 2026: 1,760 stars14 Nov 2026: 1,777 stars21 Nov 2026: 1,793 stars

1,419 on 2 May 20261,793 on 21 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

LangChain is hiring: 101 open roles

Overview

LangMem is a Python library that lets agents store, search and consolidate long-term memories. It provides tools an agent calls during a conversation to write and search memories, a background manager that extracts and updates memories, and prompt refinement helpers. Persistence goes through LangGraph's BaseStore, or any storage you wire to its functional core API.

Who it is for: Python developers adding long-term memory to LangGraph agents

Strengths

  • Hot-path memory tools plus a background manager cover both write patterns
  • Core API is storage-agnostic; LangGraph BaseStore integration is built in
  • Works with DB-backed LangGraph stores such as AsyncPostgresStore for persistence
  • Installs with one pip command and a few lines of setup

Weaknesses

  • Examples and native integration assume LangGraph; other stacks must use the functional core
  • Quickstart InMemoryStore loses memories on restart
  • Needs an external LLM provider API key and an embedding model
  • Library only: no standalone server or UI

What it needs

  • no GPU
  • Needs LangGraph, LLM provider API key (e.g. Anthropic), Embedding model (e.g. OpenAI text-embedding-3-small), Postgres (optional, for persistent store)
  • Models: Anthropic, OpenAI

Also in Memory

See all 41
Also in Memory
RankProjectScore
#36skillclawLocal proxy that evolves reusable agent skills from recorded sessions2.8k starsMIT51 out of 100
#37memory-lancedb-proLanceDB-backed long-term memory plugin for OpenClaw agents4.4k starsno license46 out of 100
#38simplememLong-term memory for LLM agents, with text and multimodal backends Live demo ↗ (opens in a new tab)3.9k starsMIT41 out of 100
#40memoryosTiered short, mid and long-term memory for LLM agents, with MCP server Live demo ↗ (opens in a new tab)1.6k starsApache-2.030 out of 100
#41memobaseUser-profile memory backend for LLM apps with event timeline Live demo ↗ (opens in a new tab)3k starsApache-2.014 out of 100