Subagents

Last updated

What is Subagents?

Subagents are specialized AI assistants that function as independent "team members" to handle focused tasks on behalf of the main agent. Each subagent operates within its own isolated context window, meaning it starts with a clean slate and does not clutter your primary conversation with large amounts of intermediate research or technical logs. They are typically defined by a markdown file in the .claude/agents/ directory, where you specify their unique system prompt, expertise, and restricted tool access.

Free resources to learn Subagents

More in stage 3: Using Claude Code

Subagents: common questions

Can I learn Subagents in Hindi?

This lesson is written in English. Once you sign in, open it in the interactive course and ask the AI tutor to explain Subagents in Hindi or Hinglish. The tutor answers from this lesson’s own text, so it stays on the syllabus, and it runs on your own Google, OpenAI or Anthropic key.

Is this Subagents tutorial for beginners?

It is lesson 25 of 109 in the free Claude Code roadmap, in stage 3, Using Claude Code. If you are new to Claude Code, start from stage 1 and come back here in order; if you already know the earlier stages, this lesson stands on its own.

Still confused? Ask me