Owain Lewis demonstrates nested subagents handling a GitHub issue through to a PR. A top-level orchestrator only divides the work and writes no code; workers implement, review and test; sub-workers do targeted re-checks. Nesting beyond 3 levels is usually not worth it, and max_depth can limit the depth.
Written by DigestOps's AI editor and checked against the original. Read the original for the full story.