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 (120.9K stars), deer-flow (86K stars) and mem0 (69.8K stars). GitHub.Locker tracks 49 Long-term-memory repositories with 696.9K stars combined. The fastest-growing on November 30 was claude-mem, with +288 stars in a day.
Hot right now
Most stars gained in a day · Nov 30
+288claude-mem
thedotmack/claude-mem · ★ 120.9KClaude-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.
+186hindsight
vectorize-io/hindsight · ★ 64.1KHindsight 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.
+182mem0
mem0ai/mem0 · ★ 69.8KMem0 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.
+89Memori
MemoriLabs/Memori · ★ 17.6KMemori 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.
The all-time top
49 projects · by stars
- 120.9K
#1 · thedotmack/claude-memclaude-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.
- 86K
#2 · bytedance/deer-flowdeer-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.
- 69.8K
#3 · mem0ai/mem0mem0
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.
- 4

hindsight
64.1Kvectorize-io/hindsight · PythonHindsight 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.
- 5

OpenViking
43Kvolcengine/OpenViking · PythonAn 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.
- 6
supermemory
31.9Ksupermemoryai/supermemory · TypeScriptSupermemory 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.
- 7
deepagents
31.7Klangchain-ai/deepagents · PythonDeep 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.
- 8

TencentDB-Agent-Memory
31.3KTencentCloud/TencentDB-Agent-Memory · TypeScriptA 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.
- 9

letta
25.6Kletta-ai/lettaLetta 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.
Deploy on Railway - 10

Memori
17.6KMemoriLabs/Memori · PythonMemori 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.
- 11
memvid
17.4Kmemvid/memvid · RustMemvid 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.
- 12

ai-memory
16.6Kakitaonrails/ai-memory · RustA 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.
- 13

GenericAgent
14.4Klsdefine/GenericAgent · PythonGenericAgent (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.
- 14
EverOS
13.9KEverMind-AI/EverOS · PythonEverOS 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.
- 15

Octop
12.6KTencentCloud/Octop · PythonOctop 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.
Deploy on Railway - 16

MemOS
12.5KMemTensor/MemOS · TypeScriptMemOS 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.
- 17

brigade
11.4Kspinabot/brigade · TypeScriptBrigade 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.
- 18

capsule-memory
8.4Kunicity-aos/capsule-memory · RustIt 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.
- 19

engram
8.2KGentleman-Programming/engram · GoEngram 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.
- 20
Raven
6.3KEverMind-AI/Raven · PythonRaven 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.
- 21

oh-my-hermes
6.1Krlaope/oh-my-hermes · PythonOh-my-hermes (OMH) is an operating layer that sits on top of Hermes Agent, routing each task to the right model and skill, running work in parallel, and tracking whether it was actually verified rather than just reported done.
- 22

OpenExecutive
5.8KForeactLabs/OpenExecutive · PythonOpen 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).
- 23

LongMemory
4.6KCaviraOSS/LongMemory · TypeScriptLongMemory is a cognitive memory engine that gives LLM applications and autonomous agents durable, temporal, governed memory instead of being stateless between sessions.
- 24

m_flow
4.5KFlowElement-xinliuyuansu/m_flow · PythonM-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.
- 25

agent-memory
4.3Ktigerless-labs/agent-memory · Pythonagent-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.
- 26
SimpleMem
3.9Kaiming-lab/SimpleMem · PythonSimpleMem 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.
- 27

MSA
3.5KEverMind-AI/MSA · PythonMSA (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.
- 28

VoiceMem
2.9Kxzf-thu/VoiceMem · PythonVoiceMem 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.
- 29

Hy-Memory
2.1KTencent-Hunyuan/Hy-Memory · PythonHy Memory is a production-grade dual-system cognitive memory engine and Python SDK (hy-memory) for self-evolving LLM agents, with separate memory pipelines for Chat, Working, and Coding tasks. It also ships MemHub, a local-first desktop and CLI tool that unifies memory from apps like Claude Code, Cursor, and Codex into one managed local store.
- 30

powercontext
1.7Koceanbase/powercontext · PythonPowerContext 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.
- 31

memorilla
1.5Ksnap-stanford/memorilla · PythonMemorilla is a memory system that reads a whole document collection, such as a user's past chats or a long book, and gives a frozen LLM just 16 memory tokens relevant to each question.
- 32

nautilus-compass
1.3Kchunxiaoxx/nautilus-compass · Pythonnautilus-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.
- 33

Memslides
1.1Khuohua325/Memslides · PythonMemSlides 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.
- 34

bluntcore-intimacy-lab
1.1KVITASID57/bluntcore-intimacy-lab · JavaScriptA personal archive documenting one person's journey from casually chatting with an AI into deep human-AI romance: jailbreak notes, Persona design, adult intimacy prompts, long-term memory setups, and a few small companion tools built along the way.
- 35

GLM-5.3-Flash-J-Space-Capability-Realization-Report
1KTiger3807861189/GLM-5.3-Flash-J-Space-Capability-Realization-ReportJ-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.
- 36

context-language-models
893facebookresearch/context-language-models · PythonThis 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.
- 37

agentmemoryrepo
875AgentMemoryRepo/agentmemoryrepoAgent 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.
- 38
genesis
774EMI-Group/genesis · ElixirGenesis is an open-source AI agent system that builds, validates, and evolves complete software projects from a single high-level objective. Agents work in isolated Git worktrees, and accepted results carry forward.
- 39

dsh-memory
710FuRongJun-1999/dsh-memory · Pythondsh-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.
- 40
SkillCorpus
705EverMind-AI/SkillCorpus · PythonSkillCorpus 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.
- 41

uniichat
680VictorTaelin/uniichat · TypeScriptUniiChat is a self-hosted AI agent you talk to in a single conversation that never ends - no 'new chat' button, it remembers everything across days, weeks, or years using a built-in memory tree.
- 42

Athena-Public
656winstonkoh87/Athena-Public · PythonAthena 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.
- 43
memcode
592memcode-in/memcode · PythonMemCode is memory infrastructure for AI: it gives agents, copilots, applications and workflows persistent memory that survives sessions, context windows, and even model changes.
- 44

MemT-1.0
543MemTensor/MemT-1.0 · PythonMemT-1.0 is a new generation of memory foundation models that make persistent, dynamically evolving memory an intrinsic part of model computation, so the model can retain and reuse historical information without re-reading the original context at inference time.
- 45

pi-optchat
453jonaslsaa/pi-optchat · TypeScriptpi-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.
- 46

lemmalog
350JordyZomer/lemmalog · RustA 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.
- 47

memoket-kite
235memoket/memoket-kite · PythonKITE 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.
- 48

lossless-memory
173aru-labs/lossless-memory · PythonA 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.
- 49

aivchatdemo
112wangzhuoyuan229-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.
Related topics
Often tagged together