An invoice agent must extract fields, then validate them, then file the invoice, always in that order. Which multi-agent pattern fits?
- Exam domain
- Developing custom agents~33% of the exam
- Difficulty
- Medium
- In this mock
- 15 questions on this domainPractise this domain
Why the exam asks this
Orchestrating and coordinating agentic workflows.
Objective in the exam guide: Selecting and coordinating multiagent handoffs and workflows (e.g., parallel agents, sequential agents, and graph workflow) using Google Cloud tools (e.g., Agent Identity, Agent Registry, Agent Runtime, and agent policies).
Picking the right workflow pattern is a core design choice.
Why A is the answer
Sequential, each step using the last one's output
Each step depends on the one before, so a sequential workflow runs them in a fixed order and passes results along.
Remember: Dependent steps run in sequence.
How it works
A sequential agent runs its sub-agents in order, each one able to use the earlier ones' output.
Clues in the question
The words that point to the answer, and what each one tells you.
- always in that order
- Sequential.
In detail
- Fixed order belongs in the workflow, not in the prompt.
- Stop the sequence when validation fails.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Sequential, each step using the last one's outputRight
Dependent steps run in sequence.
B. Loop, repeating until the model stopsWrong
A loop is for repeating until a condition is met.
C. A single agent with no structureWrong
One agent may skip or reorder steps.
D. Parallel, so all three steps run at the same momentWrongMost tempting
Validation cannot start before extraction finishes.
Why it tempts: Each step needs the last one's result, so they cannot run together.
Use case
An illustrative scenario, not a real incident.
Illustrative: an extractor agent passes fields to a validator agent, which passes clean data to a filing agent.
See it in different ways
flowchart TD
Q{"How do the steps relate?"}
Q -->|"Each needs the one before"| A0["Sequential"]
Q -->|"Independent of each other"| A1["Parallel"]
Q -->|"Repeat until a condition"| A2["Loop"]
Q -->|"Branches decided by code and model"| A3["Graph workflow"]How to read this chart
- At "How do the steps relate?": if "Each needs the one before", go to "Sequential"; if "Independent of each other", go to "Parallel"; if "Repeat until a condition", go to "Loop"; if "Branches decided by code and model", go to "Graph workflow".
flowchart LR S0["Extract fields"] --> S1["Validate"] --> S2["File invoice"]
How to read this chart
- Read it in order: Extract fields, then Validate, then File invoice.