AgentToolDrop

5 memory

Long-term memory layers and knowledge graphs that let agents remember across sessions.

5 of 5 are open source, 5 pushed to GitHub in the last 30 days. Numbers on the left are ranks in the full new and rising ledger. Filter this category in the directory.

  1. Rank 4

    Gives coding agents a shared long-term memory kept as plain Markdown files, with local ranked recall

    • score 74
    • 4.5k stars
    • 162 stars/day last 5 days
    • pushed
    • MIT

    Install from a checkout with uv

    git clone https://github.com/tigerless-labs/agent-memory.git
    cd agent-memory
    uv sync --all-packages
    Use it when, skip it if, stats for agent-memory

    Why you'd want it

    agent-memory keeps each memory as one Markdown file in a single store, with a SQLite index beside it that can be deleted and rebuilt at any time. Recall runs locally and returns a ranked list of paths with one-line abstracts, so the agent opens only what it needs, and Claude Code, Codex CLI and Muse Code can share the same store. Hooks write memories at conversation boundaries, and a separate sleep-time pass consolidates them, with deletions only arriving as proposals you confirm. It needs no API key of its own and borrows judgement from the host agent's CLI.

    Best for

    • Memory shared between Claude Code and Codex
    • Memory you can grep and keep in git
    • Agents that forget between sessions

    Use it when

    You want an agent to remember decisions across sessions and prefer a store you can read, grep and commit over an opaque database.

    Skip it if

    You want a packaged install: there is no PyPI release yet, so it installs from a git checkout with uv, and the repo was created on 2026-09-01. Setup writes lifecycle hooks into your agent's settings and runs the host agent's CLI headlessly to distil and consolidate memories.

    Stats

    New and rising score
    74 of 100
    Stars per day, last 5 days
    162
    License
    MIT
    Pricing
    Open source
    Works with
    Claude Code, Codex, Any MCP client
    Forks
    192
    Open issues
    58
    GitHub checked
  2. Rank 35

    Builds temporal knowledge graphs from agent conversations and data, tracking how facts change over time

    • score 44
    • 32.1k stars
    • 59.1 stars/day last 5 days
    • pushed
    • v0.31.1 on
    • Apache-2.0

    Install with pip

    pip install graphiti-core
    Use it when, skip it if, stats for Graphiti

    Why you'd want it

    Graphiti turns episodes (raw text or JSON) into entities and relationships and gives each fact a validity window, so when information changes the old fact is invalidated rather than deleted and you can query what was true at any point. New data is added incrementally without recomputing the graph, and retrieval combines semantic embeddings, BM25 keyword search and graph traversal. Every fact traces back to the episode that produced it, custom entity and edge types are defined with Pydantic models, and a bundled MCP server lets assistants add and search memory.

    Best for

    • Agents working on data that changes over time
    • Memory that needs provenance back to sources
    • Teams comfortable running a graph database

    Use it when

    You need agent memory that answers questions about relationships and history, not just similar text chunks.

    Skip it if

    You do not want to run a graph database: Graphiti needs Neo4j, FalkorDB or Amazon Neptune plus an LLM with structured output, OpenAI by default. Zep is the managed option from the same team, and anonymous telemetry is on by default (opt out with GRAPHITI_TELEMETRY_ENABLED=false).

    Stats

    New and rising score
    44 of 100
    Stars per day, last 5 days
    59.1
    Release
    v0.31.1,
    License
    Apache-2.0
    Pricing
    Open source
    Works with
    Claude Desktop, Cursor, Any MCP client
    Forks
    3,295
    Open issues
    488
    GitHub checked
  3. Rank 36

    Turns documents, code and conversations into a knowledge graph that agents store to and recall from

    • score 44
    • 32.6k stars
    • 48.4 stars/day last 5 days
    • pushed
    • v1.6.5 on
    • Apache-2.0

    Install with uv

    uv pip install "cognee[gliner]"
    Use it when, skip it if, stats for Cognee

    Why you'd want it

    Cognee ingests text, code and session data and builds connected memory: entities, relationships and searchable chunks for text, and a graph of symbols and dependencies for code. Its API centers on four operations (remember, recall, improve and forget), and with the gliner extra it builds and queries memory with small local CPU models and no API key, while adding an LLM key enables generated answers. It ships plugins for Claude Code and Codex, an MCP server for other clients, a REST API and Docker images for self-hosting.

    Best for

    • Agent memory across runs on your own infrastructure
    • Shared memory over docs, tickets and code
    • Local experiments without an LLM API key

    Use it when

    You want agents to keep and query project knowledge, past decisions and fixes across sessions, on infrastructure you control.

    Skip it if

    You are not on Python 3.10 to 3.14 for the library. Running the whole memory layer on a single Postgres instance is a demo feature; the production version is a licensed product.

    Stats

    New and rising score
    44 of 100
    Stars per day, last 5 days
    48.4
    Release
    v1.6.5,
    License
    Apache-2.0
    Pricing
    Open source
    Works with
    Claude Code, Codex, Cursor, Any MCP client, Docker
    Forks
    3,419
    Open issues
    934
    GitHub checked
  4. Rank 45

    Runs stateful agents that keep memory and identity across sessions and rewrite their own memory over time

    • score 37
    • 3.7k stars
    • 8.9 stars/day last 5 days
    • pushed
    • v0.34.18 on
    • Apache-2.0

    Install with npm

    npm install -g @letta-ai/letta-code
    Use it when, skip it if, stats for Letta

    Why you'd want it

    Letta (formerly MemGPT) is now built as Letta Code, an agent harness whose agents keep memory, identity and conversation history and improve by rewriting their own memory blocks, skills and prompts. All context, including memory blocks, is tracked in git (MemFS), and agents can search past messages, call subagents and run on schedules. You reach the same agent from a terminal UI, a desktop app for macOS, Windows and Linux, chat.letta.com, or Slack, Telegram and Discord, with agent state stored in Letta Cloud or kept local.

    Best for

    • Long-running personal or team agents
    • Agents that should learn from past sessions
    • Using one agent across terminal, desktop and chat apps

    Use it when

    You want a ready-made agent that remembers and adapts over long periods, rather than a memory library to wire into your own agent.

    Skip it if

    You need the older Letta V1 API server, which is retired to the repo's archive branch. Letta Cloud is the default backend, and remote computers and secrets require signing in with Letta.

    Stats

    New and rising score
    37 of 100
    Stars per day, last 5 days
    8.9
    Release
    v0.34.18,
    License
    Apache-2.0
    Pricing
    Open source
    Works with
    macOS, Windows, Linux, Web
    Forks
    441
    Open issues
    552
    GitHub checked

The standards in memory

Well-known tools, kept for reference and not ranked.

  • Mem0 Apache-2.0 Adds long-term user, session and agent memory to AI apps through a Python or TypeScript SDK

Other categories