A developer is new to Google ADK and wants to build a simple pipeline where Agent A summarizes a document, and then Agent B translates the summary into French — always in that fixed order, with no branching logic. Which ADK agent type is the MOST appropriate top-level orchestrator for this use case?
- A. LoopAgent, because it re-runs its sub-agents repeatedly until an escalation or max_iterations condition is met
- B. ParallelAgent, because running the summarizer and translator simultaneously minimizes total pipeline latency
- C. SequentialAgent, because it executes a predefined list of sub-agents in order✓ Correct
- D. LlmAgent, because its model can reason at runtime about which sub-agent to call next and in what order
Explanation
SequentialAgent is built for fixed, ordered pipelines. It runs each sub-agent in the order listed and passes outputs downstream. An LlmAgent that reasons about call order at runtime uses an LLM to decide what to call, which adds unneeded non-determinism and cost to a fixed pipeline. Running the summarizer and translator simultaneously with ParallelAgent would fail because the translation depends on the summary output. LoopAgent's repeat-until-termination behavior is meant for iterative or retry patterns, not a linear one-pass pipeline.