No. 146·noun·also called sub-agent, helper agent, child agent

Subagent

A second AI agent that the main agent starts to handle one side task, then report back with a short summary.

SPECIMEN · DIAGRAM · FLOW
PersonYou
AppMain agentBuilds the signup page
ServiceSubagentSearches payment code
ServiceSubagentReads API docs
asksdelegatesdelegates
Definition

What it is

A subagent is a helper that your main coding agent launches for a specific job, like "read these docs" or "find every place we handle payments". It works in its own separate conversation and returns a summary instead of everything it read.

That's the point. The main agent keeps its attention on your main task, and its memory doesn't fill up with side research. Several subagents can also run at the same time on jobs that don't depend on each other.

Use one for research, searching a big codebase, or reviewing finished work. Don't use one for tasks that edit the same files, since two agents changing the same code leads to messes like merge conflicts.

A subagent is not a second tool you open yourself. The main agent starts it, and you can ask for it in plain words.

Say it like a builder

How to ask for it

Vague

“Can you check the whole codebase for where we handle payments while you keep working on the signup page?”

Precise

“Use a subagent to search the codebase and list every place we handle payments, then report back a short summary with file names. Keep working on the signup page in the main session in the meantime, and don't let the subagent edit any files.”

Why it works

"While you keep working" leaves it unclear whether the work happens in sequence or in parallel; "subagent" names a separate helper with its own context, and the prompt limits it to read-only research.

In the wild

You've seen this in

  • CClaude Code starting an "Explore" agent to search your project while it keeps planning
  • SCursor running several background agents on separate tasks
  • AAn agent saying "I'll have a separate agent review this change" before it finishes
Usage note

Often confused with