Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计提醒

quantum-memory量子存储器

Agent Skill

quantum-memory 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,940

周安装

125

GitHub Stars

公开资料未说明

下载量

1,030
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:quantum-memory(量子存储器)
来源仓库:https://github.com/dustin-a11y/quantum-memory
安装命令:
openclaw skills install quantum-memory
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install quantum-memory

简介

量子优化内存检索系统替代传统代理记忆架构提升关系建模能力。

  • 适用于需要高维状态空间表示与快速上下文重放的应用场景。
  • 可与 Mem0 或 LangChain 内存方案混合部署进行对比测试。
  • 安装后需重新训练嵌入向量以适应量子编码格式要求。
  • 目前仅支持特定类型的记忆结构与查询模式匹配。quantum-memory 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
quantum-memory
description
Quantum-optimized memory retrieval for AI agents. Use when building agent memory systems, replacing Mem0/LangChain memory, or needing relationship-aware recall that finds connected memory clusters instead of individual matches. Triggers on memory system setup, agent memory upgrade, knowledge graph memory, QAOA optimization, recall quality improvement, short-term memory with recency boost. Installs via pip (quantum-memory-graph). #1 R@5 on LongMemEval (ICLR 2025) to our knowledge.

Quantum Memory Graph

Relationship-aware memory for AI agents. Knowledge graphs + quantum-optimized subgraph selection (QAOA).

When to Use

  • Building or upgrading an AI agent's memory system
  • Replacing flat similarity search (Mem0, LangChain memory, raw vector DB)
  • Need memories that work *together* as connected context, not isolated matches
  • Want recency-aware retrieval (recent memories rank higher)

Install

pip install quantum-memory-graph

For high-accuracy mode (needs ~2GB RAM, GPU recommended):

pip install quantum-memory-graph
# Then use model="thenlper/gte-large" — 96.6% R@5

Quick Start

from quantum_memory_graph import store, recall

# Store memories — automatically builds knowledge graph
store("Project Alpha uses React frontend with TypeScript.")
store("Project Alpha backend is FastAPI with PostgreSQL.")
store("FastAPI connects to PostgreSQL via SQLAlchemy ORM.")

# Recall — graph traversal + QAOA finds the optimal combination
result = recall("What is Project Alpha's full tech stack?", K=4)
for memory in result["memories"]:
    print(f"  {memory['text']}")

Model Selection

Read references/models.md for full comparison table.

  • Default (all-MiniLM-L6-v2): 90MB, no GPU, 93.4% R@5. Use for laptops/CI.
  • High accuracy (thenlper/gte-large): 1.3GB, GPU recommended, 96.6% R@5.
from quantum_memory_graph import MemoryGraph
mg = MemoryGraph(model="thenlper/gte-large")

Short-Term Memory (v0.4.0+)

Recency boost is ON by default. Recent memories score higher automatically.

from quantum_memory_graph import store, recall, get_stm

store("User prefers dark mode")  # Gets recency boost

# Track conversation context
stm = get_stm()
stm.conversation.add_turn("What are preferences?", memory_ids=["m1"])

Three layers:

  • Recency: +0.3 last hour, +0.15 last day, +0.05 last week
  • Working memory: Last 20 memories always available
  • Conversation context: Current topic gets priority

Deploy as Microservice

pip install quantum-memory-graph[api]
python -m quantum_memory_graph.api --port 8502

Endpoints: POST /store, POST /recall, POST /store-batch, GET /stats

Multiple agents share one API server. See references/deployment.md for migration guide.

Migrate from Mem0

from quantum_memory_graph import store
for memory in existing_memories:
    store(memory["text"], metadata=memory.get("metadata"))
# Graph connections built automatically

IBM Quantum Hardware

pip install quantum-memory-graph[ibm]
export IBM_QUANTUM_TOKEN=your_token

Runs QAOA on real quantum hardware (validated on ibm_fez, ibm_kingston).

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

87.79%
按下载量换算904

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills