Skip to content

JiuwenMemory v0.1.0

Choose a tag to compare

@Ruofei-personal Ruofei-personal released this 01 Jul 12:13

🎉 JiuwenMemory v0.1.0 Release Note

发布日期:2026 年 7月 1 日

JiuwenMemory 正式开源!作为一款将 AI 记忆从被动信息存储重构为可治理、可跨平台共享、可自我演化核心数据资产的记忆引擎,它致力于让 Agent 真正具备"记住用户、理解用户、服务用户"的能力。

"模型能力决定 Agent 的'智力下限',记忆系统决定 Agent 的'体验上限'。"

本次 v0.1.0 发布作为项目的首个开源版本(Beta 状态),带来了分层记忆体系、Auto Dreaming 睡时巩固、记忆涡轮加速、知识图谱记忆、双维度解耦适配层以及丰富的存储后端体系等核心能力,构建完整的记忆提取、存储、检索和管理闭环。

🌟 JiuwenMemory v0.1.0 版本更新详情

发布日期:2026 年 6 月 30 日

发行说明:JiuwenMemory v0.1.0


🚀 全新特性

🧠 记忆构建和演化

  • 分层记忆体系 (L0–L3):四层渐进架构(L0 原始信息 → L1 摘要记忆 → L3 结构化记忆 → L3 用户画像),各层独立持久存储,信息密度逐级放大,彻底解决长对话记忆丢失与偏好覆盖问题。支持用户画像、语义记忆、情景记忆、变量、摘要多种类型记忆自动提取,灵活配置自定义变量与禁止变量,精准匹配用户需求。
  • Auto Dreaming(睡时记忆巩固):借鉴认知神经科学三阶段睡眠范式(浅睡筛选 → REM 提取归类 → 深睡去重消解),后台守护定时触发、忙碌退避与断点续扫,Token 开销线性可控。
  • MemoryTurbo加速:对话瞬间写入缓存即完成更新,后台异步调度记忆提取;小模型按话题合并对话后一组提取,保证连贯性并大幅摊销大模型调用次数。
  • Graph Memory(知识图谱记忆):支持对话/文档/JSON 多来源写入,LLM 自动抽取实体与关系,支持合并去重、图结构检索与 BFS 扩展,实体/关系/Episode 并行检索加 rerank 精准定位。

🔍 记忆检索和存储

  • 语义检索与冲突检测:跨记忆类型统一向量语义检索,MemUpdateChecker 通过 LLM 分析语义冲突智能决定 ADD/DELETE 策略,LLM 输出 UPDATE/DELETE 指令经语义校验后执行,确保记忆一致与操作可控。
  • 存储后端体系:全栈覆盖 KV(InMemoryKV/ShelveStore/DbBasedKV/Redis)、向量(ChromaDB/Milvus/Elasticsearch/GaussVector)、关系型(SQLite/PostgreSQL/MySQL/GaussDB)、消息(SqlMessageStore)、图(Milvus GraphStore)五大存储类别,适配本地单机到云端集群全场景。
  • 数据迁移框架:支持 KV/向量/SQL/消息/索引的版本化 schema 迁移与跨 BaseMemoryIndex 实例批量数据迁移,操作注册表支持自定义迁移扩展。

🔌 生态接入与扩展

  • REST API 服务与 OpenClaw 插件:FastAPI 完整 REST API + bearer-token 认证快速接入任意后端;OpenClaw JavaScript 生命周期插件自动记忆存储与召回,零配置即用。

🔒 安全

  • 安全与并发控制:AES-256-GCM 透明加密记忆数据与 API Key 保障隐私;基于 KV 存储的分布式锁确保多实例并发一致;按 scope_id 独立配置 LLM/嵌入模型/提取规则并加密存储,实现多租户安全隔离。

📊 性能表现

在 LoCoMo 评测集上,JiuwenMemory 以插件形式接入 OpenClaw:

  • 准确率提升 15%
  • 记忆问答与添加环节 Token 消耗降低 60%+

🗺️ 演进原则

JiuwenMemory 路线图遵循以下原则持续演进:

  1. 先解耦后扩展 — 在适配层完成 Agent 平台与记忆引擎的彻底解耦后,沿 Plugin 和 Provider 两个维度独立扩展
  2. 先治理后生长 — 冲突检测、遗忘机制、版本溯源等治理能力优先于多模态等生长能力
  3. 先个体后群体 — 单 Agent 记忆成熟后再演进至多 Agent 群体记忆共享
  4. 先本地后边云 — 本地存储体系稳定后逐步扩展至边云协同架构

最后感谢所有参与内测和提供反馈的开发者!JiuwenMemory 的开源标志着我们向"让 Agent 真正具备记忆能力"迈出了坚实的一步。欢迎大家在 GitCode 上提交 Issue 或 PR。

相关资源


🎉 JiuwenMemory v0.1.0 Official Open Source Release!

JiuwenMemory is now officially open source! As a memory engine that restructures AI memory from passive information storage into governable, cross-platform shared, and self-evolving core data assets, it empowers Agents with the ability to truly "remember, understand, and serve users."

"Model capabilities determine the 'lower bound of intelligence' for Agents; memory systems determine the 'upper bound of experience.'"

This v0.1.0 release marks the first open-source version (Beta status), introducing core capabilities such as a layered memory system, Auto Dreaming sleep-time consolidation, the MemorTurbo, Graph Memory, a dual-dimension decoupled adapter layer, and a comprehensive storage backend system — establishing a complete closed loop for memory extraction, storage, retrieval, and management.

🌟 JiuwenMemory v0.1.0 Release Details

Release Date: June 30, 2026

Release Notes: JiuwenMemory v0.1.0


🚀 Key Features

🧠 Memory Construction and Evolution

  • Layered Memory System (L0–L3): Four-tier progressive architecture (L0 Raw Information → L1 Summary Memory → L2 Structured Memory → L3 User Profile) with independent persistent storage per layer, progressively increasing information density and resolving long-dialogue memory loss and preference overwrite issues. Supports automatic extraction of multi memory types — UserProfile, SemanticMemory, EpisodicMemory, Variable, and Summary — with flexible custom variable definitions and prohibited variable configurations for precise user need matching.
  • Auto Dreaming (Sleep-Time Memory Consolidation): Three-stage sleep paradigm inspired by cognitive neuroscience (Light Sleep screening → REM extraction & classification → Deep Sleep deduplication & conflict resolution), with background daemon scheduling, busy-retreat deferment, and checkpoint-based incremental scanning for linearly controllable Token costs.
  • MemoryTurbo: Raw conversations write to cache instantly for immediate updates while memory extraction runs asynchronously in the background; small model merges conversations by topic for group extraction, ensuring coherence and significantly amortizing large model call costs.
  • Graph Memory (Knowledge Graph Memory): Supports CONVERSATION/DOCUMENT/JSON multi-source writing, LLM-powered automatic entity and relationship extraction with merge deduplication, graph-structure retrieval, BFS expansion, and parallel Entity/Relationship/Episode retrieval with rerank scoring for precise knowledge localization.

🔍 Memory Retrieval and Storage

  • Semantic Retrieval & Conflict Detection: Unified cross-type vector semantic retrieval; MemUpdateChecker uses LLM to analyze semantic conflicts and intelligently decide ADD/DELETE strategies; LLM outputs UPDATE/DELETE directives validated via semantic checks before execution, ensuring memory consistency and controllable operations.
  • Storage Backend System: Full-stack coverage across five storage categories — KV (InMemoryKV/ShelveStore/DbBasedKV/Redis), Vector (ChromaDB/Milvus/Elasticsearch/GaussVector), Relational (SQLite/PostgreSQL/MySQL/GaussDB), Message (SqlMessageStore), and Graph (Milvus GraphStore) — adapting from local single-node to cloud cluster scenarios.
  • Data Migration Framework: Supports versioned schema migration for KV/vector/SQL/message/index stores and cross-BaseMemoryIndex batch data migration, with an operation registry for custom migration extensions.

🔌 Ecosystem Integration and Extension

  • Adapter Layer — Dual-Dimension Decoupling: Plugin dimension (hook-based memory injection, supporting JiuwenSwarm/OpenClaw/openJiuwen) and Provider dimension (unified MemoryProvider interface with JiuwenMemory/Mem0/openViking/AgentArts) extend independently, enabling N × M free combination.
  • REST API Service & OpenClaw Plugin: FastAPI complete REST API + bearer-token authentication for rapid backend integration; OpenClaw JavaScript lifecycle plugin for automatic memory storage and recall — zero-config, ready to use.
  • Multi-Model LLM Clients: Supports OpenAI, DashScope, DeepSeek, SiliconFlow, OpenRouter, InferenceAffinity, IntelliRouter, and more — flexible selection of the optimal inference engine.

🔒 Security

  • Security & Concurrency Control: AES-256-GCM transparent encryption for memory data and API Keys to safeguard privacy; distributed locking based on KV storage for multi-instance concurrency consistency; independent LLM/embedding/extraction rule configuration per scope_id with encrypted storage for multi-tenant security isolation.

📊 Performance

On the LoCoMo benchmark, JiuwenMemory was integrated with OpenClaw as a plugin:

  • Accuracy improved by 15%
  • Token consumption for memory Q&A and addition reduced by 60%+

🗺️ Evolution Principles

JiuwenMemory's roadmap follows these principles for continuous evolution:

  1. Decouple First, Then Extend — Complete decoupling of Agent platforms and memory engines in the adapter layer, then extend independently along Plugin and Provider dimensions
  2. Govern First, Then Grow — Governance capabilities (conflict detection, forgetting mechanisms, version traceability) precede growth capabilities (multimodal, etc.)
  3. Individual First, Then Group — Mature single-Agent memory before evolving to multi-Agent group memory sharing
  4. Local First, Then Edge-Cloud — Stabilize local storage systems before progressively extending to edge-cloud collaborative architecture

Special thanks to all developers who participated in internal testing and provided feedback! The open-sourcing of JiuwenMemory marks a solid step toward our vision of "empowering Agents with true memory capabilities." We welcome everyone to submit Issues or PRs on GitCode.

Related Resources