Self-Improving Agent
一个面向 Automation 场景的 Agent 技能。原始说明:Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) User corrects Clau...
一个面向 Automation 场景的 Agent 技能。原始说明:QAOA-powered memory optimization for AI agents. Three quantum layers: clustering, compaction, and recall. Integrates with QMG v1.2 for chunked gte-large retr...
name: quantum-agent-memory
title: Quantum Agent Memory
description: "QAOA-powered memory optimization for AI agents. Three quantum layers: clustering, compaction, and recall. Integrates with QMG v1.2 for chunked gte-large retrieval. Uses Qiskit for IBM Quantum hardware."
tags: [quantum, qaoa, memory, agents, qiskit, ibm, compaction, clustering, retrieval]
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).
Group N memories into coherent clusters via balanced graph-cut QAOA.
Select optimal K memories to keep from M total.
Find the best K memories for a query — optimizes for synergy, not just individual relevance.
git clone https://github.com/Dustin-a11y/quantum-agent-memory.git
cd quantum-agent-memory
python3 -m venv venv && source venv/bin/activate
pip install -r requirements.txt
python -m quantum_agent_memory benchmark
Point the benchmark at a live QMG instance:
python -m quantum_agent_memory benchmark --qmg-url http://localhost:8503
For OpenClaw agent integration, see references/openclaw-plugin.md.
Submit circuits to real IBM quantum processors:
pip install qiskit-ibm-runtime
python -m quantum_agent_memory submit --ibm-token YOUR_TOKEN
Run the full 3-layer benchmark:
python -m quantum_agent_memory benchmark
Expected output:
Optional: