← 返回
未分类 中文

Clawhub Memory Engine

MemGPT-style persistent memory with passive auto-capture — your agent remembers everything automatically. 20 tools + 2 hooks. Five-layer architecture: core i...
MemGPT 风格持久记忆,被动自动捕获——代理自动记住所有内容。20 工具 + 2 钩子。五层架构:核心 ...
ytangguo
未分类 clawhub v5.0.2 1 版本 100000 Key: 无需
★ 0
Stars
📥 332
下载
💾 1
安装
1
版本
#latest

概述

Memory Engine

Your agent remembers everything. Automatically.

What It Does

Two hooks passively capture every conversation. No "let me save that" — memory just happens.

User sends message → hook auto-stores fact + graph triple + embedding
Agent replies      → hook auto-stores reply (deduped)

Plus 20 tools for search, graph traversal, episode recall, reflection, quality management, backup, and dashboard.

Install

openclaw plugins install @icex-labs/openclaw-memory-engine
bash ~/.openclaw/extensions/memory-engine/setup.sh
openclaw gateway restart

Setup handles: interactive core memory, legacy data migration, quality pass, maintenance crons, agent instruction patching. One command.

Architecture

Hooks (passive)    → auto-capture messages into archival
Layer 1: Core      → ~500 tokens identity block
Layer 2: Archival  → unlimited facts, 5-signal hybrid search
Layer 3: Graph     → entity relations, auto-extracted
Layer 4: Episodes  → conversation summaries
Layer 5: Reflection→ behavioral pattern analysis

Search

Five-signal hybrid ranking: keyword (2×) + embedding cosine similarity (5×) + recency + access frequency + importance with forgetting curve.

"Who treats my skin condition?" finds medical records even with zero keyword overlap.

Multi-Agent

Each agent gets isolated memory via ToolFactory pattern. Session key → agent ID → workspace. Zero config.

Self-Healing

  • Missing embeddings → auto-backfill on restart
  • Agent forgets to save → hooks capture passively
  • Duplicates → 60s dedup window + weekly cron
  • Flat importance → quality pass auto-rates

Tools (20) + Hooks (2)

Hooks: message:received (auto-capture user messages), message:sent (auto-capture replies)

Core: core_memory_read, core_memory_replace, core_memory_append

Archival: archival_insert, archival_search, archival_update, archival_delete, archival_stats

Graph: graph_query, graph_add

Episodes: episode_save, episode_recall

Intelligence: memory_reflect, archival_deduplicate, memory_consolidate, memory_quality

Admin: memory_export, memory_import, memory_migrate, memory_dashboard

Links

版本历史

共 1 个版本

  • v5.0.2 当前
    2026-05-07 10:27 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 672 📥 324,708
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,364 📥 319,330
security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,219 📥 267,083