ADK Samples — Fluent API Ports¶
These examples port complex multi-agent samples from Google’s adk-samples repository to the adk-fluent API. Each page shows native ADK code alongside the fluent equivalent, highlighting structural improvements.
Sample |
Pattern |
Key Fluent Features |
|---|---|---|
Sequential pipeline + callbacks |
|
|
Tool-based delegation + state passing |
|
|
Director with 4 sub-agents + generative tools |
|
|
Loop with evaluation + typed output + custom agent |
|
|
Router with nested sub-agents + web tools |
|
|
6-group orchestrator + callbacks + state |
|
Aggregate Metrics¶
Across all 6 ported samples:
Metric |
Native ADK |
Fluent API |
Reduction |
|---|---|---|---|
Agent definition files |
25 |
6 |
76% |
Total files |
70+ |
18 |
74% |
Directories |
35+ |
6 |
83% |
|
20+ |
0 |
100% |