返回顶部
a

agent-memory-store智能体记忆库

Shared semantic memory store for AI agents. Store, search, and retrieve memories across agents with TTL decay. SQLite persistence — survives restarts.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.2.0
安全检测
已通过
2,530
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

agent-memory-store

智能体记忆存储

支持TTL衰减的跨智能体语义记忆。基于SQLite存储——数据在重启后依然保留。

启动

bash
python3 scripts/memory_store.py

运行在端口8768,数据库文件:/root/.openclaw/workspace/data/agent_memory.db

快速开始

bash

存储一条记忆


curl -X POST http://localhost:8768/memories \
-H Content-Type: application/json \
-d {owner:my-agent,content:用户偏好SOL支付,ttl_seconds:86400,public:false}

搜索记忆

curl http://localhost:8768/memories?q=支付偏好&agent=my-agent

列出所有记忆(带智能体筛选)

curl http://localhost:8768/memories?agent=my-agent&limit=20

接口端点

方法路径描述
GET/health状态 + 记忆数量
POST
/memories | 存储记忆 {owner, content, tags?, ttl_seconds?, public?} | | GET | /memories?q=查询&agent=X&limit=10 | 语义搜索(Jaccard相似度) | | GET | /memories/:id | 按ID获取 | | POST | /memories/:id/delete | 删除 |

更新日志

v1.1.0

  • - SQLite持久化存储(数据在重启后保留)
  • 线程安全写入
  • 数据库存储路径:/root/.openclaw/workspace/data/agent_memory.db

v1.0.0

  • - 初始版本:内存存储、TTL、跨智能体共享、Jaccard搜索

安装

bash
clawhub install agent-memory-store

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 agent-memory-store-1776419934 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 agent-memory-store-1776419934 技能

通过命令行安装

skillhub install agent-memory-store-1776419934

下载

⬇ 下载 agent-memory-store v1.2.0(免费)

文件大小: 3.93 KB | 发布时间: 2026-4-17 18:22

v1.2.0 最新 2026-4-17 18:22
OpenAI text-embedding-3-small semantic search. Falls back to Jaccard if no API key. DB migration for existing installs.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部