[KongchangAI]
Conceptsubagent / Sub-Agent

Subagent

An auxiliary agent used in AI-assisted programming to isolate exploration tasks, preventing contamination of the main agent's context and keeping the main context clean.

Timeline (last 90 days)

Oct 21

By default, Claude Code's subagents do not share memory with each other and do not communicate directly; all coordination must be relayed through the main agent.

Unverified50%
Oct 20

In the demo, Ivan launched three sub-agents simultaneously, respectively responsible for the API, the data ingestion pipeline and the dashboard, advancing the implementation in parallel.

Unverified50%
Oct 17

Claude Code's sub-agents work in independent contexts and, upon completion, return only a summary of results to the main agent, achieving context isolation.

Unverified50%
Oct 17

If the parent agent passes incomplete information when spawning a sub-agent, the sub-agent may make wrong judgments based on partial information, and the error propagates up the call chain.

Unverified50%
Oct 17

Sub-agents usually run in independent context windows, and the parent agent's conversation history is not automatically visible to the sub-agent.

Unverified50%
Oct 17

A reasonable onboarding path for adopting the Claude Agent SDK is: first get a single agent plus structured output working, then introduce SessionStore for state persistence, and only then split out sub-agents; skills and plugins should be abstracted only when a second reuse need arises.

Unverified50%
Oct 5

Sub-agents independently select models based on their own assessment of subtask complexity rather than inheriting the model setting of the main session, which causes multiple models that the user never manually selected to appear in usage reports.

Unverified50%
Oct 5

Switching models via /model or startup parameters does not override the model used by sub-agents during task execution.

Unverified50%
Sep 27

The sub-agent mechanism handles subtasks by spawning child agents; the main agent decomposes complex problems, delegates them, and then aggregates the results, thereby keeping its own context clear.

Unverified50%
Sep 16

Using sub-agents is worthwhile only when all three conditions are met simultaneously: high-volume output, no further need for the details, and the session will continue for many more rounds.

Unverified50%

3 more timeline events

All Facts (13)

Unverified

By default, Claude Code's subagents do not share memory with each other and do not communicate directly; all coordination must be relayed through the main agent.

50%
Unverified

Claude Code's sub-agents work in independent contexts and, upon completion, return only a summary of results to the main agent, achieving context isolation.

50%
Unverified

Sub-agents usually run in independent context windows, and the parent agent's conversation history is not automatically visible to the sub-agent.

50%
Unverified

A reasonable onboarding path for adopting the Claude Agent SDK is: first get a single agent plus structured output working, then introduce SessionStore for state persistence, and only then split out sub-agents; skills and plugins should be abstracted only when a second reuse need arises.

50%
Unverified

If the parent agent passes incomplete information when spawning a sub-agent, the sub-agent may make wrong judgments based on partial information, and the error propagates up the call chain.

50%
Unverified

Sub-agents independently select models based on their own assessment of subtask complexity rather than inheriting the model setting of the main session, which causes multiple models that the user never manually selected to appear in usage reports.

50%
Unverified

Switching models via /model or startup parameters does not override the model used by sub-agents during task execution.

50%
Unverified

The sub-agent mechanism handles subtasks by spawning child agents; the main agent decomposes complex problems, delegates them, and then aggregates the results, thereby keeping its own context clear.

50%
Unverified

Using sub-agents is worthwhile only when all three conditions are met simultaneously: high-volume output, no further need for the details, and the session will continue for many more rounds.

50%
Unverified

Sub-agents do not save tokens but rather shift them, as each sub-agent has its own independent context window isolated from the main session.

50%
Unverified

A subagent is an independently running Claude instance with its own context and task focus, and up to 49 can run in parallel.

50%
Unverified

Subagents can only report results unidirectionally and cannot discuss with each other, whereas agent team members can send messages directly to one another.

50%
Unverified

In the demo, Ivan launched three sub-agents simultaneously, respectively responsible for the API, the data ingestion pipeline and the dashboard, advancing the implementation in parallel.

50%

Source Articles