Repository navigation
Agentic Workflow Patterns 3 · Delegation and critique, and what each costs #8
Replies: 4 comments
<style>
</style>
|
|
Part A: Part B: Part C: Part D: Part E:
For "just tell me my gate": One specialist (flight_specialist). Simple query, single concern. Part F: Part G: Part H: Part I: Part J: Part K: Part L: |
|
A B C D E F G |
|
H I J K L M |
Uh oh!
There was an error while loading. Please reload this page.
Exercise 3: Delegation and Critique
Est. time: 40 min | Difficulty: intermediate | Patterns: v5 orchestrator-workers, v6 evaluator-optimizer
Practice: MCQ, choose-an-option, fill-the-blank code, fix-code, complete-a-flowchart, table-fill, spot-the-error, trace-the-delegation, name-the-failure-mode, one-line-diff, refactor-to-cheaper, estimate-the-bill, two-truths-and-a-lie.
Anchor booking: PNR
JX48Q2, surnameRao, Gold tier,BLR-DELcancelled by the airline.Scenario
The complaint pile grows and the apology letters pile beside it.
Two patterns, two problems. Do not mix them up.
Part A: Match each sub-scenario (MCQ)
Part B: Choose the design for Nadia
Pick one. One line: what does routing fail to handle in Nadia's message? ________
Part C: Fill the blank (agents as tools)
Complete the orchestrator so it can delegate.
Part D: Fix the broken delegation
Meera's version throws no error, but the orchestrator cannot address one specialist by name.
Part E: Trace the delegation
Nadia's message hits the orchestrator. List a plausible order of specialist calls the model would make, and the one part of her message each call resolves.
Then answer: on a different message ("just tell me my gate"), how many specialists would the orchestrator call, and why? ________
Part F: Complete the evaluator flowchart
Fill the two edge labels.
flowchart TD In([Draft apology]) --> D[draft node] D --> C{critic node} C -->|... fill 1| D C -->|... fill 2| P[publish node]Part G: Fill the edge table
For the cyclic evaluator graph, complete the condition column.
Part H: Spot the error and name the failure mode
Sofia's critic is strict and rarely satisfied on the first pass. Meera ships this graph.
Part I: Red-team the critic
Ravi writes a critic prompt that says only "make it good."
Part J: Refactor to cheaper
Priya finds an orchestrator wired for a queue that splits cleanly into exactly four categories, one branch each, no overlap.
Part K: Estimate the bill
Sofia's apology loop runs a generator plus a critic each pass. Assume a per-pass cost of
$0.003.Part L: Two truths and a lie
One is false. Mark and correct it.
Skeptic's corner
A teammate wants an evaluator-optimizer loop on every response the system produces, including internal status lookups.
All reactions