SuperLocalMemory V2

10-LAYER UNIVERSAL MEMORY SYSTEM • MCP + A2A DUAL PROTOCOL
v2.5 — "Your AI Memory Has a Heartbeat"
MCP
Agent → Tool
LIVE
Model Context Protocol
6 tools • 4 resources • 2 prompts
Claude Desktop
Claude Code
Cursor
Windsurf
VS Code / Copilot
Continue.dev
Zed
+ 9 more IDEs
01
Raw Storage
src/memory_store_v2.py
SQLiteFTS5TF-IDF
02
Hierarchical Index
src/tree_manager.py
Parent-ChildBreadcrumbs
03
Knowledge Graph
src/graph_engine.py
LeidenCommunitiesEntities
04
Pattern Learning
src/pattern_learner.py
MACLABayesian
05
Skills Layer
skills/*
6 CommandsUniversal
06
MCP Integration
mcp_server.py
6 Tools4 Resources2 Prompts
07
Universal Access
MCP + Skills + CLI
3 Methods16+ IDEs
08
Hybrid Search
src/hybrid_search.py
SemanticFTS5Graph
09
Visualization
ui_server.py
DashboardTimelineGraph
10
A2A Agent Collaboration
src/a2a_server.py — PLANNED v2.6
A2A ProtocolPLANNED
A2A
Agent ↔ Agent
PLANNED v2.6
Agent-to-Agent Protocol
Google/LF • 150+ orgs
Perplexity Agent
Codex Agent
Custom Agents
Agent Discovery
Task Management
Signed Identity
A2A has NO shared memory.
SLM fills this gap.

v2.5 Components

"Your AI Memory Has a Heartbeat" IN DEVELOPMENT
PREREQUISITE
Connection Manager
src/db_connection_manager.py
SQLite WAL mode, connection pool, thread-safe write queue. Fixes "database locked" errors under concurrent access from CLI + MCP + API.
Event Bus
src/event_bus.py
Broadcast memory operations via SSE, WebSocket, and Webhook. Powers real-time dashboard updates. Tiered retention: hot 48h, warm 14d, cold 30d.
Subscription Manager
src/subscription_manager.py
Durable and ephemeral subscriptions with filters by agent_id, operation_type, and tags. Survive restarts by default.
Webhook Dispatcher
src/webhook_dispatcher.py
HTTP POST to configured URLs on memory events. Integration bridge for external systems and automation pipelines.
Agent Registry
src/agent_registry.py
Track agent connections, protocols (MCP/A2A/CLI), statistics, and last_seen timestamps. Foundation for trust enforcement.
Provenance Tracker
src/provenance_tracker.py
Track memory origin: created_by, source_protocol, agent_version. Full memory lineage for audit and debugging.
Trust Scorer
src/trust_scorer.py
Silent Bayesian trust signal collection using MACLA Beta-Binomial model. Equal start (1.0). Enforcement begins in v2.6.
ProtocolDirectionPurposeAnalogyStatus
MCP Agent → Tool AI tool reads/writes memory USB-C port LIVE
A2A Agent ↔ Agent AI agents collaborate via memory Internet protocol v2.6
Skills User → Agent → Memory Slash commands in any IDE Terminal shortcut LIVE
CLI User → Memory Direct terminal access SSH LIVE
Live
Planned v2.6
v2.5 In Development
Click any layer for details