返回顶部
s

smart-memory智能记忆

Persistent local transcript-first memory for OpenClaw via a Node adapter and FastAPI engine.

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

smart-memory

智能记忆 v3.1 技能

智能记忆 v3.1 是一个本地转录优先的认知记忆运行时,具备版本感知推导、固定上下文通道、实体感知检索和边界提示组合功能。

核心运行时:

  • - 节点适配器:smart-memory/index.js
  • 本地 API:server.py
  • 系统外观:cognitivememorysystem.py
  • 规范存储:storage/sqlitememorystore.py 加 transcripts/

核心能力

  • - 转录优先摄取和每条消息的转录日志记录
  • 类型化长期记忆,包括 preference、identity 和 task_state
  • 基于证据的修订生命周期决策和替代链
  • 显式的核心和工作记忆通道
  • 带有轻量级关系提示的实体感知检索
  • 基于转录历史的可确定性重建
  • 工作上下文的热记忆兼容性投影
  • 带有跟踪元数据的严格令牌边界提示组合
  • 转录、证据、历史、通道和评估运行的检查端点

OpenClaw 集成

使用 skills/smart-memory-openclaw/ 中的原生包装包。

主要导出:

  • - createSmartMemorySkill(options)
  • createOpenClawHooks({ skill, agentIdentity, summarizeWithLLM })

包装器保持稳定,而后端现在底层采用转录优先架构。

工具接口

  1. 1. memory_search
  • - 目的:通过 /retrieve 查询相关记忆
  • 支持 query、type、limit、minrelevance 和可选的 conversationhistory
  • 执行前对后端进行健康检查
  1. 2. memory_commit
  • - 目的:持久化重要事实、决策、信念、目标或会话摘要
  • 执行前对后端进行健康检查
  • 序列化提交以保护本地嵌入吞吐量
  • 将失败的提交排队到 .memoryretryqueue.json
  1. 3. memory_insights
  • - 目的:展示待处理的背景洞察
  • 执行前对后端进行健康检查
  • 调用 /insights/pending

API 端点

核心端点:

  • - GET /health
  • POST /ingest
  • POST /retrieve
  • POST /compose
  • POST /runbackground
  • GET /memories
  • GET /memory/{memoryid}
  • GET /insights/pending

转录和检查端点:

  • - POST /transcripts/message
  • GET /transcripts/{sessionid}
  • GET /transcript/message/{messageid}
  • GET /memory/{memoryid}/evidence
  • POST /revise
  • GET /memory/{memoryid}/history
  • GET /memory/{memoryid}/active
  • GET /memory/{memoryid}/chain
  • GET /lanes/{lanename}
  • POST /lanes/{lanename}/{memoryid}
  • DELETE /lanes/{lanename}/{memoryid}
  • POST /rebuild
  • POST /rebuild/{sessionid}
  • GET /eval/suite/{suitename}
  • GET /eval/case/{caseid}

操作指南

  • - 在需要连续性的对话前查询记忆
  • 除非检索实际支持,否则不要声称拥有先前的上下文
  • 转录是规范的,记忆是推导的
  • 将 SQLite 视为规范的运行时存储
  • 仅将 JSON 视为离线导出或备份
  • 保持纯 CPU PyTorch 策略不变

已弃用

遗留的向量记忆 CLI 工件仍处于弃用状态,不应恢复。

标签

skill ai

通过对话安装

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

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 smart-memory-1776115706 技能

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

设置 SkillHub 为我的优先技能安装源,然后帮我安装 smart-memory-1776115706 技能

通过命令行安装

skillhub install smart-memory-1776115706

下载

⬇ 下载 smart-memory v3.1.0(免费)

文件大小: 148.02 KB | 发布时间: 2026-4-14 13:34

v3.1.0 最新 2026-4-14 13:34
Smart Memory v3.1 introduces transcript-first architecture, revision-aware memory, and expanded inspection.

- Replaces legacy vector-memory structure with transcript-first ingest and deterministic rebuild
- Adds evidence-backed revision lifecycle, memory supersession, and core/working memory lanes
- Expands entity/relationship indexing and inspection endpoints for transcripts, evidence, and evaluation
- Updates OpenClaw wrapper to support new backend transparently; API surface remains stable
- Removes old `smart-memory-v25` implementation and supporting files

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

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

p2p_official_large
返回顶部