Topics / #long-term-memory

Long-term-memory projects on GitHub

Persistent memory layers for AI assistants

As of , the most-starred Long-term-memory projects on GitHub are claude-mem (101.3K stars), deer-flow (84K stars) and mem0 (67.3K stars). GitHub.Locker tracks 46 Long-term-memory repositories with 627K stars combined. The fastest-growing on October 16 was hindsight, with +441 stars in a day.

46Projects
627KStars in total
+1.8KStars in a day

Hot right now

Most stars gained in a day · Oct 16

The all-time top

46 projects · by stars

  1. #1 · thedotmack/claude-mem

    claude-mem

    Claude-Mem gives coding agents persistent memory across sessions: it captures everything your agent does, compresses it with AI, and injects the relevant context back into future sessions.

    101.3K
  2. #2 · bytedance/deer-flow

    deer-flow

    DeerFlow is an open-source long-horizon super-agent harness from ByteDance that researches, codes, and creates by orchestrating sub-agents, memory, sandboxes and extensible skills, handling tasks that can take minutes to hours.

    84K
  3. #3 · mem0ai/mem0

    mem0

    Mem0 is a memory layer for AI agents and apps: it stores user preferences and conversation history so your AI assistant remembers people across sessions instead of starting from zero every time.

    67.3K
  1. 4

    hindsight

    50.7Kvectorize-io/hindsight · Python

    Hindsight is an agent memory system that helps AI agents learn over time instead of just recalling raw conversation history, aiming to outperform RAG and knowledge-graph approaches on long-term memory tasks.

  2. 5

    OpenViking

    40.1Kvolcengine/OpenViking · Python

    An open-source context database for AI agents: memories, resources, and skills live in one virtual filesystem under the viking:// protocol, so the agent browses its own context with ls, tree, and find instead of querying a black-box vector store.

  3. 6

    supermemory

    31.3Ksupermemoryai/supermemory · TypeScript

    Supermemory is a memory and context engine for AI: it learns from your conversations, extracts facts and builds user profiles, so your AI remembers you between sessions instead of starting from zero.

  4. 7

    deepagents

    30.3Klangchain-ai/deepagents · Python

    Deep Agents is an open source, batteries-included agent harness from LangChain: an opinionated agent that runs out of the box with sub-agents, a filesystem, context management, and skills bundled in — and every piece can be extended, overridden, or replaced without forking.

  5. 8

    TencentDB-Agent-Memory

    29.5KTencentCloud/TencentDB-Agent-Memory · TypeScript

    A team-level memory hub for AI agents. It turns conversations, docs, and code into four reusable memory assets — Chat Memory, Skills, Wiki, and CodeGraph — that agents across a team can share, govern, and equip.

  6. 9

    letta

    25.2Kletta-ai/letta

    Letta is a platform for building stateful AI agents with advanced memory that lets them learn and improve over time; it's the actively developed successor to MemGPT.

  7. 10

    Memori

    17.2KMemoriLabs/Memori · Python

    Memori is an LLM-agnostic memory infrastructure layer that turns what agents do and say into structured, persistent state you can query across sessions, instead of starting every run from amnesia.

  8. 11

    memvid

    16.6Kmemvid/memvid · Rust

    Memvid is a single-file memory layer for AI agents: it packs your data, embeddings and search index into one portable .mv2 file, so agents get instant retrieval and long-term memory without a RAG pipeline or a vector database server.

  9. 12

    GenericAgent

    14.3Klsdefine/GenericAgent · Python

    GenericAgent (GA) is a minimal, self-evolving autonomous agent framework that gives any LLM system-level control over a local computer - browser, terminal, filesystem, keyboard/mouse, screen vision, and mobile via ADB. Instead of preloading skills, it crystallizes every solved task into a reusable 'Skill', growing a personal skill tree from a ~3K-line seed.

  10. 13

    EverOS

    13.5KEverMind-AI/EverOS · Python

    EverOS is a local-first, Markdown-native memory layer for AI agents: it stores conversations, files, and agent trajectories as readable Markdown, then syncs local SQLite and LanceDB indexes so any coding assistant, app, or workflow can retrieve and keep building on the same persistent memory.

  11. 14

    MemOS

    11.9KMemTensor/MemOS · TypeScript

    MemOS is a Memory Operating System for LLMs and AI agents that unifies storing, retrieving, and managing long-term memory, so agents can have context-aware, personalized interactions instead of starting from scratch each session.

  12. 15

    brigade

    11.3Kspinabot/brigade · TypeScript

    Brigade is a self-hosted personal AI crew: a team of agents that share one long-term memory (Tideline), delegate tasks to each other on a real org chart, and act across 1,000+ apps you already use.

  13. 16

    Octop

    9.7KTencentCloud/Octop · Python

    Octop is an open-source, self-hosted AI assistant platform with a multi-agent architecture, built for individuals, families, and small teams to run their own team of specialized AI 'experts' entirely on their own machine.

  14. 17

    ai-memory

    9.6Kakitaonrails/ai-memory · Rust

    A long-term memory service for AI coding agents. Quit Claude Code mid-task, start Codex or Cursor in the same directory, and the next agent picks up a handoff: where you left off, what failed, what is still open.

  15. 18

    capsule-memory

    8.4Kunicity-aos/capsule-memory · Rust

    It is a 'capsule' (plugin) for Astrid OS / Unicity AOS agents that gives them cross-session memory: it reads a local memory file from the workspace and injects its content into the system prompt so the agent remembers what happened in previous sessions.

  16. 19

    engram

    7.4KGentleman-Programming/engram · Go

    Engram is a persistent memory system for AI coding agents — it gives your agent a brain that survives between sessions instead of forgetting everything when a session ends.

  17. 20

    OpenExecutive

    5.6KSenteLabsAI/OpenExecutive · Python

    Open Executive is an AI system that acts as a company's virtual executive team — presented as one senior advisor with Harvard MBA-level knowledge, backed by eight specialist agents (CSO, CFO, HR, General Counsel, COO, CMO, CPO, Board Communications).

  18. 21

    Raven

    5.5KEverMind-AI/Raven · Python

    Raven is an open-source, self-improving AI agent harness that runs long-running agent work from the terminal, with built-in long-term memory, skills, tracing, and evaluation. Its stated long-term direction ('Harness of Harnesses') is a multi-agent ecosystem that composes different harnesses together, but that part is not yet implemented in the current release.

  19. 22

    LongMemory

    4.5KCaviraOSS/LongMemory · TypeScript

    LongMemory is a cognitive memory engine that gives LLM applications and autonomous agents durable, temporal, governed memory instead of being stateless between sessions.

  20. 23

    m_flow

    4.5KFlowElement-xinliuyuansu/m_flow · Python

    M-flow is a bio-inspired cognitive memory engine that acts as a new paradigm for Graph RAG: instead of just retrieving similar text chunks, it builds a graph of memories and scores answers by the strongest chain of evidence connecting the query to the content, the way human recall works.

  21. 24

    agent-memory

    4.1Ktigerless-labs/agent-memory · Python

    agent-memory is a long-term memory runtime for AI agents — it stores memories as plain Markdown files (the source of truth) with a local SQLite/FTS5 index for fast ranked retrieval, so agents like Claude Code and Codex CLI keep what they learned across sessions.

  22. 25

    SimpleMem

    3.8Kaiming-lab/SimpleMem · Python

    SimpleMem is a lifelong memory stack for LLM agents that stores, compresses, and retrieves long-term memories across text, image, audio, and video, so agents keep context without reprocessing redundant history.

  23. 26

    MSA

    3.5KEverMind-AI/MSA · Python

    MSA (Memory Sparse Attention) is an end-to-end trainable, scalable latent-memory framework that lets LLMs handle context windows up to 100M tokens, replacing RAG or fixed-size RNN-style memory with a differentiable sparse-attention memory bank.

  24. 27

    vault-ai

    3.4Kpashpashpash/vault-ai · JavaScript

    OP Vault gives ChatGPT long-term memory over your own documents: you upload a knowledge base of books, letters or PDFs and ask questions about their contents, powered by OpenAI and the Pinecone vector database.

  25. 28

    VoiceMem

    2.6Kxzf-thu/VoiceMem · Python

    VoiceMem is an open-source memory infrastructure for real-time voice agents, giving them long-term memory through a dual-brain architecture: a 'left brain' that stores factual information and a 'right brain' that tracks emotions and personality, built on a fully streaming pipeline to keep latency low.

  26. 29

    powercontext

    1.3Koceanbase/powercontext · Python

    PowerContext is a self-hosted context service from the OceanBase team. It keeps decisions, evidence, and task state together with the project, so you or another agent can pick the work up in a later session.

  27. 30

    nautilus-compass

    1.3Kchunxiaoxx/nautilus-compass · Python

    nautilus-compass is an open-source memory and reliability layer for AI coding agents: it gives them long-term memory, catches cases where the agent ignores recalled rules (drift detection), and ships its own benchmark suite to verify the claims independently.

  28. 31

    GLM-5.3-Flash-J-Space-Capability-Realization-Report

    1KTiger3807861189/GLM-5.3-Flash-J-Space-Capability-Realization-Report

    J-Space Cognition Suite is a model-agnostic inference-time control system for deep reasoning, long-horizon work, tool use, verification, and recovery, packaged as a Skill that loads into AI agent hosts.

  29. 32

    Memslides

    867huohua325/Memslides · Python

    MemSlides is a hierarchical memory-driven agent framework that treats slide generation as a stateful authoring process. It uses layered memory (user profile, working, tool) to personalize decks and apply scoped local revisions instead of regenerating the whole presentation.

  30. 33

    agentmemoryrepo

    797AgentMemoryRepo/agentmemoryrepo

    Agent Memory Repo is an open spec that lets a coding agent save what it learns about you or your project in a plain git repo of Markdown files, so that knowledge survives into the agent's next session.

  31. 34

    context-language-models

    730facebookresearch/context-language-models · Python

    This is the official code release for 'Context Language Models (CLMs)', research from University of Washington, Meta Superintelligence Labs, MIT and Trillium Labs. CLMs are language models that natively manage their own context by treating it as a file they can freely edit, which naturally extends to multi-agent setups where each agent's context is its own file.

  32. 35

    SkillCorpus

    686EverMind-AI/SkillCorpus · Python

    SkillCorpus is EverMind's open-source pipeline that aggregates scattered SKILL.md files from public repos, applies safety/license/quality gates, and exports a curated, retrieval-ready corpus plus two fine-tuned retrieval models so agents can fetch the right skill at answer time.

  33. 36

    Athena-Public

    615winstonkoh87/Athena-Public · Python

    Athena is a local-first memory layer for AI coding agents: it stores your working context as plain Markdown files on your own disk so any model or IDE can pick up where the last one left off.

  34. 37

    memcode

    603memcode-in/memcode · TypeScript

    MemCode is memory infrastructure for AI: it gives agents, copilots, applications and workflows persistent memory that survives sessions, context windows, and even model changes.

  35. 38

    dsh-memory

    402FuRongJun-1999/dsh-memory · Python

    dsh-memory is a memory plugin for DeepSeek Harness (DSH) that gives AI agents persistent, cross-session memory built on a mostly non-LLM 'white-box' reasoning pipeline, a spatiotemporal knowledge graph, and auditable guardrails. It targets AGI research into self-cognition, continual learning, world models and self-improvement rather than everyday chat memory.

  36. 39

    lemmalog

    340JordyZomer/lemmalog · Rust

    A Datalog engine for LLM agent memory: instead of 'remembering better' than a vector store, memory becomes a deductive database — provenance-tracked facts, stratified rules, incremental derivation. Ships as a Rust crate, MCP server, REPL and agent skill.

  37. 40

    Tiersense

    310wangmingxuan666/Tiersense

    TierSense is a hub of three research-backed APIs that give an AI agent decision signals about task difficulty, which history steps are ready to compress, and whether to compress or recall memory right now, so your own app can act on those signals.

  38. 41

    pi-optchat

    266jonaslsaa/pi-optchat · TypeScript

    pi-optchat is an extension for the Pi coding agent that gives it persistent, endless memory per profile using a summary tree instead of context compaction, plus background subagents and the ability to import history from other agents.

  39. 42

    mcp-memory

    218fellowgeek/mcp-memory · Python

    An MCP server that gives AI agents persistent long-term memory — stateful notes that survive across sessions, stored in the Open Knowledge Format and indexed in a local SQLite database for fast search.

  40. 43

    dsh-memory

    179seriousz158/dsh-memory · JavaScript

    dsh-memory is a local, Git-backed long-term-memory plugin for DeepSeek Harness (DSH). It injects memory into the model's context and gives you a settings-page UI to inspect, toggle, and clear that memory.

  41. 44

    lossless-memory

    144aru-labs/lossless-memory · Python

    A lossless long-term memory layer for a personal AI: every conversation line is kept verbatim with a timestamp, and queries like 'what did we decide last Tuesday night' return the actual lines in order instead of a summary.

  42. 45

    memoket-kite

    144memoket/memoket-kite · Python

    KITE is an open-source, vector-free long-term memory engine for AI agents: it turns conversations into structured, topic-indexed facts and answers questions with inspectable retrieval plans instead of embedding similarity search, topping the LoCoMo and LongMemEval benchmarks.

  43. 46

    aivchatdemo

    124wangzhuoyuan229-source/aivchatdemo · C#

    ChatApp is a desktop AI roleplay chat app for macOS and Windows: you create AI characters with their own personas and chat with them one-on-one or in multi-character group chats, driven by your own OpenAI-compatible API key.

Often tagged together