SuperLocalMemory: Privacy-Preserving Multi-Agent Memory with Bayesian Trust Defense Against Memory Poisoning
On the map: LLM agents and tool use → Agent threats, guardrails and governance
Abstract (arXiv)
We present SuperLocalMemory, a local-first memory system for multi-agent AI that defends against OWASP ASI06 memory poisoning through architectural isolation and Bayesian trust scoring, while personalizing retrieval through adaptive learning-to-rank -- all without cloud dependencies or LLM inference calls. As AI agents increasingly rely on persistent memory, cloud-based memory systems create centralized attack surfaces where poisoned memories propagate across sessions and users -- a threat demonstrated in documented attacks against production systems. Our architecture combines SQLite-backed storage with FTS5 full-text search, Leiden-based knowledge graph clustering, an event-driven coordination layer with per-agent provenance, and an adaptive re-ranking framework that learns user preferences through three-layer behavioral analysis (cross-project technology preferences, project context detection, and workflow pattern mining). Evaluation across seven benchmark dimensions demonstrates 10.6ms median search latency, zero concurrency errors under 10 simultaneous agents, trust separation (gap =0.90) with 72% trust degradation for sleeper attacks, and 104% improvement in NDCG@5 when adaptive re-ranking is enabled. Behavioral data is isolated in a separate database with GDPR Article 17 erasure support. SuperLocalMemory is open-source (MIT) and integrates with 17+ development tools via Model Context Protocol.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 16 of its 29 references that are in the map. First posted on arXiv 17 Feb 2026.
Builds on
16 of 29 references.
References · 16
- 2024From Local to Global: A Graph RAG Approach to Query-Focused Summarizationcited by 1,411
- 2025A-MEM: Agentic Memory for LLM Agentscited by 1,000
- 2016Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphscited by 853
- 2024Evaluating Very Long-Term Conversational Memory of LLM Agentscited by 800
- 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memorycited by 722
- 2023MemoryBank: Enhancing Large Language Models with Long-Term Memorycited by 539
- 2018From Louvain to Leiden: guaranteeing well-connected communitiescited by 379
- 2025Zep: A Temporal Knowledge Graph Architecture for Agent Memorycited by 372
- 2025Memory in the Age of AI Agentscited by 285
- 2025Model Context Protocol (MCP): Landscape, Security Threats, and Future Research Directionscited by 257
- 2025MemOS: An Operating System for Memory-Augmented Generation (MAG) in Large Language Modelscited by 68
- 2025MemoryBench: A Benchmark for Memory and Continual Learning in LLM Systemscited by 56
4 more
- 2026Graph-based Agent Memory: Taxonomy, Techniques, and Applicationscited by 22
- 2025Learning Hierarchical Procedural Memory for LLM Agents through Bayesian Selection and Contrastive Refinementcited by 17
- 2025LLM-Based Multi-Agent Blackboard System for Information Discovery in Data Sciencecited by 15
- 2025Position: Privacy Is Not Just Memorization!cited by 15
Built on by
Citing papers per year: 2026: 7.
7 papers.
- 2026Securing LLM-Agent Long-Term Memory Against Poisoning: Non-Malleable, Origin-Bound Authority with Machine-Checked Guaranteescited by 14
- 2026SoK: Security of Autonomous LLM Agents in Agentic Commercecited by 8
- 2026MemAudit: Post-hoc Auditing of Poisoned Agent Memory via Causal Attribution and Structural Anomaly Detectioncited by 6
- 2026SuperLocalMemory V3: Information-Geometric Foundations for Zero-LLM Enterprise Agent Memorycited by 1
- 2026ShadowMerge: A Novel Poisoning Attack on Graph-Based Agent Memory via Relation-Channel Conflictscited by 0
- 2026ElephantAgent: Contextual State Continuity in Agentic Systemscited by 0
- 2026Memory-Orchestrated Semantic System (MOSS): An Auditable Agentic Memory Architecturecited by 0
- 2026Memory-Orchestrated Semantic System (MOSS): An Auditable Agentic Memory Architecture5 Jul 2026
- 2026ElephantAgent: Contextual State Continuity in Agentic Systems2 Jul 2026
- 2026Securing LLM-Agent Long-Term Memory Against Poisoning: Non-Malleable, Origin-Bound Authority with Machine-Checked Guarantees23 Jun 2026
- 2026MemAudit: Post-hoc Auditing of Poisoned Agent Memory via Causal Attribution and Structural Anomaly Detection22 May 2026
- 2026ShadowMerge: A Novel Poisoning Attack on Graph-Based Agent Memory via Relation-Channel Conflicts9 May 2026
- 2026SoK: Security of Autonomous LLM Agents in Agentic Commerce15 Apr 2026
- 2026SuperLocalMemory V3: Information-Geometric Foundations for Zero-LLM Enterprise Agent Memory15 Mar 2026
Similar, not cited
Close in wording, no citation either way
- 2026Beyond Similarity: Trustworthy Memory Search for Personal AI Agents
- 2026MemSentry: A Framework for Detecting Persistent Memory Poisoning in Agentic AI
- 2026AIM: A Privacy-Aware Interoperable Memory Framework for Multi-Agent Multi-User LLM Systems
- 2026SMSR: Certified Defence Against Runtime Memory Poisoning in Persistent LLM Agent Systems
- 2026Trojan Hippo: Weaponizing Agent Memory for Data Exfiltration
- 2026ADAM: A Systematic Data Extraction Attack on Agent Memory via Adaptive Querying
- 2026From Attack Success to Attack Severity: Counterfactual Memory Attacks on LLM Agents
- 2026Governing Evolving Memory in LLM Agents: Risks, Mechanisms, and the Stability and Safety Governed Memory (SSGM) Framework