agent-organizer

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Agent Organizer

Agent 编排器

Purpose

用途

Provides expertise in multi-agent system architecture, coordination patterns, and autonomous workflow design. Handles agent decomposition, communication protocols, and collaboration strategies for complex AI systems.
提供多智能体系统架构、协调模式和自主工作流设计方面的专业能力。处理复杂AI系统中的智能体拆分、通信协议和协作策略问题。

When to Use

适用场景

  • Designing multi-agent architectures or agent teams
  • Implementing agent-to-agent communication protocols
  • Building hierarchical or swarm-based agent systems
  • Orchestrating autonomous workflows across agents
  • Debugging agent coordination failures
  • Scaling agent systems for production
  • Designing agent memory sharing strategies
  • 设计多智能体架构或智能体团队
  • 实现智能体间通信协议
  • 构建层级式或群体式智能体系统
  • 跨智能体编排自主工作流
  • 调试智能体协调故障
  • 为生产环境扩展智能体系统
  • 设计智能体内存共享策略

Quick Start

快速入门

Invoke this skill when:
  • Designing multi-agent architectures or agent teams
  • Implementing agent-to-agent communication protocols
  • Building hierarchical or swarm-based agent systems
  • Orchestrating autonomous workflows across agents
  • Scaling agent systems for production
Do NOT invoke when:
  • Building single-agent LLM applications (use ai-engineer)
  • Optimizing prompts for individual agents (use prompt-engineer)
  • Managing agent context windows (use context-manager)
  • Handling agent failures and recovery (use error-coordinator)
在以下场景调用此技能:
  • 设计多智能体架构或智能体团队
  • 实现智能体间通信协议
  • 构建层级式或群体式智能体系统
  • 跨智能体编排自主工作流
  • 为生产环境扩展智能体系统
请勿在以下场景调用:
  • 构建单智能体LLM应用(请使用ai-engineer)
  • 优化单个智能体的提示词(请使用prompt-engineer)
  • 管理智能体上下文窗口(请使用context-manager)
  • 处理智能体故障与恢复(请使用error-coordinator)

Decision Framework

决策框架

Agent System Design:
├── Single task, no coordination → Single agent
├── Parallel independent tasks → Worker pool pattern
├── Sequential dependent tasks → Pipeline pattern
├── Complex interdependent tasks
│   ├── Clear hierarchy → Hierarchical orchestration
│   ├── Peer collaboration → Swarm/consensus pattern
│   └── Dynamic roles → Adaptive agent mesh
└── Human-in-the-loop → Supervisor pattern
Agent System Design:
├── Single task, no coordination → Single agent
├── Parallel independent tasks → Worker pool pattern
├── Sequential dependent tasks → Pipeline pattern
├── Complex interdependent tasks
│   ├── Clear hierarchy → Hierarchical orchestration
│   ├── Peer collaboration → Swarm/consensus pattern
│   └── Dynamic roles → Adaptive agent mesh
└── Human-in-the-loop → Supervisor pattern

Core Workflows

核心工作流

1. Agent Team Design

1. 智能体团队设计

  1. Decompose problem into agent responsibilities
  2. Define agent capabilities and interfaces
  3. Design communication topology (hub, mesh, hierarchy)
  4. Implement coordination protocol
  5. Add monitoring and observability
  6. Test failure scenarios
  1. 将问题拆解为各智能体的职责
  2. 定义智能体的能力与接口
  3. 设计通信拓扑结构(中心式、网状、层级式)
  4. 实现协调协议
  5. 添加监控与可观测性
  6. 测试故障场景

2. Agent Communication Setup

2. 智能体通信设置

  1. Choose message format (structured, natural language, hybrid)
  2. Define message routing strategy
  3. Implement handoff protocols
  4. Add retry and timeout handling
  5. Log all inter-agent messages
  1. 选择消息格式(结构化、自然语言、混合式)
  2. 定义消息路由策略
  3. 实现交接协议
  4. 添加重试与超时处理
  5. 记录所有智能体间的消息

3. Scaling Agent Systems

3. 智能体系统扩展

  1. Profile bottlenecks in current architecture
  2. Identify parallelization opportunities
  3. Implement load balancing across agents
  4. Add agent pooling for burst capacity
  5. Monitor resource utilization per agent
  1. 分析当前架构的瓶颈
  2. 识别并行化机会
  3. 在智能体间实现负载均衡
  4. 添加智能体池以应对突发流量
  5. 监控每个智能体的资源使用情况

Best Practices

最佳实践

  • Keep agent responsibilities single-purpose and well-defined
  • Use explicit handoff protocols between agents
  • Implement circuit breakers for failing agents
  • Log all inter-agent communication for debugging
  • Design for graceful degradation when agents fail
  • Version agent interfaces for backward compatibility
  • 确保每个智能体的职责单一且定义明确
  • 在智能体间使用明确的交接协议
  • 为故障智能体实现断路器机制
  • 记录所有智能体间的通信以便调试
  • 设计智能体故障时的优雅降级方案
  • 为智能体接口添加版本控制以保证向后兼容性

Anti-Patterns

反模式

Anti-PatternProblemCorrect Approach
God agentSingle agent doing everythingDecompose into specialized agents
Chatty agentsExcessive inter-agent messagesBatch communications, async where possible
Tight couplingAgents depend on internal stateUse contracts and interfaces
No supervisionAgents run without oversightAdd supervisor or human-in-loop
Shared mutable stateRace conditions and conflictsUse message passing or event sourcing
反模式问题正确做法
上帝智能体单个智能体处理所有事务拆分为多个专业智能体
话痨智能体智能体间消息过多批量通信,尽可能使用异步方式
紧耦合智能体依赖内部状态使用契约与接口
无监督智能体无监督运行添加监督者或人机协同模式
共享可变状态出现竞态条件与冲突使用消息传递或事件溯源