Skip to content
AI Skills Central

Type to search Agent Skills, workflows, tutorials, tools and the glossary.

Context isolation

Definition

Running a subtask in a separate context window so raw tool output and intermediate noise never enter the parent conversation.

In more detail

When a single agent searches dozens of files or web pages, thousands of irrelevant tokens accumulate and degrade reasoning on the main goal. Context isolation delegates that noisy exploration to a short-lived subagent or worker, which reads the raw data in its own window and returns only a compressed summary.

For example, a coding agent spawns a read-only explorer subagent to trace where authentication middleware is wired across fifty files, receiving a ten-line summary instead of fifty full file listings. The trade-off is higher total token spend across windows and the risk of dropping a subtle detail at the summary boundary.

  • Context rot

    The gradual decline in a model's accuracy and instruction-following as its context fills up with long, stale or irrelevant content.

  • Context window

    The maximum number of tokens a model can consider in one request, covering both the input you send and the output it writes.

  • Multi-agent system

    An application in which several agents, often with different roles, tools or instructions, cooperate or hand work to each other.

  • Subagent

    A separate agent instance with its own context window, launched by a main agent to handle a focused task and report back a short result.