What should I delegate vs do inline?
Delegate bounded research with clear return contracts (lists, summaries, verdicts). Keep tight edit loops inline where full context pays.
Glossary · Subagents & Isolation
Fresh windows for dirty work.
Direct answer
A subagent handles a focused task in its own clean context window and returns a 1–2K summary; the parent's working memory never sees the exploration sprawl. This Isolate strategy prevents context multiplication (full-history hand-offs that explode tokens and confuse children), enables parallel investigation, and is the standard treatment for research spikes, blast-radius analysis, and multi-file reconnaissance.
In Anvaya
Questions
Delegate bounded research with clear return contracts (lists, summaries, verdicts). Keep tight edit loops inline where full context pays.
Tens of thousands of exploration tokens live and die in the child window; only the distilled summary enters the parent. Per delegation, often 10–20x.
Passing full parent history into children (and grandchildren), token explosion plus confusion from irrelevant history. Pass goals, not transcripts.
25.6 MB median RSS. 25 agents ran in parallel on a Core 2 Duo with 4 GB RAM. Hundreds on your machine. Zero cloud required on the Ollama path.
Requires Rust/cargo to build from source. Linux and macOS today, Windows not yet supported. Pre-1.0, public beta. Pricing TBD.