SuperAPI AI 工具集

agent-coordination

智能体与模型

查看项目

更新于 10-16 10:25

技能介绍

用途

Agent Coordination 技能用于为复杂的多智能体任务生成并协调智能体(Agent)。

主要能力

智能体类型

核心开发:coder、reviewer、tester、planner、researcher。

V3 专用:security-architect、security-auditor、memory-specialist、performance-engineer。

群体协调:hierarchical-coordinator、mesh-coordinator、adaptive-coordinator、collective-intelligence-coordinator。

共识:byzantine-coordinator、raft-manager、gossip-coordinator、consensus-builder。

GitHub:pr-manager、code-review-swarm、issue-tracker、release-manager。

SPARC:sparc-coord、sparc-coder、specification、pseudocode、architecture、refinement。

命令

生成智能体:

npx claude-flow agent spawn --type coder --name my-coder

列出智能体:

npx claude-flow agent list --filter active

查看智能体状态:

npx claude-flow agent status --id agent-123

查看智能体指标:

npx claude-flow agent metrics --id agent-123

停止智能体:

npx claude-flow agent stop --id agent-123

池管理:

npx claude-flow agent pool --size 5 --type coder

路由代码

代码 任务 智能体
1 Bug Fix coordinator、researcher、coder、tester
3 Feature coordinator、architect、coder、tester、reviewer
5 Refactor coordinator、architect、coder、reviewer
7 Performance coordinator、perf-engineer、coder
9 Security coordinator、security-architect、auditor

使用方式

通过 npx claude-flow agent 系列命令生成、查看、管理智能体,并按路由代码为不同任务分配合适的智能体组合。

最佳实践

  • 使用分层拓扑(hierarchical topology)进行协调。
  • 为保持紧密协调,智能体数量保持在 8 个以下。
  • 为特定任务使用专门的智能体。
  • 通过 memory 进行协调,而非直接通信。

适用场景

需要生成并协调多个智能体来完成的复杂任务,例如 Bug 修复、功能开发、重构、性能优化与安全审计等工作流。

限制

资料的官方文档暂未提供关于收费、价格、平台支持范围或运行环境限制的明确信息。