编程

Agent Coordinator

试用

Multi-agent coordination protocol — task distribution, result aggregation, and parallel execution across multiple AI agents. Distilled from Claude Code Team...

它能做什么

Multi-agent coordination protocol — task distribution, result aggregation, and parallel execution across multiple AI agents. Distilled from Claude Code Team mode.

技能文档

Agent Coordinator

Distilled from Claude Code Team mode (TeamCreate/SendMessage protocol). Coordinates multiple AI agents to work on tasks in parallel, then aggregates results.

When to use

  • Parallel data collection (scrape multiple sources)
  • Parallel analysis (analyze multiple stocks/documents)
  • Task decomposition (break complex task into subtasks)
  • Review pipeline (one agent writes, another reviews)
  • Ensemble decision (multiple agents vote on a decision)

How it works

  1. Task Decomposition — Break a complex task into parallel subtasks
  2. Agent Dispatch — Assign each subtask to an agent worker
  3. Parallel Execution — Run agents concurrently
  4. Result Aggregation — Collect and merge results
  5. Conflict Resolution — Handle conflicting outputs

Usage

`ash

Decompose and run a complex task

python3 {baseDir}/coordinator.py --task "Analyze top 5 tech stocks" --workers 3

Run with custom subtasks

python3 {baseDir}/coordinator.py --subtasks subtasks.json

Review pipeline (one writes, another reviews)

python3 {baseDir}/coordinator.py --pipeline review --input report.md

Ensemble decision

python3 {baseDir}/coordinator.py --ensemble "Should we buy?" --voters 3

Export results

python3 {baseDir}/coordinator.py --task "Research AI trends" --export results.json `

Task format

json [ {"id": "subtask-1", "description": "Analyze AAPL financials", "agent": "analyst"}, {"id": "subtask-2", "description": "Analyze GOOGL financials", "agent": "analyst"}, {"id": "subtask-3", "description": "Compare results", "agent": "reviewer"} ]

Built-in coordination patterns

PatternDescription
fan-outSame task to multiple agents, aggregate results
pipelineAgent1 -> Agent2 -> Agent3 (sequential)
ensembleMultiple agents vote, majority wins
decomposeBreak task into subtasks, run in parallel
reviewOne agent produces, another reviews

Algorithm reference

Based on Claude Code Team mode:

  • Task queue with priority
  • Agent worker pool with concurrency limit
  • Result aggregation with conflict resolution
  • Timeout per subtask
  • Progress tracking

相关技能

把原始多 Agent 框架升级为 Claude Code 风格的工程化系统:记忆检索、角色协同、强证据验收、命令前置安全审计。

157 次安装1 星标

Coordinate multi-agent swarms for parallel and pipeline workflows. Use when coordinating multiple agents, running parallel reviews, building pipeline workflows, or implementing divide-and-conquer patterns with subagents.

27 次安装

Coordinate deep, source-verifiable research projects in OpenClaw using AgentSkills-compatible folders, local artifact tracking, and explicit evidence ledgers...

17 次安装

Multi-Agent Communication Protocol — 通用多智能体通信框架。用于在 OpenClaw 中编排多个 Agent 之间的结构化通信、任务委派和协同工作。适用场景:(1) 在主 Agent 与子 Agent 之间传递消息 (2) 多个独立 Agent(如 QClaw、学术助手、学生工...

1 次安装

Agent协作模式,提供多Agent任务委派、并行执行、结果汇总的完整方法论。触发词:Agent协作、多Agent、任务委派、并行执行、团队协作、meta-skill-system

1 次安装

A comprehensive governance system for managing agent roles, responsibilities, handoff policies, and conflict resolution in multi-agent environments