Anandesh-Sharma/awesome-agentic-memory

🧠 The definitive curated map of memory for LLM agents — frameworks, research papers, benchmarks, taxonomy & deep dives.

1

0 commits

updated Jun 16, 2026

See the code

README

Awesome Agentic Memory Awesome

The definitive, curated map of memory for LLM agents — frameworks, research papers, benchmarks, taxonomy, and the deep dives that matter.

How do you make an agent that actually remembers? This is everything worth reading, running, and benchmarking.

License: CC0-1.0 PRs Welcome Last Updated


Why memory? An LLM's context window is its short-term memory — fast, fully attended, and gone the moment the window clears or overflows. Everything an agent should remember across time — facts about a user, past conversations, learned skills, evolving state — has to live outside the window and be selectively retrieved back in. That problem — what to store, when to retrieve it, how to update it, and how to forget — is agentic memory. This list maps the entire space.

Contents


TL;DR — Start Here

New to the space? This is the shortest path to competence:

  1. Read Lilian Weng — LLM Powered Autonomous Agents (the memory section) and the CoALA paper for vocabulary.
  2. Understand the two camps: hierarchical paging (MemGPTLetta) vs temporal knowledge graphs (Zep/Graphiti) vs extraction pipelines (Mem0).
  3. Run something: Mem0 (easiest drop-in) or Letta (full stateful-agent platform).
  4. Benchmark it against the field's standard trio: LoCoMo + LongMemEval + BEAM.

⚠️ A note on benchmark scores throughout this list: memory benchmark numbers are heavily contested — they swing wildly with config, judge model, and harness. See the Zep ↔ Mem0 dispute before trusting any single SOTA claim. Treat vendor-reported scores as vendor-reported.


Taxonomy of Agentic Memory

The CoALA frame

