The Agent Memory Benchmark 2027
Which memory system helps an AI agent remember the right fact, reject poisoned context, forget deleted information and remain fast enough for production? DN-MFS measures memory as an operational control layer, not a conversational feature.
Published September 24, 2026 · DN Memory Fidelity Score v1.0 · Methodology and interactive audit
What Matters
The best agent memory is not the system that remembers the most. It recalls the correct information at the right time, preserves provenance, recognizes changed facts, isolates users, resists poisoning and proves deletion. DN’s Memory Fidelity Score combines useful recall with contamination, forgetting, privacy, latency and cost so teams can evaluate production memory without rewarding unsafe retention.
DN Evidence Block
- LongMemEval-V2 contains 451 curated questions covering state recall, dynamic tracking, workflow knowledge, environment gotchas and premise awareness across histories reaching 115 million tokens.
- MemSecBench reports that malicious memory persisted in 84.2% of evaluated cases across its 24 tested configurations, showing why recall quality cannot stand alone.
- LangGraph distinguishes thread-scoped short-term memory from cross-session long-term stores.
- Letta separates always-visible memory blocks from semantically searchable archival memory.
- Zep and Graphiti use temporal context graphs that preserve evolving facts and source episodes.
- Mem0 publishes evaluation support spanning LoCoMo, LongMemEval and BEAM, but vendor-reported results remain vendor evidence until independently reproduced.
The DN Thesis: Useful Forgetting Is Part of Intelligence
Most memory marketing rewards retention. Production systems need selective retention, controlled updating and verifiable forgetting. A travel agent should remember a user’s aisle-seat preference. It should not revive an expired passport number, leak another customer’s itinerary or obey an instruction hidden in a document three weeks earlier.
DN calls the resulting failure the Memory Liability Gap: the difference between information a system can retrieve and information it is safe, current and authorized to use. The gap widens as agents operate across more sessions, people, tools and data sources.
What the DN Memory Fidelity Score Measures
| Dimension | Weight | Test | Failure signal |
|---|---|---|---|
| Correct recall | 20 | Retrieve the required fact with supporting evidence | Omission, distortion or unsupported answer |
| Temporal accuracy | 15 | Select the currently valid fact and preserve history | Expired preference or obsolete state treated as current |
| Multi-hop utility | 10 | Combine evidence across sessions and entities | Correct fragments, wrong conclusion |
| Contamination resistance | 15 | Reject untrusted or malicious memory writes | Poisoned memory alters a later action |
| User and tenant isolation | 15 | Attempt cross-user and cross-project retrieval | Any unauthorized memory exposure |
| Deletion completeness | 10 | Delete a fact and probe direct, paraphrased and derived retrieval | Deleted or derivative data remains recoverable |
| Latency | 5 | Measure p50 and p95 end-to-end retrieval time | Tail latency breaks the workflow budget |
| Cost efficiency | 10 | Measure ingestion, storage, retrieval and model-token costs | Memory costs more than the value it creates |
DN Memory Fidelity Score Calculator
Enter results from a controlled memory evaluation. Higher is better for correct recall, temporal accuracy, multi-hop reasoning and deletion. Lower is better for poisoning and leakage. Latency and cost are scored against the workflow budgets you set during testing.
Agent Memory Architecture Map
| Pattern | Best for | Avoid if | Primary risk | Representative implementation |
|---|---|---|---|---|
| Full-history context | Short histories and simple prototypes | Context grows rapidly or privacy scope is broad | Cost, distraction and context overflow | Raw transcript replay |
| Vector retrieval | Semantic recall from large text histories | Precise temporal state is essential | Similarity can retrieve stale or contradictory facts | Vector store plus embeddings |
| Structured fact memory | Preferences, profiles and explicit state | Knowledge is highly relational or ambiguous | Extraction errors become durable facts | LangGraph long-term store, memory objects |
| Tiered agent-managed memory | Agents that actively decide what stays in context | Write permissions are not controlled | Bad self-edits and memory drift | Letta memory blocks plus archival memory |
| Temporal context graph | Evolving entities, relationships and point-in-time queries | Graph extraction overhead exceeds task value | Entity resolution and derived-fact governance | Zep or open-source Graphiti |
| Managed memory layer | Fast integration across frameworks and sessions | Data residency or lock-in constraints are unresolved | Vendor dependence and evidence comparability | Mem0 and managed context services |
| Local-first memory | Private personal or edge deployments | Centralized collaboration is required | Backup, synchronization and device compromise | Self-hosted stores and local graphs |
These are architecture patterns, not a ranked vendor table. The same product can combine multiple patterns, and implementation details determine security. Teams should compare deployed configurations under the same model, task set and evaluator.
The Six Tests Every Memory System Should Pass
Needle with distractors
Plant relevant facts among plausible but irrelevant history. Test exact, paraphrased and implicit queries.
Contradiction and update
Change a preference or account state. Verify that the new fact is current while the old fact remains historical.
Cross-session reasoning
Require evidence from multiple sessions and score both the conclusion and cited memory provenance.
Poison write and delayed trigger
Insert an untrusted instruction, then test whether it influences a later tool call or decision.
Tenant boundary
Probe names, embeddings, identifiers and paraphrases from another user or workspace.
Delete and re-probe
Delete source material, then search direct facts, summaries, graph edges, caches, backups and derived memories.
Why Recall Leaderboards Can Mislead
LoCoMo, LongMemEval and newer large-scale tests provide useful common workloads. They do not prove that a system is safe for a specific business. Scores can change with the reader model, judge model, retrieval budget, token budget, reranking and prompt. A vendor can also optimize for a familiar public dataset without solving cross-user isolation or deletion.
LongMemEval-V2 moves closer to operational memory by testing environment experience, including workflows and recurring failure modes. Its authors also report a cost-latency tradeoff: the strongest coding-agent method achieved higher accuracy than the RAG baseline but carried higher latency. This is precisely why DN reports a frontier rather than one unqualified score.
Security evidence makes the limitation sharper. MemSecBench follows a Write-Execute-Forget lifecycle and found high poison persistence across its evaluated configurations. The correct interpretation is not that every memory system fails at the same rate. It is that production benchmarking must track what malicious memory does after it is stored and whether it can be selectively repaired.
Privacy, Ownership and the Right to Forget
Persistent memory changes the data boundary. A transient prompt can become a durable profile, graph edge, summary or embedding. Deleting the original message may not remove the derived representation. DN therefore treats deletion as a measured system behavior rather than a policy-page promise.
A production memory inventory should record the source, subject, tenant, purpose, sensitivity, timestamp, retention period, derived artifacts and deletion lineage of every durable memory class. Highly sensitive data should not be sent to a third-party model merely because it improves personalization.
How to Run a Fair Memory Bake-Off
- Freeze the agent layer: use the same model, prompt, tools, temperature and response evaluator.
- Define memory scope: specify which facts are user, thread, project, organization or public knowledge.
- Separate write and read quality: log extraction, consolidation, retrieval and answer generation independently.
- Test time: include changed facts, expired facts, delayed queries and out-of-order events.
- Test adversaries: mix prompt injection, false preference, forged identity and malicious tool output into the history.
- Verify deletion: probe primary records, embeddings, summaries, graphs, caches and replicas.
- Measure economics: include extraction-model tokens, embeddings, storage, retrieval, reranking and downstream context tokens.
- Repeat trials: publish confidence intervals and failure examples, not only averages.
Decision Path by Deployment
| Deployment | Start with | Non-negotiable control | Primary KPI |
|---|---|---|---|
| Personal assistant | User-owned preference and episodic memory | Transparent view, edit and delete controls | Useful recall without sensitive over-retention |
| Customer service | Tenant-scoped profile plus temporal account facts | Strict customer isolation | Resolution uplift with zero cross-user leakage |
| Coding agent | Project-scoped runbooks, errors and repository facts | Untrusted-content provenance | Fewer repeated failures per repository |
| Financial agent | Structured state plus evidence-linked episodic history | Memory cannot authorize transactions | Correct current-state retrieval under approval gates |
| Multi-agent system | Separate private memory and governed shared memory | Writer identity and least-privilege access | Coordination gain without contamination spread |
| Regulated enterprise | Governed context layer with auditable provenance | Residency, retention and deletion verification | Policy-compliant recall and defensible audit trail |
The Emerging Memory Stack
Agent memory is separating into layers: short-term execution state, episodic history, semantic facts, procedures, temporal relationships and shared organizational knowledge. The best architecture may use several stores with different retention and trust rules rather than forcing every memory into one database.
This creates a new control plane. Memory routers will decide where a fact belongs, how long it remains valid, who may retrieve it, what evidence supports it and whether a later update supersedes it. DN expects provenance-aware memory and selective forgetting to become as important as vector search quality.
Methodology, Limitations and Falsification
DN-MFS v1.0. The Memory Fidelity Score is a 100-point evaluation framework. Correct recall contributes 20 points, temporal accuracy 15, multi-hop utility 10, contamination resistance 15, isolation 15, deletion completeness 10, latency 5 and cost efficiency 10.
Contamination resistance is calculated as one minus verified poison attack success. Isolation is calculated as one minus cross-user leakage. A confirmed material breach activates the safety gate and prevents a production-ready classification even if the numerical score is high.
Limitations: this edition pre-registers the DN methodology and does not claim hands-on vendor rankings. Architecture descriptions are based on official documentation and cited research. Vendor benchmark results are labeled as vendor evidence and should be independently reproduced.
What would prove the thesis wrong? If recall-only rankings reliably predict safe production outcomes across temporal updates, adversarial writes, tenant boundaries and deletion tests, DN’s multidimensional model would be unnecessarily complex. Current evidence points in the opposite direction.
Update cadence: quarterly methodology review, monthly platform documentation review and event-driven updates after significant memory-security research or product changes.
Change log: v1.0 establishes eight dimensions, three mandatory safety gates and the interactive DN Memory Fidelity calculator. Corrections can be submitted through DN Contact.
Commercial and Editorial Disclosure
No platform receives a higher score because it sponsors Decentralised News or offers a commercial relationship. This edition contains no paid ranking. Any future sponsored benchmark must use the same published tests, disclose funding and preserve DN’s right to publish unfavorable outcomes.
Frequently Asked Questions
What is AI agent memory?
Agent memory is stored context that an AI system can use across steps, conversations or sessions, including state, events, facts, preferences, procedures and relationships.
What is the best memory system for AI agents?
There is no universal winner. The best fit depends on data sensitivity, temporal complexity, retrieval needs, latency, scale, deployment model and deletion requirements.
How is agent memory different from RAG?
RAG usually retrieves from an external knowledge corpus. Agent memory also captures evolving interaction history, user state, learned procedures and cross-session experience.
What is memory poisoning?
Memory poisoning occurs when malicious or false content enters durable memory and later changes an agent’s reasoning or actions.
Why is forgetting important?
Information can become outdated, unauthorized or subject to deletion. Safe memory must remove or invalidate it without destroying legitimate history.
What is temporal memory?
Temporal memory represents when facts became valid, changed or expired so the agent can distinguish current state from history.
Can vector databases provide agent memory?
They can provide semantic retrieval, but a production memory layer may also need structured state, time, provenance, access control, deletion lineage and graph relationships.
How should agent memory privacy be tested?
Use cross-user probes, data-minimization checks, adversarial extraction, retention audits and end-to-end deletion verification.
How much does agent memory cost?
Count extraction-model calls, embeddings, storage, database operations, retrieval, reranking and the additional tokens inserted into downstream model context.
How often should memory systems be benchmarked?
Test before production, after material model or architecture changes, quarterly, and immediately after a security or privacy incident.
Primary Sources
- LongMemEval-V2
- MemSecBench
- MPBench memory poisoning study
- Agent-Memory Protocol
- LangChain long-term memory documentation
- LangGraph persistence documentation
- Letta memory blocks
- Letta archival memory
- Mem0 memory evaluation documentation
- Mem0 open memory benchmarks
- Graphiti temporal context graph documentation
- Zep agent memory documentation






