What is a Sub-Agent?

A sub-agent is a subordinate AI agent spawned by a parent (orchestrator) agent to handle a specific, bounded piece of a larger task, typically running with its own isolated context and reporting results back to the parent rather than to the end user directly.

Sub-agents exist to manage context and specialization. A single agent trying to hold an entire complex task in one context window accumulates noise — intermediate tool output, exploratory dead ends — that crowds out the reasoning that actually matters. Delegating a well-scoped piece of work to a sub-agent lets that exploration happen in an isolated context, with only the distilled result returned to the parent, keeping the orchestrator's own context focused on synthesis and decision-making rather than raw search output. Sub-agents also enable parallelism: independent pieces of a task — researching different questions, reviewing different files, verifying different claims — can run concurrently as separate sub-agents rather than sequentially in one thread, cutting wall-clock time for decomposable work. The tradeoff is coordination overhead: a sub-agent that starts with zero shared context needs a self-contained brief, and the parent must synthesize multiple sub-agent reports rather than trusting one continuous train of thought.

In practice with Neotask

A Neotask orchestrating agent handling a cross-repo feature can fan work out to sub-agents — one researching the gateway-side implementation, one checking the API contract, one drafting tests — running in parallel, then synthesize their reports into a single coherent plan rather than doing the research serially itself.

Related terms

Start free

Plans

Free

$0/mo

Download without a card and start for free.

Individual

$50/mo

The full personal agent platform for one person.

Enterprise

$200/mo

Multiple workspaces and capacity for larger teams.

Continue