多代理人研究
AI ↔ AI協調者派遣 3 個並行探索代理人,再彙整研究結果。
5 個節點 · 6 條連接ai
agentmcp
視覺化
研究協調者agent
派遣並行代理人分別探索程式碼、文件與測試。
↓spawn→ 程式碼分析代理人
↓spawn→ 文件代理人
↓spawn→ 測試覆蓋率代理人
程式碼分析代理人agent
搜尋並分析原始碼結構與模式。
↓parallel→ 彙整研究結果
文件代理人agent
掃描 README、docstring 與 Wiki 頁面以獲取相關脈絡。
↓parallel→ 彙整研究結果
測試覆蓋率代理人agent
分析測試檔案、覆蓋率報告與未測試的程式路徑。
↓parallel→ 彙整研究結果
彙整研究結果agent
將所有代理人的結果合併為一份完整的研究報告。
uc-multi-agent.osop.yaml
osop_version: "1.0"
id: "research-orchestration"
name:"多代理人研究"
description:"協調者派遣 3 個並行探索代理人,再彙整研究結果。"
nodes:
- id: "coordinator"
type: "agent"
subtype: "coordinator"
name: "研究協調者"
description: "派遣並行代理人分別探索程式碼、文件與測試。"
spawn_policy:
max_children: 3
- id: "agent_code"
type: "agent"
subtype: "explore"
name: "程式碼分析代理人"
description: "搜尋並分析原始碼結構與模式。"
parent: "coordinator"
- id: "agent_docs"
type: "agent"
subtype: "explore"
name: "文件代理人"
description: "掃描 README、docstring 與 Wiki 頁面以獲取相關脈絡。"
parent: "coordinator"
- id: "agent_tests"
type: "agent"
subtype: "explore"
name: "測試覆蓋率代理人"
description: "分析測試檔案、覆蓋率報告與未測試的程式路徑。"
parent: "coordinator"
- id: "synthesize"
type: "agent"
subtype: "llm"
name: "彙整研究結果"
description: "將所有代理人的結果合併為一份完整的研究報告。"
edges:
- from: "coordinator"
to: "agent_code"
mode: "spawn"
- from: "coordinator"
to: "agent_docs"
mode: "spawn"
- from: "coordinator"
to: "agent_tests"
mode: "spawn"
- from: "agent_code"
to: "synthesize"
mode: "parallel"
- from: "agent_docs"
to: "synthesize"
mode: "parallel"
- from: "agent_tests"
to: "synthesize"
mode: "parallel"