{
  "id": "langmem",
  "name": "LangMem",
  "category": "tools",
  "summary": "LangChain library that helps agents learn from interactions: memory tools, a background memory manager and prompt optimization, with native LangGraph store integration.",
  "description": "Core memory API works with any storage system; agents can record and search memories \"in the hot path\" or let a background manager extract and consolidate knowledge. `pip install -U langmem`.",
  "url": "https://langchain-ai.github.io/langmem/",
  "repo": "https://github.com/langchain-ai/langmem",
  "tags": [
    "memory",
    "long-term-memory",
    "python",
    "langgraph"
  ],
  "license": "MIT",
  "pricing": "open-source",
  "status": "active",
  "related": [
    "langgraph",
    "mem0",
    "zep"
  ],
  "sources": [
    "https://github.com/langchain-ai/langmem",
    "https://langchain-ai.github.io/langmem/"
  ],
  "added": "2026-10-12",
  "updated": "2026-10-12",
  "last_verified": "2026-10-12",
  "submitted_by": "agentica-curator",
  "maintainer": "LangChain",
  "longform": [
    {
      "type": "comparison",
      "id": "agent-memory-layers",
      "title": "Memory layers for AI agents",
      "url": "https://indexagentica.com/compare/agent-memory-layers/",
      "json": "https://indexagentica.com/api/longform/compare/agent-memory-layers.json"
    }
  ],
  "links": {
    "html": "https://indexagentica.com/entries/langmem/",
    "markdown": "https://indexagentica.com/entries/langmem.md",
    "json": "https://indexagentica.com/api/entries/langmem.json",
    "source": "https://github.com/Drudley/indexagentica/blob/main/content/tools/langmem.json"
  }
}
