Memory Plus v0.2.0 — SVM + Zettelkasten 双向同步
Memory Plus v0.2.0 — SVM + Zettelkasten 双向同步
English · 简体中文
pip install memory-plus
结构化视觉记忆(SVM)—— 为 LLM Agent 框架设计的记忆管理组件,集成 Zettelkasten 知识笔记双向同步。
✨ 新增功能
| 功能 | 描述 |
|---|---|
| 🔄 双向同步引擎 | SVM → ZK(冷数据备份)+ ZK → SVM(热加载重要/近期/常青笔记) |
| 🛡️ 淘汰同步保护 | 内存块被 LRU 淘汰前自动同步到 ZK,防止数据丢失 |
| ⚖️ 准入控制 | 可配置 admission_min_weight 和 admission_pressure_ratio |
📥 svm import |
将旧版 OpenClaw 的 main.sqlite chunks 迁移为 SVM 内存块,幂等安全 |
🔍 svm search |
同时搜索 SVM 内存和 ZK 笔记(FTS5 全文检索) |
🏷️ svm mark-important |
标记 ZK 笔记为重要(svm:hot 标签) |
| 🔌 MCP Server | 内置 svm/mcp_server.py,stdio 接入 Hermes / OpenClaw |
🤖 svm-deploy Skill |
一句命令完成宿主 + Docker 多容器部署 |
🔧 改进
- 项目更名:pip 包名
memory_plus,模块仍为import svm - 依赖
pyyaml+pyahocorasick升级为核心依赖 - 内存块模型扩展
zk_note_id/synced_at字段 - 持久化存储自动迁移 schema
- 80 个单元测试全部通过
🐳 Docker 支持
| 容器 | 版本 |
|---|---|
hermes-latest |
nousresearch/hermes-agent v0.17.0 |
openclaw-latest |
OpenClaw 2026.6.10 |
openclaw-2026-4-24 |
OpenClaw 2026.4.24 |
openclaw-2026-4-23 |
OpenClaw 2026.4.23 |
🇺🇸 English Version
Memory Plus v0.2.0 — SVM + Zettelkasten Bidirectional Sync
pip install memory-plus
Structured Visual Memory (SVM) — a memory management component for LLM Agent frameworks with Zettelkasten note synchronization.
✨ What's New
| Feature | Description |
|---|---|
| 🔄 Bidirectional Sync | SVM→ZK (cold backup) + ZK→SVM (hot-load important/recent/evergreen notes) |
| 🛡️ Evict-Sync Protection | Auto-sync to ZK before LRU eviction |
| ⚖️ Admission Control | Configurable admission_min_weight and admission_pressure_ratio |
📥 svm import |
Idempotent migration of old OpenClaw main.sqlite chunks |
🔍 svm search |
Simultaneous SVM + ZK FTS5 full-text search |
🏷️ svm mark-important |
Mark ZK notes as important (svm:hot tag) |
| 🔌 MCP Server | Built-in svm/mcp_server.py for stdio agent integration |
🤖 svm-deploy Skill |
One-command host + Docker multi-container deployment |
🔧 Improvements
- Package renamed to
memory_plus(pip); module remainsimport svm pyyaml+pyahocorasickpromoted to core dependencies- MemoryBlock extended with
zk_note_id/synced_at - Auto schema migration for persistent store
- 80 unit tests passing
🐳 Docker Support
| Container | Version |
|---|---|
hermes-latest |
nousresearch/hermes-agent v0.17.0 |
openclaw-latest |
OpenClaw 2026.6.10 |
openclaw-2026-4-24 |
OpenClaw 2026.4.24 |
openclaw-2026-4-23 |
OpenClaw 2026.4.23 |
