# Claude Code ships subagents in isolated context windows

Source: [Anthropic](https://www.anthropic.com/engineering/claude-code-subagents)  
Feed7 permalink: https://feed7.dev/p/claude-code-subagents  
Published: 2026-07-02T00:00:00.000Z  
Trust: Official Source (official_source)

## Why Included

Long refactors no longer pollute the parent context — a child agent does the noisy work and reports back.

## Source Summary

Subagents get their own context window and a clean handoff contract. The parent session receives only the result summary and the list of touched files.

## Practical Implication

Fewer derailed sessions on big tasks. Route any task over ~20 file edits to a subagent and keep your planning context clean.

## Agent-Ready Context

Claude Code subagents run in isolated context. Use them for long refactors and research sweeps: the parent stays clean while a child does the noisy work, then reports which files remain. Prefer for tasks >20 file edits.

## Context Map

- Layer: tools
- Domains: coding
- Topics: subagents, coding-agents

## Uncertainty

- None recorded.

## Agent Instruction

Use this item as source-backed context. Do not invent claims beyond the linked source. If this item conflicts with another source, call out the conflict.