The accepted scaffolding comes from CoALA — Cognitive Architectures for Language Agents (Sumers, Yao, Narasimhan & Griffiths, 2023). It models any language agent as three parts: memory, an action space (internal reasoning + external tools), and a decision procedure. Its memory typology is lifted straight from human cognitive science (Tulving's episodic/semantic split) — which is why Letta, Mem0, LangMem, and Zep all map their features back to the same words.

mindmap
  root((Agent Memory))
    Short-term
      Context window
      Working scratchpad
      Tool outputs
    Long-term
      Episodic
        Past events
        Task traces
      Semantic
        Facts about user
        Domain knowledge
      Procedural
        System prompt rules
        Reusable skills
    Operations
      Encode / Write
      Retrieve
      Update / Resolve conflict
      Forget / Decay
      Consolidate / Reflect
    Architectures
      Vector RAG
      Knowledge graph
      Hierarchical paging
      Summarization buffer

Short-term vs long-term

Short-term / working memoryLong-term memory
WhereInside the context windowOutside the window (vector / graph / SQL / files)
LifetimeOne reasoning episode; volatilePersists across sessions; effectively unbounded
OS analogy (MemGPT)RAMDisk
ConstraintFinite token budgetRetrieval quality — agent only sees what gets pulled in

The central engineering problem is context management: deciding which slice of a huge long-term store gets loaded into the small working set, and when. Letta and Anthropic both call this context engineering.

Long-term subtypes (the cognitive-science mapping)

SubtypeHuman analogIn an agentStored as
EpisodicMemory of specific events"What happened" — interactions, traces, outcomesEvent/episode summaries, past trajectories
SemanticGeneral world knowledge"What is true" — user facts, preferences, entitiesVector-embedded facts, KG triples
ProceduralSkills / how-to"How to act" — rules, workflows, skillsEditable system prompt, code, skill libraries

A widely cited refinement (LangMem) is the distillation hierarchy: raw episodic experiences distill into semantic facts; repeated semantic patterns crystallize into procedural rules. Memory consolidates upward, specific → general, over time.

Memory operations (the lifecycle)

flowchart LR
    I[Interaction] -->|encode / extract| W[Write to store]
    W --> S[(Long-term store)]
    S -->|retrieve: vector / graph / recency| C[Context window]
    C --> R[Reflect / summarize]
    R --> S
    S -->|consolidate + dedup| S
    S -->|forget / decay / supersede| S
    C --> I
  • Encoding / writing — extract what's worth keeping (fact/entity extraction, salience scoring). Runs hot-path (synchronous, during the turn) or background (async — LangMem, ChatGPT's "dreaming").
  • Retrieval — vector similarity, BM25/keyword, hybrid, graph traversal, recency. Generative Agents scores by recency × relevance × importance.
  • Forgetting / decay — TTL/expiry, recency decay, relevance pruning. Keeps the store from growing unbounded.
  • Consolidation — merge, dedup, abstract raw memories into higher-level ones (episodic → semantic).
  • Reflection / summarization — synthesize higher-order insights ("reflections"); compaction = summarize-and-reinitialize a near-full window.
  • Updating / conflict resolution — revise memories when facts change. Good systems mark old facts superseded rather than silently overwriting — this is where temporal reasoning matters (Zep's bi-temporal graph is the reference example).

Memory architectures

ArchitectureHow it worksStrengthWeaknessReference impl
Vector RAGEmbed memories, retrieve by similaritySimple, ubiquitousWeak at structured/temporal reasoning & conflictsPinecone, Chroma, pgvector
Knowledge / temporal graphEntities + relations as a graph; bi-temporal validity windowsBest for temporal reasoning & conflict resolutionMore infra, extraction costGraphiti / Zep
Hierarchical paging (LLM-as-OS)Core (RAM) / recall (cache) / archival (cold) tiers; agent pages data in/out via toolsIllusion of unbounded context; agent self-managesLatency of tool-call pagingLetta / MemGPT
Summarization bufferRolling summary of old turns + verbatim recent windowCheap, easyLossyLangChain buffer memory

Production systems usually combine these — e.g. Redis for session state, a vector DB for semantic recall, Postgres for episodic/procedural, a graph for relations.


Open-Source Memory Frameworks

⭐ Star counts are rough order-of-magnitude as of June 2026 — they move fast.

Dedicated memory frameworks

ProjectStarsWhat it doesApproachLangLicense
Mem0~59kUniversal memory layer for AI agentsHybrid vector + graph + KV, auto extraction (user/session/agent scopes)PythonApache-2.0
Letta (ex-MemGPT)~23kPlatform for stateful, self-improving agentsHierarchical OS-style paging (core / recall / archival), self-managed via toolsPythonApache-2.0
Cognee~18kAI memory platform, persistent long-term memoryHybrid graph + vector KG (ECL pipeline)PythonApache-2.0
Memori~15kAgent-native memory infraStructured entity/event/fact extraction, LLM-agnosticPy/TS/RustApache-2.0
memU~14kMemory harness for proactive agentsMultimodal → typed MemoryItems, ~10× token reductionPythonApache-2.0
MemOS~10kSelf-evolving "memory OS"Memory-OS abstraction, hybrid retrieval, cross-task skill reuseTS/PythonApache-2.0
Second-Me~10k+"AI-native memory 2.0" — train your AI selfPersistent personal identity modelPy/TSApache-2.0
Honcho~5kMemory modeling people/groups over timeReasoning-first peer representations, async background inferencePy/TSAGPL-3.0
OpenMemory~4kLocal persistent memory for LLM appsLocal cognitive memory engine, MCP serverTSApache-2.0
MemMachine~3kUniversal memory layerScalable, interoperable storage + retrievalPythonApache-2.0
Memobase~3kUser-profile long-term memory for chatbotsStructured profiles + time-aware event timelines, <100msPy/Go/TSApache-2.0
ReMe (ex-MemoryScope)~3kMemory kit for agents (Alibaba/AgentScope)Extract / reuse / share memory across users & agentsPythonApache-2.0
Memary~3kMemory layer for autonomous agentsNeo4j knowledge-graph + entity memoryPythonMIT
LangMem~2kMemory primitives so agents learn/adaptExtraction + prompt refinement; semantic/procedural; any storePythonMIT
Redis Agent Memory Server~1kFast memory server on RedisShort-term session + long-term vector, MCP serverPythonApache-2.0
A-MEM~1kAgentic memory (NeurIPS 2025)Zettelkasten-style dynamic organization + linkingPythonMIT
MemoryOSresearchMemory OS for personalized agents (EMNLP 2025 Oral)Hierarchical Storage/Updating/Retrieval/GenerationPython
Motorhead~850Memory + IR server for LLMsSession memory + incremental summarizationRustApache-2.0 ⚠️ low activity
HybridAGIsmallNeuro-symbolic agent w/ graph memoryGraph + vector memoryPythonGPL-3.0
memontosmallOntology-based memory managementGraph/ontology-drivenPython

Knowledge-graph & temporal memory

ProjectStarsWhat it doesApproachLicense
Graphiti~28kBuild temporal knowledge graphs for agentsBi-temporal KG (fact-validity windows, provenance) — powers ZepApache-2.0
Microsoft GraphRAG~20k+Graph-based RAG / community summarizationGraph extraction + community summariesMIT
Zep~5kContext-engineering platform on GraphitiTemporal KG memory, sub-200ms context assemblyApache-2.0
txtai~13kEmbeddings DB for semantic search + LLM workflowsVector + graph + SQL; RAG/memory backboneApache-2.0

Framework-native memory

Memory modules built into the major agent frameworks — use these if you're already on the framework.

FrameworkMemory moduleApproachLicense
LangChain / LangGraphBuffer / summary / vector-store memory; LangGraph persistent store + checkpointsBuffer/summary/vector + durable storeMIT
LlamaIndexChat memory buffers, vector memory, composable memory blocksVector + summary + composableMIT
HaystackConversation + document memory via storesStore-backed memoryApache-2.0
Semantic KernelSemantic memory plugins / connectorsEmbedding/vector, pluggable connectorsMIT
CrewAIShort/long-term + entity memory (Qdrant Edge)Short + long + entity, hierarchical isolationMIT
AutoGen / AG2Message history + teachable-agent memoryConversation history + teachabilityMIT
OpenAI Agents SDKSessions for conversation stateSession-based memoryMIT
Google ADKSession state + MemoryService (pluggable backends)Session state + memory service (e.g. Vertex RAG)Apache-2.0
PraisonAIGraph + vector memoryGraph + vectorMIT

Coding-agent & portable memory

Persistent memory for coding assistants (Claude Code, Copilot, Cursor) and agent-agnostic memory runtimes.

ProjectStarsWhat it doesLang
Supermemory~27kFast/scalable memory + context engine, runs locallyTS
EverOS~7kPortable self-evolving memory across agentsPython
agentmemory~5kPersistent memory for coding agentsTS/Python
ByteRover / Cipher~5kPortable memory layer for coding agents (MCP)TS
claude-memmidCross-session context for coding agentsTS
EngrammidAgent-agnostic persistent memory (Go, SQLite FTS5, MCP)Go
BaseAImidServerless agent framework with vector memory primitiveTS
mem-agentmodel4B model fine-tuned for memory ops over markdown filesweights

Feature Comparison

The dimensions that actually differentiate memory systems. Use these as your evaluation columns.

SystemPersistenceBackendTemporal reasoningConflict resolutionSelf-editingWrite timingDeploy
Mem0Cross-sessionVector + graph + KVTimestampsDedup + mergeNoHot-pathOSS + Cloud
LettaCross-sessionPostgres + vectorTimestampsSupersede (agent-managed)✅ Yes (tools)Hot-pathOSS + Cloud
Zep / GraphitiCross-sessionBi-temporal graph✅ Bi-temporal✅ Supersede-with-historyNoBackgroundOSS + Cloud
CogneeCross-sessionGraph + vectorTimestampsDedupNoPipelineOSS
LangMemCross-sessionAny (LangGraph store)App-definedApp-definedPartialHot + backgroundOSS + SDK
MemOS / MemoryOSCross-sessionHierarchical tiersTimestampsSegmented-page update✅ YesHot + backgroundOSS
MemobaseCross-sessionProfile + timeline✅ Time-aware eventsProfile mergeNoBackgroundOSS + Cloud

Key dimensions not shown but worth checking per project: multi-user namespacing, forgetting/decay policy, retrieval method (vector vs hybrid vs graph), tokens-per-query cost, and which benchmarks each reports.


Managed / Commercial Memory Services

ServiceWhat it is
Mem0 PlatformManaged memory layer (also OSS); large token-cost reduction claims; broad integrations + OpenMemory MCP server
Zep CloudManaged temporal-KG memory for enterprise-scale agents
Letta CloudManaged MemGPT-style stateful agents (core/recall/archival)
LangMem SDKLong-term memory over the LangGraph store (Postgres/MongoDB backends)
ChatGPT MemoryConsumer persistent memory — saved memories + chat history, background "dreaming" update
Anthropic Memory ToolFile-based memory tool on the Claude Developer Platform for cross-session state

Research Papers

Grouped by category, newest-first within each group. arXiv IDs verified.

Surveys & foundational frameworks

Architectures

Episodic & semantic memory

Memory management & lifelong learning


Benchmarks & Evaluation

⚠️ Memory scores are config/judge/harness-dependent and frequently contested. Always note who reported a number.

Memory-specific benchmarks

BenchmarkYearMeasuresSizeLinks
LoCoMo2024Very long conversational memory: single/multi-hop QA, temporal reasoning, event summarization, multimodal gen10 convos, ~300 turns, ~1.5K QApaper · site · data
LongMemEval2024 (ICLR 2025)5 abilities: extraction, multi-session, temporal, knowledge updates, abstention500 curated Qs, scalable historypaper · site · code
BEAM2025/26Memory at 1M–10M tokens, 10 categories; unsolvable by bigger context1M & 10M scaleexplainer
MemoryAgentBench2025 (ICLR 2026)Accurate Retrieval, Test-Time Learning, Long-Range Understanding, Conflict Resolutioninject-once/query-manypaper · code
ConvoMem2025Conversational memory + memory-vs-RAG crossover study75,336 QA pairspaper
MemBench2025 (ACL Findings)Factual vs reflective memory; participation vs observationpaper · code
DialSim2024Real-time multi-party dialogue (TV shows), time-constrained, temporal-KG QA~350K tokens, ~1K Qs/sessionpaper · site
PerLTQA2024Personalized long-term QA: semantic + episodic (Chinese)8,593 Qs, 30 characterspaper
MemGPT DMR2023Deep Memory Retrieval — cross-session consistency (built on MSC)derived from MSCpaper
MSC (Multi-Session Chat)2021Long-term open-domain consistency, persona retention5 sessions/dialogpaper
MemoryBank / SiliconFriend2023 (AAAI)AI-companion recall + personality adaptation; forgetting-curvequal + simulatedpaper · code

These test long context-window retrieval, not persistent cross-session memory — a distinction worth keeping straight.

BenchmarkYearMeasuresLinks
Needle in a Haystack2023Single-fact retrieval at varying depth/length in-contextrepo
RULER2024 (NVIDIA)"Real" effective context size; 13 tasks, 4K–1M tokenspaper · code
BABILong2024 (NeurIPS)Reasoning over facts scattered in very long docs, up to 11M tokenspaper
Long Range Arena (LRA)2020 (ICLR)Efficient-Transformer quality on long sequences (architecture-era)paper · code

Comparative evaluations & leaderboards


Articles & Deep Dives

Talks & Courses

Tutorials & Hands-On


Other Awesome Lists


Contributing

Contributions welcome! See CONTRIBUTING.md. Found a missing project, paper, or benchmark? Open a PR or issue. The bar: it must be a real, locatable resource specifically about agentic / LLM-agent memory, with a working link.

License

CC0

To the extent possible under law, the contributors have waived all copyright and related rights to this work (CC0-1.0).

agentic-memory
agent-memory
ai-agents
ai-memory
awesome
awesome-list
knowledge-graph
llm
llm-agents
llm-memory
long-term-memory
memgpt
rag

Anandesh-Sharma/awesome-agentic-memory

🧠 The definitive curated map of memory for LLM agents — frameworks, research papers, benchmarks, taxonomy & deep dives.

1

0 commits

updated Jun 16, 2026

See the code

README

Awesome Agentic Memory Awesome

The definitive, curated map of memory for LLM agents — frameworks, research papers, benchmarks, taxonomy, and the deep dives that matter.

How do you make an agent that actually remembers? This is everything worth reading, running, and benchmarking.

License: CC0-1.0 PRs Welcome Last Updated


Why memory? An LLM's context window is its short-term memory — fast, fully attended, and gone the moment the window clears or overflows. Everything an agent should remember across time — facts about a user, past conversations, learned skills, evolving state — has to live outside the window and be selectively retrieved back in. That problem — what to store, when to retrieve it, how to update it, and how to forget — is agentic memory. This list maps the entire space.

Contents


TL;DR — Start Here

New to the space? This is the shortest path to competence:

  1. Read Lilian Weng — LLM Powered Autonomous Agents (the memory section) and the CoALA paper for vocabulary.
  2. Understand the two camps: hierarchical paging (MemGPTLetta) vs temporal knowledge graphs (Zep/Graphiti) vs extraction pipelines (Mem0).
  3. Run something: Mem0 (easiest drop-in) or Letta (full stateful-agent platform).
  4. Benchmark it against the field's standard trio: LoCoMo + LongMemEval + BEAM.

⚠️ A note on benchmark scores throughout this list: memory benchmark numbers are heavily contested — they swing wildly with config, judge model, and harness. See the Zep ↔ Mem0 dispute before trusting any single SOTA claim. Treat vendor-reported scores as vendor-reported.


Taxonomy of Agentic Memory

The CoALA frame

The accepted scaffolding comes from CoALA — Cognitive Architectures for Language Agents (Sumers, Yao, Narasimhan & Griffiths, 2023). It models any language agent as three parts: memory, an action space (internal reasoning + external tools), and a decision procedure. Its memory typology is lifted straight from human cognitive science (Tulving's episodic/semantic split) — which is why Letta, Mem0, LangMem, and Zep all map their features back to the same words.

mindmap
  root((Agent Memory))
    Short-term
      Context window
      Working scratchpad
      Tool outputs
    Long-term
      Episodic
        Past events
        Task traces
      Semantic
        Facts about user
        Domain knowledge
      Procedural
        System prompt rules
        Reusable skills
    Operations
      Encode / Write
      Retrieve
      Update / Resolve conflict
      Forget / Decay
      Consolidate / Reflect
    Architectures
      Vector RAG
      Knowledge graph
      Hierarchical paging
      Summarization buffer

Short-term vs long-term

Short-term / working memoryLong-term memory
WhereInside the context windowOutside the window (vector / graph / SQL / files)
LifetimeOne reasoning episode; volatilePersists across sessions; effectively unbounded
OS analogy (MemGPT)RAMDisk
ConstraintFinite token budgetRetrieval quality — agent only sees what gets pulled in

The central engineering problem is context management: deciding which slice of a huge long-term store gets loaded into the small working set, and when. Letta and Anthropic both call this context engineering.

Long-term subtypes (the cognitive-science mapping)

SubtypeHuman analogIn an agentStored as
EpisodicMemory of specific events"What happened" — interactions, traces, outcomesEvent/episode summaries, past trajectories
SemanticGeneral world knowledge"What is true" — user facts, preferences, entitiesVector-embedded facts, KG triples
ProceduralSkills / how-to"How to act" — rules, workflows, skillsEditable system prompt, code, skill libraries

A widely cited refinement (LangMem) is the distillation hierarchy: raw episodic experiences distill into semantic facts; repeated semantic patterns crystallize into procedural rules. Memory consolidates upward, specific → general, over time.

Memory operations (the lifecycle)

flowchart LR
    I[Interaction] -->|encode / extract| W[Write to store]
    W --> S[(Long-term store)]
    S -->|retrieve: vector / graph / recency| C[Context window]
    C --> R[Reflect / summarize]
    R --> S
    S -->|consolidate + dedup| S
    S -->|forget / decay / supersede| S
    C --> I
  • Encoding / writing — extract what's worth keeping (fact/entity extraction, salience scoring). Runs hot-path (synchronous, during the turn) or background (async — LangMem, ChatGPT's "dreaming").
  • Retrieval — vector similarity, BM25/keyword, hybrid, graph traversal, recency. Generative Agents scores by recency × relevance × importance.
  • Forgetting / decay — TTL/expiry, recency decay, relevance pruning. Keeps the store from growing unbounded.
  • Consolidation — merge, dedup, abstract raw memories into higher-level ones (episodic → semantic).
  • Reflection / summarization — synthesize higher-order insights ("reflections"); compaction = summarize-and-reinitialize a near-full window.
  • Updating / conflict resolution — revise memories when facts change. Good systems mark old facts superseded rather than silently overwriting — this is where temporal reasoning matters (Zep's bi-temporal graph is the reference example).

Memory architectures

ArchitectureHow it worksStrengthWeaknessReference impl
Vector RAGEmbed memories, retrieve by similaritySimple, ubiquitousWeak at structured/temporal reasoning & conflictsPinecone, Chroma, pgvector
Knowledge / temporal graphEntities + relations as a graph; bi-temporal validity windowsBest for temporal reasoning & conflict resolutionMore infra, extraction costGraphiti / Zep
Hierarchical paging (LLM-as-OS)Core (RAM) / recall (cache) / archival (cold) tiers; agent pages data in/out via toolsIllusion of unbounded context; agent self-managesLatency of tool-call pagingLetta / MemGPT
Summarization bufferRolling summary of old turns + verbatim recent windowCheap, easyLossyLangChain buffer memory

Production systems usually combine these — e.g. Redis for session state, a vector DB for semantic recall, Postgres for episodic/procedural, a graph for relations.


Open-Source Memory Frameworks

⭐ Star counts are rough order-of-magnitude as of June 2026 — they move fast.

Dedicated memory frameworks

ProjectStarsWhat it doesApproachLangLicense
Mem0~59kUniversal memory layer for AI agentsHybrid vector + graph + KV, auto extraction (user/session/agent scopes)PythonApache-2.0
Letta (ex-MemGPT)~23kPlatform for stateful, self-improving agentsHierarchical OS-style paging (core / recall / archival), self-managed via toolsPythonApache-2.0
Cognee~18kAI memory platform, persistent long-term memoryHybrid graph + vector KG (ECL pipeline)PythonApache-2.0
Memori~15kAgent-native memory infraStructured entity/event/fact extraction, LLM-agnosticPy/TS/RustApache-2.0
memU~14kMemory harness for proactive agentsMultimodal → typed MemoryItems, ~10× token reductionPythonApache-2.0
MemOS~10kSelf-evolving "memory OS"Memory-OS abstraction, hybrid retrieval, cross-task skill reuseTS/PythonApache-2.0
Second-Me~10k+"AI-native memory 2.0" — train your AI selfPersistent personal identity modelPy/TSApache-2.0
Honcho~5kMemory modeling people/groups over timeReasoning-first peer representations, async background inferencePy/TSAGPL-3.0
OpenMemory~4kLocal persistent memory for LLM appsLocal cognitive memory engine, MCP serverTSApache-2.0
MemMachine~3kUniversal memory layerScalable, interoperable storage + retrievalPythonApache-2.0
Memobase~3kUser-profile long-term memory for chatbotsStructured profiles + time-aware event timelines, <100msPy/Go/TSApache-2.0
ReMe (ex-MemoryScope)~3kMemory kit for agents (Alibaba/AgentScope)Extract / reuse / share memory across users & agentsPythonApache-2.0
Memary~3kMemory layer for autonomous agentsNeo4j knowledge-graph + entity memoryPythonMIT
LangMem~2kMemory primitives so agents learn/adaptExtraction + prompt refinement; semantic/procedural; any storePythonMIT
Redis Agent Memory Server~1kFast memory server on RedisShort-term session + long-term vector, MCP serverPythonApache-2.0
A-MEM~1kAgentic memory (NeurIPS 2025)Zettelkasten-style dynamic organization + linkingPythonMIT
MemoryOSresearchMemory OS for personalized agents (EMNLP 2025 Oral)Hierarchical Storage/Updating/Retrieval/GenerationPython
Motorhead~850Memory + IR server for LLMsSession memory + incremental summarizationRustApache-2.0 ⚠️ low activity
HybridAGIsmallNeuro-symbolic agent w/ graph memoryGraph + vector memoryPythonGPL-3.0
memontosmallOntology-based memory managementGraph/ontology-drivenPython

Knowledge-graph & temporal memory

ProjectStarsWhat it doesApproachLicense
Graphiti~28kBuild temporal knowledge graphs for agentsBi-temporal KG (fact-validity windows, provenance) — powers ZepApache-2.0
Microsoft GraphRAG~20k+Graph-based RAG / community summarizationGraph extraction + community summariesMIT
Zep~5kContext-engineering platform on GraphitiTemporal KG memory, sub-200ms context assemblyApache-2.0
txtai~13kEmbeddings DB for semantic search + LLM workflowsVector + graph + SQL; RAG/memory backboneApache-2.0

Framework-native memory

Memory modules built into the major agent frameworks — use these if you're already on the framework.

FrameworkMemory moduleApproachLicense
LangChain / LangGraphBuffer / summary / vector-store memory; LangGraph persistent store + checkpointsBuffer/summary/vector + durable storeMIT
LlamaIndexChat memory buffers, vector memory, composable memory blocksVector + summary + composableMIT
HaystackConversation + document memory via storesStore-backed memoryApache-2.0
Semantic KernelSemantic memory plugins / connectorsEmbedding/vector, pluggable connectorsMIT
CrewAIShort/long-term + entity memory (Qdrant Edge)Short + long + entity, hierarchical isolationMIT
AutoGen / AG2Message history + teachable-agent memoryConversation history + teachabilityMIT
OpenAI Agents SDKSessions for conversation stateSession-based memoryMIT
Google ADKSession state + MemoryService (pluggable backends)Session state + memory service (e.g. Vertex RAG)Apache-2.0
PraisonAIGraph + vector memoryGraph + vectorMIT

Coding-agent & portable memory

Persistent memory for coding assistants (Claude Code, Copilot, Cursor) and agent-agnostic memory runtimes.

ProjectStarsWhat it doesLang
Supermemory~27kFast/scalable memory + context engine, runs locallyTS
EverOS~7kPortable self-evolving memory across agentsPython
agentmemory~5kPersistent memory for coding agentsTS/Python
ByteRover / Cipher~5kPortable memory layer for coding agents (MCP)TS
claude-memmidCross-session context for coding agentsTS
EngrammidAgent-agnostic persistent memory (Go, SQLite FTS5, MCP)Go
BaseAImidServerless agent framework with vector memory primitiveTS
mem-agentmodel4B model fine-tuned for memory ops over markdown filesweights

Feature Comparison

The dimensions that actually differentiate memory systems. Use these as your evaluation columns.

SystemPersistenceBackendTemporal reasoningConflict resolutionSelf-editingWrite timingDeploy
Mem0Cross-sessionVector + graph + KVTimestampsDedup + mergeNoHot-pathOSS + Cloud
LettaCross-sessionPostgres + vectorTimestampsSupersede (agent-managed)✅ Yes (tools)Hot-pathOSS + Cloud
Zep / GraphitiCross-sessionBi-temporal graph✅ Bi-temporal✅ Supersede-with-historyNoBackgroundOSS + Cloud
CogneeCross-sessionGraph + vectorTimestampsDedupNoPipelineOSS
LangMemCross-sessionAny (LangGraph store)App-definedApp-definedPartialHot + backgroundOSS + SDK
MemOS / MemoryOSCross-sessionHierarchical tiersTimestampsSegmented-page update✅ YesHot + backgroundOSS
MemobaseCross-sessionProfile + timeline✅ Time-aware eventsProfile mergeNoBackgroundOSS + Cloud

Key dimensions not shown but worth checking per project: multi-user namespacing, forgetting/decay policy, retrieval method (vector vs hybrid vs graph), tokens-per-query cost, and which benchmarks each reports.


Managed / Commercial Memory Services

ServiceWhat it is
Mem0 PlatformManaged memory layer (also OSS); large token-cost reduction claims; broad integrations + OpenMemory MCP server
Zep CloudManaged temporal-KG memory for enterprise-scale agents
Letta CloudManaged MemGPT-style stateful agents (core/recall/archival)
LangMem SDKLong-term memory over the LangGraph store (Postgres/MongoDB backends)
ChatGPT MemoryConsumer persistent memory — saved memories + chat history, background "dreaming" update
Anthropic Memory ToolFile-based memory tool on the Claude Developer Platform for cross-session state

Research Papers

Grouped by category, newest-first within each group. arXiv IDs verified.

Surveys & foundational frameworks

Architectures

Episodic & semantic memory

Memory management & lifelong learning


Benchmarks & Evaluation

⚠️ Memory scores are config/judge/harness-dependent and frequently contested. Always note who reported a number.

Memory-specific benchmarks

BenchmarkYearMeasuresSizeLinks
LoCoMo2024Very long conversational memory: single/multi-hop QA, temporal reasoning, event summarization, multimodal gen10 convos, ~300 turns, ~1.5K QApaper · site · data
LongMemEval2024 (ICLR 2025)5 abilities: extraction, multi-session, temporal, knowledge updates, abstention500 curated Qs, scalable historypaper · site · code
BEAM2025/26Memory at 1M–10M tokens, 10 categories; unsolvable by bigger context1M & 10M scaleexplainer
MemoryAgentBench2025 (ICLR 2026)Accurate Retrieval, Test-Time Learning, Long-Range Understanding, Conflict Resolutioninject-once/query-manypaper · code
ConvoMem2025Conversational memory + memory-vs-RAG crossover study75,336 QA pairspaper
MemBench2025 (ACL Findings)Factual vs reflective memory; participation vs observationpaper · code
DialSim2024Real-time multi-party dialogue (TV shows), time-constrained, temporal-KG QA~350K tokens, ~1K Qs/sessionpaper · site
PerLTQA2024Personalized long-term QA: semantic + episodic (Chinese)8,593 Qs, 30 characterspaper
MemGPT DMR2023Deep Memory Retrieval — cross-session consistency (built on MSC)derived from MSCpaper
MSC (Multi-Session Chat)2021Long-term open-domain consistency, persona retention5 sessions/dialogpaper
MemoryBank / SiliconFriend2023 (AAAI)AI-companion recall + personality adaptation; forgetting-curvequal + simulatedpaper · code

These test long context-window retrieval, not persistent cross-session memory — a distinction worth keeping straight.

BenchmarkYearMeasuresLinks
Needle in a Haystack2023Single-fact retrieval at varying depth/length in-contextrepo
RULER2024 (NVIDIA)"Real" effective context size; 13 tasks, 4K–1M tokenspaper · code
BABILong2024 (NeurIPS)Reasoning over facts scattered in very long docs, up to 11M tokenspaper
Long Range Arena (LRA)2020 (ICLR)Efficient-Transformer quality on long sequences (architecture-era)paper · code

Comparative evaluations & leaderboards


Articles & Deep Dives

Talks & Courses

Tutorials & Hands-On


Other Awesome Lists


Contributing

Contributions welcome! See CONTRIBUTING.md. Found a missing project, paper, or benchmark? Open a PR or issue. The bar: it must be a real, locatable resource specifically about agentic / LLM-agent memory, with a working link.

License

CC0

To the extent possible under law, the contributors have waived all copyright and related rights to this work (CC0-1.0).

agentic-memory
agent-memory
ai-agents
ai-memory
awesome
awesome-list
knowledge-graph
llm
llm-agents
llm-memory
long-term-memory
memgpt
rag