Graph-based workflows
In ADK 2.0 a workflow is a graph of nodes and edges. Watch a support ticket get classified by an AI node, then routed by plain code to one branch or to several.
10 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 10 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