quantum-agent-memory
Installation
SKILL.md
Quantum Agent Memory
QAOA-powered memory management for AI agents. Three quantum layers replace classical heuristics for clustering, compaction, and recall.
Companion to Quantum Memory Graph (QMG) v1.2 — #1 on LongMemEval (98.6% R@5).
Three Quantum Layers
Layer 1: Clustering
Group N memories into coherent clusters via balanced graph-cut QAOA.
- Cost matrix: temporal (25%), relational (30%), categorical (25%), recency (20%)
- 100% optimal for n≤14, speed crossover at n=20
Layer 2: Compaction
Select optimal K memories to keep from M total.
- Maximizes coverage + coherence + value + recency with budget penalty
- Beats greedy selection by ~1% consistently