Loading...
Loading...
Compare original and translation side by side
Orchestrator (you) — Route tasks, track state, report results
Builder agent — Execute work, produce artifactsOrchestrator (你) — Route tasks, track state, report results
Builder agent — Execute work, produce artifacts1. Create task record (file, DB, or task board)
2. Spawn builder with:
- Task ID and description
- Output path for artifacts
- Handoff instructions (what to produce, where to put it)
3. On completion: review artifacts, mark done, report1. Create task record (file, DB, or task board)
2. Spawn builder with:
- Task ID and description
- Output path for artifacts
- Handoff instructions (what to produce, where to put it)
3. On completion: review artifacts, mark done, reportBuilder produces artifact → Reviewer checks it → Orchestrator ships or returnsBuilder produces artifact → Reviewer checks it → Orchestrator ships or returns| Role | Purpose | Model guidance |
|---|---|---|
| Orchestrator | Route work, track state, make priority calls | High-reasoning model (handles judgment) |
| Builder | Produce artifacts — code, docs, configs | Can use cost-effective models for mechanical work |
| Reviewer | Verify quality, push back on gaps | High-reasoning model (catches what builders miss) |
| Ops | Cron jobs, standups, health checks, dispatching | Cheapest model that's reliable |
| 角色 | 用途 | 模型选择指引 |
|---|---|---|
| Orchestrator(编排者) | 分配工作、跟踪状态、确定优先级 | 高推理能力模型(负责判断类工作) |
| Builder(构建者) | 产出工件——代码、文档、配置文件 | 机械类工作可使用性价比更高的模型 |
| Reviewer(审查者) | 验证质量、反馈遗漏问题 | 高推理能力模型(发现构建者遗漏的问题) |
| Ops(运维) | 定时任务、站会、健康检查、任务调度 | 满足可靠性要求的最低成本模型 |
Inbox → Assigned → In Progress → Review → Done | FailedInbox → Assigned → In Progress → Review → Done | Failed/shared/artifacts/auth/npm test auth/shared/artifacts/auth/npm test auth| File | Read when... |
|---|---|
| team-setup.md | Defining agents, roles, models, workspaces |
| task-lifecycle.md | Designing task states, transitions, comments |
| communication.md | Setting up async/sync communication, artifact paths |
| patterns.md | Implementing specific workflows (spec→build→test, parallel research, escalation) |
| 文件 | 适用场景 |
|---|---|
| team-setup.md | 定义Agent、角色、模型、工作区 |
| task-lifecycle.md | 设计任务状态、流转规则、备注规范 |
| communication.md | 搭建同步/异步通信机制、工件路径规范 |
| patterns.md | 实现特定工作流(需求→构建→测试、并行调研、问题升级) |
sessions_spawnsessions_spawn