cs.AIFeb 17, 2026

SuperLocalMemory: Privacy-Preserving Multi-Agent Memory with Bayesian Trust Defense Against Memory Poisoning

Authors: Varun Pratap Bhardwaj

Organizations: Independent Research

Abstract

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.

Figures & tables

Explore similar work

CardsList
  1. SuperLocalMemory 4.0: The Governed Memory Operating System for AI Agents

    Aug 8, 2026Varun Pratap Bhardwaj, Garima Singh, Arun Pratap BhardwajAgent MemoryAI Agent Governance

  2. Beyond Similarity: Trustworthy Memory Search for Personal AI Agents

    Jun 4, 2026Jiawen Zhang, Kejia Chen, Jiachen Ma +7LLM Agent MemoryAI Agent Security

  3. Memory poisoning and secure multi-agent systems

    Mar 20, 2026Vicenç Torra, Maria Bras-AmorósAgent Memory PoisoningAI Agent Security