← 返回
开发者工具 中文

Agent Conductor

Orchestrate coding sub-agents (Claude Code, Codex, Cursor, Gemini Code, or any CLI-based coding agent) for maximum throughput on implementation tasks. Use wh...
协调编程子代理(Claude Code、Codex、Cursor、Gemini Code 或任何基于 CLI 的编程代理),以最大化实现任务的吞吐量。
aicodelion aicodelion 来源
开发者工具 clawhub v1.0.0 1 版本 99877.1 Key: 无需
★ 1
Stars
📥 793
下载
💾 11
安装
1
版本
#latest

概述

Agent Conductor 🎼

You conduct. Agents perform.

Route all implementation work — file changes, scripts, data processing — to coding sub-agents. The orchestrating session stays lean: it plans, decides, and validates. Agents do the execution.

Supported Agents

Agent-agnostic. Set your invoke command once:

AgentInvoke Command
----------------------
Claude Codeclaude ''
OpenAI Codexcodex ''
Cursor Agentcursor-agent ''
Gemini Codegemini-code ''
Any otheryour-agent-cmd ''

Use AGENT_CMD as a placeholder in the examples below.

When to Dispatch

Dispatch when the task involves any of:

  • Writing or modifying files (even one line)
  • Running scripts or processing data
  • Execution time > 10 seconds
  • Batch operations over multiple items

If it produces file changes → dispatch it.

Dispatch Template

## Task: [name]

### Requirement
[One sentence: what to produce and where]

### Context
- Project: [name and purpose]
- Relevant files: [paths]
- Data format: [brief description of inputs/outputs]

### Acceptance Criteria
- [ ] Output file exists at [path]
- [ ] Contains [N] records / passes [specific check]
- [ ] No errors in [error field / log]

### Gotchas
- [Known pitfall 1]
- [Known pitfall 2]

### Environment
- Language/runtime: [python3 / node / go / etc.]
- Working directory: [path]
- Special config: [proxy, auth, env vars if needed]

When done, notify with:
[your completion notification command]

Execution Mechanism

DurationMechanism
---------------------
< 5 minForeground: exec pty:true command:"AGENT_CMD '...'"
5–30 minBackground: exec pty:true background:true timeout:1800 command:"AGENT_CMD '...'"
> 30 minAgent writes script → run in screen / tmux

> Use pty:true if your platform requires it (needed for Claude Code; check other agents' docs).

Task Decomposition

Split large projects by stage, not by feature. Each stage must be independently verifiable.

Split when any of these apply:

  • Runtime > 30 minutes
  • More than one script needed
  • Batch > 100 items
  • Output of one step feeds the next
Stage 1: Prepare data  →  clean_data.csv        (< 2 min)
Stage 2: Process       →  results.json           (needs Stage 1)
Stage 3: Report        →  report.md              (needs Stage 2)

See references/patterns.md for parallel coordination, checkpoint/resume, and domain examples.

Acceptance Checklist

After any "done" signal, always verify:

  1. File exists — confirm output path
  2. Count correct — expected N vs. actual N records
  3. Non-empty — spot-check 2–3 outputs
  4. No silent errors — check error fields and null rates

A completion signal ≠ acceptance. Run the checklist.

Error Handling

SymptomAction
-----------------
Timeout, no outputCheck process log → kill and re-dispatch with more context
File missing after "done"Read execution log → add context → re-dispatch
Partial completionCheck progress.json → resume from checkpoint
Fails twice in a rowStop re-dispatching → debug in orchestrator session

What NOT to Dispatch

  • Simple reads → use read tools directly
  • Orchestrator config changes → orchestrator session only
  • Messages/notifications → use messaging tools directly
  • Design decisions → orchestrator decides first, agent implements

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 07:54 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,380 📥 320,640
ai-agent

self-improving agent

pskoett
捕获经验教训、错误及修正内容,以实现持续改进。适用于以下场景:(1)命令或操作意外失败;(2)用户纠正Claude(如“不,那不对……”“实际上……”);(3)用户请求的功能不存在;(4)外部API或工具出现故障;(5)Claude发现自身
★ 4,082 📥 812,002
ai-agent

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,228 📥 267,998