Agentic Research

Read these first

This article assumes the following earlier in its learning path.

A Panorama of Agent Memory Systems: An In-Depth Comparison of Five Approaches in 2026

2026/06/226 min readBryan Chan閱讀中文原文
TopicsAI MemoryArchitectureAgentic InfrastructureQdrantAgent Architecture

An AI Agent without memory is meeting you for the first time in every single conversation. Memory is not a feature; it is a precondition for the Agent's existence.


Why Is Memory the First-Principles Problem for an Agent?

Three numbers make the point:

FigureExplanation
200 linesThe effective upper limit for .cursorrules / CLAUDE.md
10 minutesThe time for the context window of an active Agent session to saturate
0%The default memory retention rate of an LLM between sessions

An Agent without persistent memory = a colleague who loses their memory every day. However much you trust his ability, you would not dare hand him a long-term task.


Panorama Comparison of Five Approaches

1. agentmemory (23.5K⭐ · TypeScript · Apache 2.0)

  • Core idea: based on Andrej Karpathy's LLM Wiki pattern, with added confidence scoring, lifecycle, and a knowledge graph
  • Strengths: the most mature ecosystem (49 releases, 40 contributors), supports all mainstream Agents (Claude Code / Codex / Copilot / OpenClaw)
  • Architecture: MCP Server + plugin hooks; the same memory server is shared across Agents
  • Weaknesses: weak Chinese support (measured retrieval hit rate is low), and poor fit for non-coding agent scenarios
  • Best for: multi-Agent coding teams that need to share memory across Claude Code / Codex

2. PlugMem (152⭐ · Python · ICML 2026)

  • Core idea: compress raw interaction history into "compact, reusable knowledge units" that are task-agnostic
  • Strengths: academic SOTA (top in both LongMemEval and HotpotQA), backed by a formal paper
  • Distinctive design: three-layer memory (semantic / procedural / episodic), with memory graph visualization
  • Weaknesses: smaller ecosystem; plugins only support OpenClaw and Claude Code
  • Best for: research and knowledge-intensive scenarios that need academic-grade memory quality

3. Infini-Memory (6⭐ · Python · Apache 2.0 · 2026-06-09)

  • Core idea: treat memory as a "lifecycle maintenance problem", with three stages: write, maintain, read
  • Distinctive design: topic document structure, Buffer + periodic Consolidation, filesystem backend (zero external dependencies)
  • Strengths: minimal deployment, Markdown as the database, human-readable and human-editable
  • Weaknesses: very new (less than two weeks), no production validation yet
  • Best for: personal Agents in scenarios that need lightweight, manually editable memory

4. verifiable-memory (<10⭐ · Python · MIT · 2026-06-15)

  • Core idea: 0% hallucinated memory; it answers only from stored facts and says "I do not know" when uncertain
  • Distinctive design: Merkle Proof (prove that a fact exists without revealing the rest), and provable forgetting (GDPR)
  • Strengths: the only memory system that achieves "cite-or-abstain", suited to finance / legal / medical
  • Weaknesses: not a reasoning engine, it only provides the ground truth layer; very new, with zero ecosystem
  • Best for: high-compliance scenarios (financial transaction records, legal document citations, medical records)

5. Qdrant + MemoryHub + Headroom (Our Approach)

  • Core idea: a three-layer separated architecture: vector search + structured dashboard + context compression
  • Strengths: already running in production, supports multi-platform session integration, native Chinese support
  • Architecture:
    • Qdrant (4,795 pts): semantic search, cross-session recall
    • MemoryHub (6 collections): full database sync + Dashboard monitoring
    • Headroom: compresses tool output to relieve context pressure
  • Best for: individuals and teams that need cross-channel memory integration (Feishu / WeChat / Discord)

Scenario Selection Matrix

ScenarioRecommended ApproachReason
Personal coding AgentagentmemoryMost mature ecosystem, native support for coding agents
Academic research / knowledge managementPlugMemBacked by an ICML paper, three-layer memory structure
Minimalist personal assistantInfini-MemoryMarkdown as the database, zero operations overhead
Finance / legal complianceverifiable-memory0% hallucination, cite-or-abstain
Cross-channel integration (Feishu + WeChat + Discord)Qdrant+MemoryHubThe only approach with native multi-platform support
Large teamsagentmemory + verifiable-memory hybridSeparates general memory from compliance memory

Selection Advice

  1. If you have only one Agent: Infini-Memory is the most lightweight and works out of the box
  2. If you have multiple coding Agents: agentmemory has the most complete ecosystem
  3. If Chinese support + cross-channel matters: Qdrant + MemoryHub is currently the only option
  4. If your scenario involves compliance: verifiable-memory's cite-or-abstain is a must-have

There is no silver bullet for memory systems. The choice depends on the number of Agents you have, how sensitive your scenarios are, and your need for "editability".

Next on this path