name: adk-rust-agent-workflows description: Design and implement ADK-Rust agent workflow patterns including LLM, sequential, parallel, loop, and multi-agent orchestration. Use when building or refactoring agent topology.
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.