ADK Rust Agent Workflows
Overview
Implement the simplest correct workflow topology for the target behavior.
Workflow
- •Start from single
LlmAgent. - •Escalate to
SequentialAgentfor ordered deterministic stages. - •Use
ParallelAgentonly when stages are independent. - •Use
LoopAgentwith explicit exit conditions and max-iteration guard. - •Validate with focused workflow tests.
Guardrails
- •Keep tool boundaries explicit per agent.
- •Avoid hidden cross-agent state coupling.
- •Add tests for transfer, callback order, and failure behavior.
References
- •Use
references/workflow-patterns.md.