Add subagent orchestration example (#215)

This commit is contained in:
Nico Bailon 2025-12-18 16:45:18 -08:00 committed by GitHub
parent 774aaadbc0
commit eb1d08a5fb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 1202 additions and 0 deletions

View file

@ -17,6 +17,14 @@ Full-featured example demonstrating:
- Proper branching support via details storage
- State management without external files
### subagent/
Delegate tasks to specialized subagents with isolated context windows. Includes:
- `subagent.ts` - The custom tool (single, parallel, and chain modes)
- `agents/` - Sample agent definitions (scout, planner, reviewer, worker)
- `commands/` - Workflow presets (/implement, /scout-and-plan, /implement-and-review)
See [subagent/README.md](subagent/README.md) for full documentation.
## Usage
```bash