返回顶部
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,709
下载量
3
收藏
概述
安装方式
版本历史

smart-memory

# Smart Memory v3.1 Skill Smart Memory v3.1 is a local transcript-first cognitive memory runtime with revision-aware derivation, pinned context lanes, entity-aware retrieval, and bounded prompt composition. Core runtime: - Node adapter: `smart-memory/index.js` - Local API: `server.py` - System facade: `cognitive_memory_system.py` - Canonical store: `storage/sqlite_memory_store.py` plus `transcripts/` ## Core Capabilities - transcript-first ingest and per-message transcript logging - typed long-term memory including `preference`, `identity`, and `task_state` - evidence-backed revision lifecycle decisions and supersession chains - explicit core and working memory lanes - entity-aware retrieval with lightweight relationship hints - deterministic rebuild from transcript history - hot-memory compatibility projection for working context - strict token-bounded prompt composition with trace metadata - inspection endpoints for transcripts, evidence, history, lanes, and eval runs ## OpenClaw Integration Use the native wrapper package in `skills/smart-memory-openclaw/`. Primary exports: - `createSmartMemorySkill(options)` - `createOpenClawHooks({ skill, agentIdentity, summarizeWithLLM })` The wrapper remains stable while the backend is now transcript-first under the hood. ### Tool Interface 1. `memory_search` - purpose: query relevant memory through `/retrieve` - supports `query`, `type`, `limit`, `min_relevance`, and optional `conversation_history` - health-checks the backend before execution 2. `memory_commit` - purpose: persist important facts, decisions, beliefs, goals, or session summaries - health-checks the backend before execution - serializes commits to protect local embedding throughput - queues failed commits in `.memory_retry_queue.json` 3. `memory_insights` - purpose: surface pending background insights - health-checks the backend before execution - calls `/insights/pending` ## API Endpoints Core endpoints: - `GET /health` - `POST /ingest` - `POST /retrieve` - `POST /compose` - `POST /run_background` - `GET /memories` - `GET /memory/{memory_id}` - `GET /insights/pending` Transcript and inspection endpoints: - `POST /transcripts/message` - `GET /transcripts/{session_id}` - `GET /transcript/message/{message_id}` - `GET /memory/{memory_id}/evidence` - `POST /revise` - `GET /memory/{memory_id}/history` - `GET /memory/{memory_id}/active` - `GET /memory/{memory_id}/chain` - `GET /lanes/{lane_name}` - `POST /lanes/{lane_name}/{memory_id}` - `DELETE /lanes/{lane_name}/{memory_id}` - `POST /rebuild` - `POST /rebuild/{session_id}` - `GET /eval/suite/{suite_name}` - `GET /eval/case/{case_id}` ## Operating guidance - query memory before speaking when continuity matters - do not claim prior context unless retrieval actually supports it - transcripts are canonical, memories are derived - treat SQLite as canonical runtime storage - treat JSON as offline export or backup only - keep CPU-only PyTorch policy intact ## Deprecated Legacy vector-memory CLI artifacts remain deprecated and should not be revived.

标签

skill ai

通过对话安装

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

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

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

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

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

通过命令行安装

skillhub install smart-memory-1776285238

下载 Zip 包

⬇ 下载 smart-memory v3.1.0

文件大小: 148.02 KB | 发布时间: 2026-4-16 17:50

v3.1.0 最新 2026-4-16 17:50
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
返回顶部