Subagent
A second AI agent that the main agent starts to handle one side task, then report back with a short summary.
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.
How to ask for it
“Can you check the whole codebase for where we handle payments while you keep working on the signup page?”
"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.
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