Skip to content
LinkedInX

Context Isolation

Target audience: Those wanting to understand why subagents improve quality, not just that they do
Prerequisites: Basic understanding of What Are Subagents

The value of subagents lies in context isolation, not in parallelism. Understanding that determines how much information should be passed along.

The Dilution Problem

Running long work in a single agent piles up history.

Context at session start
  → the instruction carries full weight

Context 50 steps later
  → the instruction plus large volumes of intermediate results and trial history

A model treats everything in context as evidence, so the more unrelated material accumulates, the more the original instruction gets buried. A subagent works from a reset state instead.

What Isolation Provides

BenefitDescription
Clear instructionNo unrelated history competes with the task at hand
Independent judgmentThe main agent’s hypotheses do not carry over
Condensed resultsOnly the conclusion returns, not the intermediate steps
This table scrolls horizontally. Keyboard users can focus the table and use the left and right arrow keys.

The third matters most. Research may read a hundred files while returning only the conclusion.

What Isolation Removes

The context the main agent held does not travel with the request.

  • What was already decided and what was rejected
  • Constraints the user added mid-conversation
  • Approaches already tried and failed

Without compensating for this, a subagent will propose options that were already rejected.

Compensate by Summarizing

The fix is not passing the full history, which would erase the isolation. Pass a summary of only the assumptions that task needs.

# Example assumptions passed to a subagent
- Scope is limited to src/content/docs/en
- Existing URL structure must not change, decided in earlier review
- Option A was rejected because it breaks existing links

Keep the Return Tight Too

The same applies coming back. Returning the full working log re-inflates the main context. Return the conclusion and the evidence needed to judge it.

Summary

  • The essential benefit of subagents is context isolation, not parallelism
  • Accumulated history buries the original instruction over time
  • Isolation cuts off the main context, so pass a summary of what the task needs
  • Keep the returned result limited to the conclusion and necessary evidence
Quiz