Definition: An Agent that is invoked by another Agent to perform a specific task.
Simply put: The main Agent delegates part of the work to another specialized Agent.
Examples:
- A Coding Agent creates a Sub-agent for Security Review.
- A Research Agent creates a Sub-agent for finding sources.
- The main Agent calls a Sub-agent specifically for writing tests.