DictionaryAgents
Subagent
A helper AI the main AI sends off to do one job, which reports back only a short result.
Definition
An isolated agent invoked by a parent agent to handle a subtask in its own dedicated context window. Subagents prevent context overflow in the main agent by running independently, and can execute in parallel for tasks that can be split into independent parts.
Example
The main agent spawns a subagent to search 200 files for uses of oldApi; only its 10-line summary enters the main context.