AI Foundationsintermediate13 min · 10 steps
Agent Workflows II: Parallelize, Delegate, Refine
Run independent LLM calls at once, let an orchestrator split work it couldn't plan in advance, and loop a draft through an evaluator until it is good enough.
LLM calls3
latency9s
requestresponseerrordata
metrics are illustrativeProblemStep 1 of 10
Independent checks run one after another
A review bot checks each pull request for security, performance and style, as a chain of three calls. The checks don't depend on each other, yet each waits for the previous one, so latency triples.
A single pass of each check also misses things now and then, and for security a miss is costly.
← Previous lessonAgent Workflows I: Prompt Chaining and RoutingNext lesson →Autonomous Agents: Reason, Plan, Act, Check, Stop
Lesson 30 of 34 in AI Foundations