Decompose goals → parallel worktree agents → aggregate → local commit. Works while you sleep.
接收一个目标,分解为子任务,并行 spawn 隔离 worktree 子代理,聚合结果。
$ seek autopilot run "重构 User 模型,添加邮箱验证字段" → [autopilot] 4/4 tasks succeeded User model: 添加 email_verified 字段 (abc1234) Service: 添加 verifyEmail 方法 (def5678) Tests: User + Service 单元测试 (ghi9012) Docs: 更新字段文档 (jkl3456)
目标
└─→ Decomposer (DeepSeek) ──→ 任务列表
├─ 1. User model 字段
├─ 2. Service 方法
├─ 3. Test 用例
└─ 4. 文档更新
└─→ Fleet (并行 worktree 子代理)
├─ worktree-1 → edit → 本地 commit
├─ worktree-2 → edit → 本地 commit
└─ ... → 报告: 摘要 + commit SHA
$ seek autopilot run "<goal>" # Full pipeline $ seek autopilot run --dry-run "<goal>" # Decompose only, review before execution
| Autopilot | Autopilot | Goal | Goal | |
|---|---|---|---|---|
| Architecture架构 | Multi-agent, parallel, isolated worktrees | 多 agent 并行独立 worktree | Single agent, same conversation | 单 agent 同一对话 |
| Use case适用场景 | Exploratory / independent sub-tasks | 探索性、多方案并行 | Linear sequential tasks | 线性顺序任务 |
| Result产出 | Per-task commits + summary report | 每任务 commit + 摘要 | Working tree modified in-place | 工作区原地修改 |
See Goal for single-agent multi-turn tasks.
见 Goal 文档了解单 agent 多轮任务。