Subagents and delegation
Notebook· 11.05· 2–2.5 h· Lesson 91 of 129
The notebook opens in your lab, in a new tab. If your server is stopped, it starts first (a few seconds).
By the end you can
- Define custom subagents (
name,description,system_prompt,tools,model,response_format,permissions) and wrap an existing agent as aCompiledSubAgent. - Explain context isolation: what a subagent sees, what comes back, and why that saves the coordinator's context.
- Run several subagents in parallel from one model turn.
- Rebuild the Project 09 technical specialist as a deep-agent subagent with least-privilege tools.
- Decide when to delegate and when one agent is enough.
Before you start
Lessons 11.01–11.04; Module 09 (subagents pattern, Project 09 support desk).
