Northwind Bank is building a multi-agent workflow that produces credit memos. It has two stages.
Drafting stage: a drafting agent writes the memo, a reviewing agent critiques that draft, and an editing agent produces the final text from the draft and the critique. Each agent runs once, and the design team fixes this order in advance; the agents do not choose who runs next.
Compliance stage: four agents (sanctions, fair lending, data privacy and disclosure) each check the finished memo. No check needs another check's output or discussion with other agents, and the bank wants this stage to finish as quickly as possible. The four results are then aggregated into one compliance summary.
Which orchestration pattern should you implement for each stage?
Implement the drafting stage by using orchestration and the compliance stage by using orchestration.
- Blank 1: sequential (correct answer)
Correct: each agent builds on the previous agent's output in an order the workflow defines, which is the sequential (pipeline) pattern. Concurrent: the reviewer and editor depend on earlier output, so they cannot run at the same time. Handoff: agents decide where to transfer control, but here the order is fixed by the design team. Group chat: agents collaborate in a shared conversation, which this one-pass pipeline does not need. Magentic: a manager agent iterates to build a plan, which is unnecessary when the steps are fixed.
- Blank 2: concurrent (correct answer)
Correct: independent agents analyse the same memo simultaneously and their results are aggregated, which is the concurrent (fan-out/fan-in) pattern and reduces run time. Sequential: chaining independent checks wastes time and is advised against when stages can be parallelised. Handoff: control transfers from one agent to another and agents don't typically run in parallel. Group chat: the checks need no shared discussion. Magentic: no dynamic planning is required, and its cost is the hardest to predict.
The drafting stage is a draft-review-polish pipeline in which each step depends on the previous one and the order is set by the workflow, so sequential orchestration fits. The compliance checks are independent analyses of the same input that should finish quickly and be aggregated, so concurrent orchestration fits. Combining patterns across stages is recommended when stages have different characteristics.