← Back to Skills Marketplace
dustin-a11y

Quantum Agent Memory

by Dustin-a11y · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
96
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install quantum-agent-memory
Description
QAOA-powered memory optimization for AI agents. Uses quantum computing (Qiskit) to solve three memory management problems: clustering related memories, selec...
Usage Guidance
Before installing or running this skill: 1) Treat the manifest omissions as suspicious — the code requires QUANTUM_API_TOKEN, MEM0_URL, and an IBM quantum token even though the registry lists none. 2) Do not run the example systemd service as root; prefer a dedicated unprivileged system user. 3) Inspect and possibly edit hard-coded paths in scripts/ibm_cron.py (RESULTS_DIR, TOKEN_FILE) before running. 4) Understand that the OpenClaw plugin injects selected memories into every agent prompt — review and control which agents the plugin is enabled for. 5) Be aware QiskitRuntimeService.save_account will persist IBM credentials to local config; store tokens with least privilege and in a controlled location. 6) If you want to proceed, run the service in an isolated environment (container or dedicated VM), lock down MEM0 and API tokens, and review plugin files that will be placed into agent extension directories.
Capability Analysis
Type: OpenClaw Skill Name: quantum-agent-memory Version: 1.0.0 The skill bundle implements a complex quantum-based memory management system using QAOA, but contains several high-risk security practices. Specifically, the documentation in 'references/api-setup.md' provides a systemd service template that runs the API server as 'root', and 'scripts/ibm_cron.py' contains hardcoded absolute paths ('/home/dt/...') and directly accesses sensitive credentials in the user's home directory ('~/.ibm_quantum_token'). While the code appears to perform its stated function, these vulnerabilities and the lack of environment sanitization pose a risk of privilege escalation and credential exposure.
Capability Tags
cryptorequires-oauth-token
Capability Assessment
Purpose & Capability
The name/description (QAOA memory optimization) matches the included code and docs: FastAPI endpoints, QAOA circuits, and Mem0 integration. However the registry metadata lists no required env vars or credentials while the README and code clearly require QUANTUM_API_TOKEN, MEM0_URL, and an IBM quantum token – an inconsistency between declared requirements and actual needs.
Instruction Scope
Runtime instructions and code call out to a local Mem0 API, will fetch/store agent memories, and instruct installing an OpenClaw plugin that hooks into before_prompt_build (injecting memories into every agent prompt). The scripts also perform filesystem operations (write results, read ~/.ibm_quantum_token) and recommend running a systemd service as root. These actions are within the stated purpose but are broad in scope (affect all agents) and include hard-coded paths and fallback behavior that were not declared in registry metadata.
Install Mechanism
There is no packaged installer (instruction-only). The SKILL.md instructs creating a venv and pip-installing qiskit, FastAPI, etc., which is expected for this project. Risk is moderate because installing qiskit and qiskit-ibm-runtime pulls heavy dependencies, but there is no download-from-untrusted-URL or opaque binary installer in the manifest.
Credentials
The registry claims no required env vars, yet the code/docs use QUANTUM_API_TOKEN (API auth), MEM0_URL, and IBM_QUANTUM_TOKEN (or ~/.ibm_quantum_token). The IBM token is saved via QiskitRuntimeService.save_account (persisting credentials). Requiring an API token to allow the plugin to access or inject all agent memories is proportionate to the feature but should have been declared; omission is a red flag.
Persistence & Privilege
The integration model installs an agent plugin that runs on before_prompt_build and injects memories into every agent's prompt — this gives the skill-wide reach across agents on the host. The SKILL.md also recommends running the API as a systemd service (example shows User=root). The skill does not set always:true, but the suggested deployment (plugin + systemd as root) creates persistent, high‑privilege presence if followed.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install quantum-agent-memory
  3. After installation, invoke the skill by name or use /quantum-agent-memory
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of quantum-agent-memory. - Implements QAOA-powered memory management for AI agents, replacing classical heuristics for clustering, compaction, and recall. - Supports integration with Mem0 and OpenClaw plugins. - Allows benchmarking and submission of circuits to IBM Quantum hardware. - Provides a FastAPI server for live agent integration and API endpoints. - Includes technical references for setup, systemd, and a whitepaper.
Metadata
Slug quantum-agent-memory
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Quantum Agent Memory?

QAOA-powered memory optimization for AI agents. Uses quantum computing (Qiskit) to solve three memory management problems: clustering related memories, selec... It is an AI Agent Skill for Claude Code / OpenClaw, with 96 downloads so far.

How do I install Quantum Agent Memory?

Run "/install quantum-agent-memory" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Quantum Agent Memory free?

Yes, Quantum Agent Memory is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Quantum Agent Memory support?

Quantum Agent Memory is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Quantum Agent Memory?

It is built and maintained by Dustin-a11y (@dustin-a11y); the current version is v1.0.0.

💬 Comments