thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

AI & Machine Learning · Advanced

Subagent

A separate agent instance, with its own context window, prompt and tools, to which a main agent delegates a task.

Definition

Subagents keep the main context clean by doing focused work, such as searching a codebase or reviewing code, and returning only a summary. Claude Code and the Claude Agent SDK support defining custom subagents.

Exam tip

Subagents protect the main agent's context window by returning only condensed results.

Related terms