Sub-agent delegation vs agents as tools
The same billing specialist, wired two ways. With delegation the coordinator hands the customer over. With AgentTool it calls the specialist for help and keeps the conversation.
9 minPro
Checking your access…
Inside this lesson
- An animation you play, pause and step through, with each part saying what it is doing.
- The real code beside it, with the lines for each step lit up.
- Practice mode, where you route each message yourself, and a short quiz.
- About 9 minutes.
Written from the official documentation
In this module: Workflows and multi-agent systems
- Sequential, Parallel and LoopThe three template workflows, side by side.Pro
- Graph-based workflowsNodes, routes and deterministic control.Pro
- Data handling between nodesHow outputs flow from one node to the next.Pro
- Dynamic workflowsLoops and branches decided in code.Pro
- Human input in workflowsPausing for a person, then resuming.Pro
- Retries and timeoutsRetryConfig and failing safely.Pro
- Collaborative workflowsCoordinators, sub-agents and agent routing.Pro
- Sub-agent delegation vs agents as toolsHanding off vs calling for help.Pro
- Workflow patternsProven shapes for real multi-agent systems.Pro
- Deferred schedulingRunning work later.Pro