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.
Hot right now
Most stars gained in a day · Oct 16
+441hindsight
vectorize-io/hindsight · ★ 50.7KHindsight 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.
+176ai-memory
akitaonrails/ai-memory · ★ 9.6KA 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.
+171TencentDB-Agent-Memory
TencentCloud/TencentDB-Agent-Memory · ★ 29.5KA 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.
+170claude-mem
thedotmack/claude-mem · ★ 101.3KClaude-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.
The all-time top
46 projects · by stars
- 101.3K
#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.
- 84K
#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.
- 67.3K
#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
50.7Kvectorize-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
40.1Kvolcengine/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.3Ksupermemoryai/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
30.3Klangchain-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
29.5KTencentCloud/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.2Kletta-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.
- 10

Memori
17.2KMemoriLabs/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
16.6Kmemvid/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

GenericAgent
14.3Klsdefine/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.
- 13
EverOS
13.5KEverMind-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.
- 14

MemOS
11.9KMemTensor/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.
- 15

brigade
11.3Kspinabot/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.
- 16

Octop
9.7KTencentCloud/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.
- 17

ai-memory
9.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.
- 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
7.4KGentleman-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

OpenExecutive
5.6KSenteLabsAI/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).
- 21
Raven
5.5KEverMind-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.
- 22

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

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.
- 24

agent-memory
4.1Ktigerless-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.
- 25
SimpleMem
3.8Kaiming-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.
- 26

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.
- 27

vault-ai
3.4Kpashpashpash/vault-ai · JavaScriptOP 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.
- 28

VoiceMem
2.6Kxzf-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
powercontext
1.3Koceanbase/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.
- 30

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.
- 31

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.
- 32

Memslides
867huohua325/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.
- 33

agentmemoryrepo
797AgentMemoryRepo/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.
- 34

context-language-models
730facebookresearch/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.
- 35
SkillCorpus
686EverMind-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.
- 36

Athena-Public
615winstonkoh87/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.
- 37
memcode
603memcode-in/memcode · TypeScriptMemCode is memory infrastructure for AI: it gives agents, copilots, applications and workflows persistent memory that survives sessions, context windows, and even model changes.
- 38

dsh-memory
402FuRongJun-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.
- 39

lemmalog
340JordyZomer/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.
- 40

Tiersense
310wangmingxuan666/TiersenseTierSense 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.
- 41

pi-optchat
266jonaslsaa/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.
- 42

mcp-memory
218fellowgeek/mcp-memory · PythonAn 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.
- 43

dsh-memory
179seriousz158/dsh-memory · JavaScriptdsh-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.
- 44

lossless-memory
144aru-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.
- 45

memoket-kite
144memoket/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.
- 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.
Related topics
Often tagged together