返回顶部
a

agent-orchestrator智能体编排器

|

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.0
安全检测
已通过
11,017
下载量
免费
免费
29
收藏
概述
安装方式
版本历史

agent-orchestrator

Agent Orchestrator

Orchestrate complex tasks by decomposing them into subtasks, spawning autonomous sub-agents, and consolidating their work.

Core Workflow

Phase 1: Task Decomposition

Analyze the macro task and break it into independent, parallelizable subtasks:

CODEBLOCK0

Decomposition Principles:

  • - Each subtask should be completable in isolation
  • Minimize inter-agent dependencies
  • Prefer broader, autonomous tasks over narrow, interdependent ones
  • Include clear success criteria for each subtask

Phase 2: Agent Generation

For each subtask, create a sub-agent workspace:

CODEBLOCK1

This creates:
CODEBLOCK2

Generate SKILL.md dynamically with:

  • - Agent's specific role and objective
  • Tools and capabilities needed
  • Input/output specifications
  • Success criteria
  • Communication protocol

See references/sub-agent-templates.md for pre-built templates.

Phase 3: Agent Dispatch

Initialize each agent by:

  1. 1. Writing task instructions to INLINECODE0
  2. Copying required input files to INLINECODE1
  3. Setting status.json to INLINECODE3
  4. Spawning the agent using the Task tool:

CODEBLOCK3

Phase 4: Monitoring (Checkpoint-based)

For fully autonomous agents, minimal monitoring is needed:

CODEBLOCK4

Periodically check status.json for each agent. Agents update this file upon completion.

Phase 5: Consolidation

Once all agents complete:

  1. 1. Collect outputs from each agent's INLINECODE5
  2. Validate deliverables against success criteria
  3. Merge/integrate outputs as needed
  4. Resolve conflicts if multiple agents touched shared concerns
  5. Generate summary of all work completed

CODEBLOCK5

Phase 6: Dissolution & Summary

After consolidation:

  1. 1. Archive agent workspaces (optional)
  2. Clean up temporary files
  3. Generate final summary:
- What was accomplished per agent - Any issues encountered - Final deliverables location - Time/resource metrics

CODEBLOCK6

File-Based Communication Protocol

See references/communication-protocol.md for detailed specs.

Quick Reference:

  • - inbox/ - Read-only for agent, written by orchestrator
  • INLINECODE7 - Write-only for agent, read by orchestrator
  • INLINECODE8 - Agent updates state: pending → running → completed | INLINECODE12

Example: Research Report Task

CODEBLOCK7

Sub-Agent Templates

Pre-built templates for common agent types in references/sub-agent-templates.md:

  • - Research Agent - Web search, data gathering
  • Code Agent - Implementation, testing
  • Analysis Agent - Data processing, pattern finding
  • Writer Agent - Content creation, documentation
  • Review Agent - Quality assurance, editing
  • Integration Agent - Merging outputs, conflict resolution

Best Practices

  1. 1. Start small - Begin with 2-3 agents, scale as patterns emerge
  2. Clear boundaries - Each agent owns specific deliverables
  3. Explicit handoffs - Use structured files for agent communication
  4. Fail gracefully - Agents report failures; orchestrator handles recovery
  5. Log everything - Status files track progress for debugging

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 agent-orchestrator-1775926329 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 agent-orchestrator-1775926329 技能

通过命令行安装

skillhub install agent-orchestrator-1775926329

下载

⬇ 下载 agent-orchestrator v0.1.0(免费)

文件大小: 8.36 KB | 发布时间: 2026-4-12 08:42

v0.1.0 最新 2026-4-12 08:42
Initial release of agent-orchestrator skill.

- Enables orchestration of complex tasks by spawning autonomous sub-agents for parallelized work.
- Dynamically generates SKILL.md files for specialized sub-agents, detailing roles and protocols.
- Implements a file-based communication system (inbox/outbox/status) for coordination and state tracking.
- Provides a step-by-step workflow: task decomposition, agent creation, dispatch, monitoring, consolidation, and dissolution.
- Includes templates and best practices for defining and managing sub-agent workflows.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部