<overview Deep Agents include three orchestration capabilities: 1. SubAgentMiddleware : Delegate work via tool to specialized agents 2. TodoListMiddleware : Plan and track tasks via tool 3. HumanInTheLoopMiddleware : Require approval before sensitive operations All three are automatically included in . </overview --- Subagents (Task Delegation) <when-to-use-subagents | Use Subagents When | Use Main Agent When | |-------------------|-------------------| | Task needs specialized tools | General-purpose tools sufficient | | Want to isolate complex work | Single-step operation | | Need clean cont…