Skip to content

writeitai/awesome-memory-systems

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 

Repository files navigation

Awesome Memory Systems Awesome

A curated list of awesome memory systems for AI agents and LLM applications.

Memory is what turns a stateless model into an agent that learns, remembers, and improves over time. This list collects libraries, frameworks, papers, and resources for giving AI systems short-term, long-term, and structured memory.

Origin: this list grew out of Ultimate Memory, writeit.ai's memory system for AI — most of the frameworks, papers, and benchmarks below served as research and inspiration for its design.

Contents

Memory Frameworks & Libraries

  • Acontext — Agent skills as a memory layer; agents accumulate and reuse skills as persistent memory.
  • AgentDB — Vector memory that gets smarter every time your agent uses it.
  • Agentic Context Engine — Agents that learn from experience via evolving playbooks; open-source implementation based on the ACE (Agentic Context Engineering) paper.
  • agentmemory — Persistent memory for AI coding agents (Claude Code, Copilot CLI, Cursor, Gemini CLI, Codex CLI and other MCP clients).
  • Beads — A memory upgrade for your coding agent; graph-based issue tracking that doubles as durable agent memory.
  • buildautomata_memory_mcp — Memory MCP server and CLI.
  • claude-mem — Persistent context across sessions for every agent; captures everything your agent does.
  • claude-supermemory — Lets Claude Code learn in real time, update its knowledge, and grow with you, backed by Supermemory.
  • Cognee — Open-source AI memory platform for agents; turns raw data into knowledge graphs combined with vector search through modular ECL (extract–cognify–load) pipelines.
  • company-brain — "GitHub for knowledge work": an open-source temporal knowledge graph and organizational memory engine.
  • ConDB — The KV-cache-native context database, from the PageIndex team.
  • cursor-memory-bank — Modular, documentation-driven persistent memory framework built on Cursor custom modes.
  • DeepRefine — General LLM-based reasoning model for refining agent-compiled knowledge (HKUST KnowComp).
  • Engram — DeepSeek's conditional memory via scalable lookup — a new axis of sparsity adding lookup-based memory inside LLMs (model-internal memory rather than an agent memory layer).
  • engram — Persistent memory system for AI coding agents; agent-agnostic Go binary with SQLite + FTS5 and an MCP server (unrelated to DeepSeek's Engram above).
  • gbrain — Garry Tan's opinionated OpenClaw/Hermes agent brain.
  • Graphiti — Framework by Zep for building real-time, temporally-aware knowledge graphs as agent memory; tracks how facts change over time instead of only storing static snapshots.
  • GraphRAG — Microsoft's modular graph-based RAG system; extracts an entity knowledge graph from unstructured text and uses community summaries for reasoning over large private corpora.
  • HippoRAG — Neurobiologically inspired long-term memory framework for LLMs modeled on hippocampal indexing theory; improves multi-hop retrieval (associativity) and sense-making over complex contexts.
  • HiRAG — Hierarchical graph-based RAG (EMNLP 2025 Findings); builds multi-level knowledge graphs by recursively clustering entity embeddings (HiIndex) and retrieves across local, bridge, and global levels (HiRetrieval).
  • Hivemind — Turns agent traces into reusable skills shared across agents (Activeloop).
  • HMLR — Living memory for AI.
  • Honcho — Memory library for building stateful agents, centered on modeling users and maintaining theory-of-mind style representations across sessions.
  • khive — A knowledge graph your AI agents build, query, and grow; for agents that need structure beyond vectors.
  • Ladybug — Embedded property graph database built for query speed and scalability; a storage substrate for graph-based memory rather than a memory framework itself.
  • Letta — Framework (formerly MemGPT) for building stateful agents with advanced memory that can learn and self-improve over time; includes an API, CLI, and agent runtime.
  • LightMem — Lightweight and efficient memory-augmented generation (ICLR 2026).
  • LightRAG — Simple and fast retrieval-augmented generation combining graph-based indexing with dual-level (local + global) retrieval.
  • Mem0 — Universal memory layer for personalized AI; remembers user preferences and facts across sessions and adapts over time, with hosted and self-hosted options.
  • Memobase — User-profile-based long-term memory for AI chatbot applications.
  • MemoBrain — Executive memory for coherent long-horizon reasoning.
  • memory-lancedb-pro — Enhanced LanceDB memory plugin for OpenClaw with hybrid retrieval (vector + BM25) and cross-encoder reranking.
  • MemoryOS — Memory operating system for personalized AI agents, with OS-style hierarchical memory management (EMNLP 2025 Oral).
  • MemPalace — Self-described "best-benchmarked open-source AI memory system"; free and open source.
  • Memvid — Serverless, single-file memory layer for AI agents, positioned as a replacement for complex RAG pipelines.
  • Momo — Self-hostable AI memory system written in Rust, inspired by Supermemory.
  • OpenHuman — Personal AI that builds a local-first memory of your life.
  • OpenKB — Open LLM knowledge base, from the PageIndex team.
  • OpenMemory — Local persistent memory store for LLM applications, including Claude Desktop, GitHub Copilot, and Codex.
  • OpenViking — The context database for AI agents (Volcengine/ByteDance).
  • PageIndex — Vectorless, reasoning-based RAG; builds a hierarchical table-of-contents-like tree index of documents that LLMs navigate by reasoning instead of vector similarity.
  • Recall — Durable project memory for Claude Code sessions, so you stop re-explaining your project every session.
  • ReMe — "Remember Me, Refine Me": memory management kit for agents from the AgentScope ecosystem.
  • Scout — Open-source company brain (Agno).
  • Semantica — Accountability and context layer for AI: context graphs, decision intelligence, and full provenance.
  • SimpleMem — Efficient lifelong memory for LLM agents, covering both text and multimodal memories.
  • Supermemory — Memory and context engine behind a hosted API; the MIT-licensed repo contains the ecosystem around it — web app, browser/Raycast extensions, MCP server, and SDKs — while the engine itself is closed-source (Docker self-hosting offered separately).
  • Sylph — Open-source company brain: run your company with AI agents, skills, and a self-improving context layer.
  • TencentDB Agent Memory — Fully local long-term memory for AI agents built on a 4-tier progressive pipeline.

Building Blocks

Component libraries for building memory systems: chunking text, extracting facts, claims, entities, and relations from it, and resolving or deduplicating them.

Text Chunking

  • semchunk — Fast, lightweight Python library for splitting text into semantically meaningful chunks.
  • text-splitter — Rust and Python library for splitting text into semantic chunks up to a desired size, including token-based lengths.

Fact & Claim Extraction

  • ClaimeAI — LangGraph-based fact-checking system; decomposes text into individual claims, verifies each against real-world evidence, and reports what's accurate.
  • ClaimsMCP — The Claimify multi-stage claim-extraction methodology delivered as a local MCP server.
  • claimify — Unofficial implementation of Microsoft's Claimify for high-quality claim extraction from LLM outputs.
  • FActScore — Fine-grained atomic evaluation of factual precision in long-form text generation (EMNLP 2023).
  • VeriScore — Pipelined factuality metric: claim extraction, evidence retrieval via web search, and claim verification.
  • Molecular Facts — Code for "Molecular Facts: Desiderata for Decontextualization in LLM Fact Verification"; explores the right granularity for atomic facts.
  • Long-Form Factuality (SAFE) — Google DeepMind's official code for "Long-form factuality in large language models", including the Search-Augmented Factuality Evaluator.

Entity & Relation Extraction

  • GLiNER — Generalist and lightweight model for zero-shot named entity recognition.
  • GLiREL — Generalist and lightweight model for zero-shot relation extraction; companion to GLiNER.

Knowledge Graph Construction

  • DataFlow-KG — Knowledge graph data preparation with DataFlow-style operators and pipelines.
  • Understand Anything — Turns any codebase, knowledge base, or docs into an interactive knowledge graph you can explore, search, and query.

Coreference Resolution

  • fastcoref — Fast, accurate, and easy-to-use coreference resolution (F-COREF).
  • Maverick — Efficient and accurate coreference resolution defying recent trends (ACL 2024).

Entity Resolution & Deduplication

  • dedupe — Python library using machine learning and active learning for fuzzy matching, deduplication, and entity resolution on structured data.
  • Splink — Fast, accurate, and scalable probabilistic record linkage and deduplication.
  • Zingg — ML-based entity resolution for big data, built on Spark.

Papers & Research

Curated selection of papers on memory architectures for LLMs and agents. Dates are the first arXiv release (v1), ordered by release date, newest first.

Evals & Benchmarks

Benchmarks and evaluation frameworks for agent memory. Dates are the first arXiv release (v1), ordered by release date, newest first.

Related Lists

Contributing

Contributions welcome! Please make sure the entry is actively maintained and add it in the format - [Name](link) — one-line description.

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors