Skip to content

Commit bf691b4

Browse files
committed
feat: add multi-agent team memory support (v2.0)
- Add agent ID schema with actor attribution and scope filtering - Implement ScopedMemoryManager for dual-layer memory (team + agent) - Add team configuration file _omp/config.yaml - Implement handoff workflow for agent-to-agent task transfer - Update templates with multi-agent support documentation - Extend xmemory-types with MemoryScope, AgentDefinition, HandoffRecord - Update README with v2.0 features New types: - MemoryScope: 'team' | 'agent' - AgentDefinition: id, role, channels, description - AgentRole: coordinator, architect, developer, etc. - TeamConfig: team name, runId, agents array - ActorAttribution: actorId, actorType, timestamp - HandoffRecord: fromAgent, toAgent, context, progress Architecture: - Team shared memory: _omp/memory/ - Agent private memory: _omp/agents/{agent_id}/memory/ - Handoff records: _omp/memory/handoffs/
1 parent 2fb94d0 commit bf691b4

11 files changed

Lines changed: 743 additions & 12 deletions

File tree

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -868,17 +868,23 @@ npx openmemory-plus install
868868
### 💡 Later (未来考虑)
869869

870870
- [ ] Web UI 管理界面
871-
- [ ] 团队记忆共享 (可选)
872871
- [ ] 云端同步选项
873872
- [ ] 记忆分析和洞察
874873

875874
👉 **[查看完整 Roadmap Issues](https://github.com/Alenryuichi/openmemory-plus/issues?q=is%3Aissue+is%3Aopen+label%3A%22roadmap%3A+now%22%2C%22roadmap%3A+next%22%2C%22roadmap%3A+later%22)**
876875

877-
### ✅ Done (v1.6)
876+
### ✅ Done (v2.0)
878877

879878
<details>
880879
<summary>已完成功能</summary>
881880

881+
**v2.0 - Multi-Agent Team Support**
882+
- [x] 🤝 多 Agent 团队记忆架构 (Team Shared + Agent Private)
883+
- [x] 🎭 Agent ID Schema (actor attribution, scope filtering)
884+
- [x] 📋 团队配置文件 (`_omp/config.yaml`)
885+
- [x] 🔄 Handoff 工作流 (Agent 间任务交接协议)
886+
- [x] 📁 Scoped Memory API (双层作用域记忆)
887+
882888
**v1.6 - xMemory 四层架构**
883889
- [x] 🧠 xMemory 四层架构 (L3 Theme → L2 Semantic → L1 Episode → L0 Message)
884890
- [x] 🎯 L3 主题层自动聚类 (吸附/分裂/合并算法)

README_EN.md

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,21 @@ The wizard will:
695695

696696
## 🗺️ Roadmap
697697

698-
### v1.5 (Current)
698+
### v2.0 (Current) - Multi-Agent Team Support
699+
- [x] 🤝 Multi-Agent team memory architecture (Team Shared + Agent Private)
700+
- [x] 🎭 Agent ID Schema (actor attribution, scope filtering)
701+
- [x] 📋 Team configuration file (`_omp/config.yaml`)
702+
- [x] 🔄 Handoff workflow (agent-to-agent task transfer protocol)
703+
- [x] 📁 Scoped Memory API (dual-layer scoped memory)
704+
705+
### v1.6 - xMemory 4-Layer Architecture
706+
- [x] 🧠 xMemory 4-layer architecture (L3 Theme → L2 Semantic → L1 Episode → L0 Message)
707+
- [x] 🎯 L3 theme layer auto-clustering (attach/split/merge algorithms)
708+
- [x] 🔍 Top-down adaptive retrieval (`--level theme`)
709+
- [x] ⚡ Theme search CLI options (`--no-expand`)
710+
- [x] 📊 Connected component clustering (xMemory paper implementation)
711+
712+
### v1.5 - Foundation
699713
- [x] Dual-layer memory architecture
700714
- [x] Smart classification routing
701715
- [x] Multi-IDE support (Augment, Claude, Cursor, Gemini)
@@ -706,18 +720,11 @@ The wizard will:
706720
- [x] Progressive config (append to existing files)
707721
- [x] MCP auto-configuration and verification
708722

709-
### v2.0 (Planned)
710-
- [ ] Web UI management interface
711-
- [ ] Team memory sharing
712-
- [ ] Memory import/export
713-
- [ ] Custom classification rules
714-
- [ ] More IDE support (Windsurf, Cline)
715-
716723
### v3.0 (Future)
724+
- [ ] Web UI management interface
717725
- [ ] Cloud sync option
718726
- [ ] Memory analytics and insights
719727
- [ ] AI-driven memory organization
720-
- [ ] Enterprise features
721728

722729
---
723730

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
stepsCompleted: []
3+
inputDocuments: []
4+
workflowType: 'research'
5+
lastStep: 1
6+
research_type: 'technical'
7+
research_topic: 'multi-agent-team-memory-system'
8+
research_goals: '为多 Agent 团队(如 openclaw)找到最佳记忆系统方案,支持团队共享记忆、私有记忆、上下文传递'
9+
user_name: 'Ryuichialen'
10+
date: '2026-03-01'
11+
web_research_enabled: true
12+
source_verification: true
13+
---
14+
15+
# Research Report: Technical Research
16+
17+
**Date:** 2026-03-01
18+
**Author:** Ryuichialen
19+
**Research Type:** Technical - Multi-Agent Team Memory System
20+
21+
---
22+
23+
## Research Overview
24+
25+
本研究旨在为多 Agent 团队协作场景找到最佳的记忆系统方案。
26+
27+
**研究背景:**
28+
- 用户有一个 openclaw agent 团队(main, tech-lead, dev-bot, algo-bot, devops-bot)
29+
- 需要支持团队共享记忆 + 私有记忆 + Agent 间上下文传递
30+
- 现有 OpenMemory Plus (xMemory 4层架构) 需要增强以支持多 Agent 场景
31+
32+
**研究方法:**
33+
- 深度网络搜索现有方案
34+
- 多源验证关键技术主张
35+
- 架构模式分析
36+
- 与 OpenMemory Plus 整合可行性评估
37+
38+
---
39+
40+
<!-- Content will be appended sequentially through research workflow steps -->
41+

cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "openmemory-plus",
3-
"version": "1.5.0",
3+
"version": "2.0.0",
44
"description": "Agent Memory Management CLI - Install, configure, and manage OpenMemory Plus",
55
"type": "module",
66
"bin": {

cli/src/lib/memory/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
* OpenMemory Plus - Memory Module
33
* Phase 2: Enhanced Memory Capabilities
44
* Phase 3: xMemory Hierarchical Integration
5+
* Phase 4: Multi-Agent Team Support
56
*/
67

78
export * from './types.js';
@@ -14,3 +15,6 @@ export * from './filesystem.js';
1415
export * from './theme-manager.js';
1516
export * from './hierarchy-graph.js';
1617
export * from './adaptive-search.js';
18+
19+
// Multi-Agent Team Support (Phase 4)
20+
export * from './scoped-memory.js';

0 commit comments

Comments
 (0)