Glossary · Subagents & Isolation

Subagents & Isolation.

Fresh windows for dirty work.

The short 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.

Read the full answer

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.

Subagents & Isolation, working

Session 1 asks. Session 47 already knows.

The same request twice: first the agent explores, later the Mind serves what earlier sessions settled.

anv · session replayillustrative
  1. add a --json flag to `ledger export`
  2. grep "export" src/: ok, 14 matches
  3. read_file src/main.rs: ok, 212 lines
  4. read_file src/cli/mod.rs: ok, 148 lines
  5. read_file src/export/csv.rs: ok, 96 lines
  6. Formats implement Render. Adding a Json renderer beside csv.
  7. rewrite_file src/export/json.rs: ok, +38
  8. edit_file src/cli/mod.rs: ok, +6
  9. run_command cargo test -p ledger: failed, E0432 unresolved import serde_json
  10. serde_json is optional in Cargo.toml, behind the json feature.
  11. run_command cargo test -p ledger --features json: ok, 42 passed
  12. done · 8 tool calls · 1 failed run
Illustrative transcript; each recalled weight uses its kind's shipped decay rate at the age shown.

In Anvaya

How we implement it.

Subagents & IsolationAnvaya ships 4 subagent profiles with green panes, heartbeats, STALLED detection, and drill-down, plus swarm packs for multi-agent orchestration with merge gates.

Questions

Asked about Subagents & Isolation.

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.

How do subagents save tokens?

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.

What is context multiplication?

Passing full parent history into children (and grandchildren), token explosion plus confusion from irrelevant history. Pass goals, not transcripts.

Run agents that fit on your laptop.

23.4 MB median own-process memory, measured across 1030 runs (994 verified) and fourteen harnesses. One command installs the harness and the Mind together. Nothing leaves your machine on the Ollama path.

Developer beta. macOS on Apple Silicon and Linux on x86_64 or arm64. Memory figure: --no-mind, macOS/ARM, n=3 per cell. Pre-1.0, pricing not set.