Anthropic · Course
Introduction to subagents
Introduction to subagents teaches how Claude Code delegates work to isolated assistants that run in their own context window and return only a summary, keeping your main conversation focused.
Who it suits
- Claude Code users with long sessions where the main context fills up.
- Anyone who wants code review or documentation handled by a delegated assistant.
What it covers
- How subagents work: a separate context window, how inputs flow in and how summaries come back.
- Creating custom subagents with the /agents command, for jobs such as code review and documentation.
- Designing reliable subagents with structured output, obstacle reporting and limited tool access.
- When subagents help most, and common anti-patterns.
Common questions about Introduction to subagents
- What is a subagent?
- An isolated assistant that does its work separately and returns just the information you need, per Anthropic’s course description.
- How long is it?
- Anthropic lists 4 lessons.
- Why use one?
- Anthropic says subagents keep your main context window clean and your conversations focused.
More like this
Keep learning on Infrato
- Path: AI for software developers
- Tool: Claude Code
- More from Anthropic: all Anthropic listings in the directory
- Explore all AI courses
Where this comes from
Written from Anthropic’s own pages, read on 2026-10-13. Content, prices and availability change, so the provider’s page is the source. We are not affiliated with Anthropic and this is not an endorsement.