What is a subagent?
A subagent is a child agent that Ana spawns to accomplish one focused objective. It runs as its own thread, with its own context window and its own Python sandbox, and returns a tight, self-contained answer (plus any files it produces) to the agent that started it. Subagents exist to keep a conversation’s reasoning clean. Deep, verbose work — exploring a connector schema, analyzing one entity among many, reading across several sources — produces a lot of intermediate detail. When that work happens in a subagent, only the conclusion comes back to the parent; the noisy exploration stays in the subagent’s own thread.When Ana uses them
Ana reaches for a subagent when a sub-task is either verbose or independent:- Deep dives — investigate a single data source or question in isolation and report back just the findings.
- Parallel fan-out — split work that has independent pieces (for example, the same analysis across many regions or accounts) and run them at the same time.
- Specialized helpers — hand a narrow, well-scoped job to a purpose-built agent.
Following along
Each subagent is a real thread, so you can watch its progress:- The subagent step in the transcript expands to show the child’s live activity inline.
- A subagents indicator collects every subagent in the conversation, with running status and a link to open each one as its own thread.
- Because each subagent is a normal thread, you can open it directly to see everything it did.