A claims team ships an AI assistant that reads policy documents and answers adjuster questions. It's right nine times out of ten. The tenth answer is confidently wrong about a coverage clause, and the adjuster signs off anyway, because the answer read well.
That gap, not model quality, is where most agent projects stall. The fix is rarely a bigger model. It's a better structure around the model: a fixed sequence with a validation step that catches the bad extraction, a router that sends the clause question to a specialist instead of a generalist, a critique loop that checks the answer against the policy text before anyone sees it.
Appetite for these systems isn't the bottleneck. In Cloudera's 2025 survey of nearly 1,500 IT leaders across 14 countries, 96% said their organizations planned to expand their use of AI agents within the following 12 months. Choosing the right structure is. These seven agentic AI design patterns cover most of what production teams need, and each one earns its place by preventing a specific failure.
1. Prompt Chaining: Multi-Step Workflows With Predictable Results
The failure this prevents is the six-instruction mega-prompt, where step four inherits a bad extraction from step one and nobody notices until the letter goes out.
Prompt chaining breaks a complex task into a fixed sequence of model calls. Each step's output becomes the next step's input, and optional programmatic checks sit between steps to reject output that fails a schema or a business rule. The model never chooses the order. You chose it at design time, which is why behavior stays predictable across runs.
Why the simplest pattern wins so often. A 2025 survey of deployed agents found that 46.7% completed only 1 to 4 steps per task and a further 21.7% performed 5 to 10, so 68.4% operated within ten steps, according to the arXiv survey of agent deployments. The same survey found that 80% of its detailed case studies used structured control flow rather than unconstrained loops.
A claims pipeline shows the shape. Step one extracts fields from the submitted form. Step two validates them against policy rules and rejects anything that fails. Step three drafts the decision letter from validated data only. When a letter comes back wrong, you open one of three steps instead of guessing.
Selection rule: chain when you can write the steps on a whiteboard before the run. Reach for something more dynamic when the next step depends on what the data returns.
- Add a step only against a named failure. If two calls hit your accuracy target, the third is latency you're paying for nothing.
- Validate between steps, not at the end. Schema checks catch bad output while it's still cheap to retry.
- Match model size to step difficulty. Extraction usually runs fine on a small model, so reserve the expensive one for reasoning or drafting.
- Log intermediate outputs. It's the fastest debugging path and the audit trail compliance will ask for.

Latency is additive here. A five-step chain is five round trips before the user sees anything, so keep the chain as short as the accuracy target allows.
2. Routing: Sending Each Request to the Right Specialist
The failure it prevents looks like a support assistant that handles billing questions, outage reports and cancellation threats with one generalist prompt, competently handling none of them.
A router classifies the incoming request and sends it to the handler that fits: a specialized prompt, a smaller model, a specific tool, or a human queue. The intelligence sits in the dispatch decision rather than in multi-step reasoning, which shrinks the surface area of unpredictable behavior.
Where it earns its cost. A telecom assistant routes billing questions to a workflow that reads the ledger, outage reports to a network diagnostics tool that returns live status, and cancellation requests to a retention team with the contract already in view. Each handler gets narrow context and the right tools. Classification is one cheap call, and it keeps most routine traffic off your most expensive model.

Where it breaks. Routers fail at the edges. A customer mentions a charge and an outage in the same message. Someone writes in three languages. A frustrated message reads as a complaint when it's a question. If you can't measure classification accuracy on real traffic, you don't have a router, you have a guess.
A router without an "other" route isn't routing. It's guessing with extra steps.
The human route needs a real owner. A systematic review of 19 peer-reviewed studies on agentic AI in enterprise software found human-in-the-loop and human-on-the-loop mechanisms were considered important but implemented inconsistently across sectors (Google Research summary of the review).
- Keep an explicit fallback. Send low-confidence classifications to a clarifying question or a person, never to a silent best guess.
- Test the classifier before you build handlers. Label 200 real requests yourself and compare.
- Feed misroutes back in. Every wrong dispatch is a routing example you didn't have.
- Watch for taxonomy drift. A new pricing plan creates a category your classifier has never seen.
Use routing when request types are stable, separable and frequent enough to justify a specialist. Skip it when volume is low or the taxonomy is still shifting weekly.
3. Parallelization: Faster Results Through Concurrent Agent Work
Latency is the cheapest thing to fix in most agent workflows and the most visible to users.
Parallelization runs independent subtasks at the same time and aggregates the results. A compliance review shows the shape. One branch checks a vendor agreement against privacy rules, a second against security requirements, a third against financial terms. Each reads the full document through a different lens, and a merge step de-duplicates findings into one report with a single severity scale.
Sectioning versus voting
Sectioning splits different parts of a task across concurrent branches. Voting runs the same task several times and combines the answers to raise confidence. They solve different problems and fail differently.
The dependency test. Parallelize only subtasks that don't depend on each other. Teams get this wrong by splitting work that shares state, then discovering the branches contradict each other and the merge step has no way to arbitrate.
Voting has a sharper trap. If all three branches run the same model with the same prompt, their errors are correlated, and a majority vote produces false confidence rather than accuracy. Vary the prompt, vary the model, or skip voting entirely.
Cost line: parallelism trades tokens for time. Three branches cost roughly three times the tokens of one, so track cost per completed task instead of cost per call.
- Define the merge rule before building. Majority vote, weighted score or summarizer. Pick one and write it down.
- Set a timeout per branch. One slow tool shouldn't hold the whole job open.
- Decide the partial-failure policy. If one branch errors, do you ship incomplete findings or nothing at all?
Parallelize when the work is independent and a user is waiting. Avoid it when branches share state, or when arbitrating their output would need a reasoning step of its own.
4. Reflection: Self-Critique That Improves Output Quality
The failure this prevents is the first draft that reads well, passes a glance, and is wrong in a way only a test would catch.
A reflection loop has three moves: draft, critique against defined criteria, revise. It stops when the output clears a threshold or reaches a fixed iteration count. The quality gain comes from anchoring critique to evidence the model cannot talk its way around: a failing unit test, a schema violation, a rule engine verdict.

Code generation is the canonical case. Write the function, run the suite, read the failures, patch, rerun. SQL generation follows the same shape: produce the query, validate against the live schema, correct the column names, return it. In both, reflection is cheap only when validation is cheap; if the check needs a human in the loop, the pattern becomes slower drafting with extra steps.
Where reflection goes wrong. A critic with no external anchor can edit a correct answer into a wrong one while sounding more confident each pass. A recent benchmark audit reported disagreement between automated evaluators and expert assessments on 18.5% of 496 tasks (arXiv audit of agent evaluation). Treat model judgement as review input; the verdict belongs to the check.
That is why regression coverage matters more than prompt tuning. Whether the check resembles an expense-tracking regression set, a schema validator, or a rule engine, the automated check should be the judge and the model should act only on what the check reports.
- Write the pass/fail rubric first. A vague rubric produces endless revision because the critic can always find something to polish.
- Cap iterations at two or three. Beyond that, marginal rewrites cost tokens and delay the user without reliably changing the verdict.
- Use a separate prompt for the critic. Different instructions reduce self-agreement and make contradictions easier to surface.
- Log why each loop ended. Passed, capped out and errored are three different signals about the rubric and the harness.
Use reflection when you have an objective signal and quality matters more than latency. Skip it for factual lookups, hard real-time deadlines, and tasks where the only available critic is the same model that made the draft.
5. Tool Use: Agents That Act on Real Systems
The failure this prevents is an assistant answering from training data while the actual answer sits in a work-order system that changed twenty minutes ago.
Tool use lets an agent call functions, APIs, databases or services to retrieve information or take action. The model decides when to call, supplies structured arguments, and folds the result into its response. The pattern was formalized in 2022 as the ReAct loop, which alternates internal reasoning with external actions and observations. On ALFWorld, a household-task benchmark, ReAct reached an average success rate of about 71% against 45% for an action-only baseline (ReAct paper). Reasoning and acting together beat acting alone.

A field-service assistant shows the mechanics. It queries the work-order system for open jobs, checks technician locations, schedules the nearest available visit, then writes the assignment back and confirms it.
The tool catalog is the architecture
Vague tool descriptions produce mismatched calls. Precise ones, with typed inputs and typed error codes, let the agent recover instead of hallucinating success. Where the agent reads live telemetry, that discipline is the difference between a trustworthy decision and an unexplainable one, which is the same reasoning behind our TensorFlow work on smart building efficiency.
- Read-only by default. Grant write scopes per tool, not per agent.
- Confirm irreversible actions. Payments, deletions and outbound emails need an explicit gate.
- Return structured errors. "Rate limited, retry in 30 seconds" lets the agent adapt. A stack trace doesn't.
- Budget the calls. A per-run tool-call limit is the cheapest guardrail you'll ever ship.
Reach for tools whenever the answer depends on current state or the task ends in an action in another system. If the decision path is fixed, call the API directly. It's cheaper and it never wanders.
Cost is the part teams underestimate. Every tool call is a round trip inside the loop, and slow internal APIs dominate end-to-end latency. For read-heavy agents that mostly need external data rather than actions, a pay-per-call data API for AI agents removes a procurement cycle from the build.
6. Planning: Decomposing Goals Into Executable Steps
The failure this prevents is the agent that starts confidently and discovers at step seven that it needed a different system, a different permission, and a rollback nobody wrote.
Planning makes the agent produce an explicit plan first, a high-level goal broken into ordered steps with dependencies, then execute step by step and revise as results arrive. Plan-and-execute variants separate the planner from the executor, which is what makes human review possible before anything changes downstream.
PDEU-Bench treats plan definition, plan execution and plan update as separate evaluation stages, because a system can be good at one and bad at the others (PDEU-Bench). That separation is useful in design too. Record each step with its goal, dependencies, tool schema, inputs, outputs, validation status and compensation action. For logistics and customer operations, where external state changes between calls, that record is what lets you replan instead of restart.
Facility onboarding is a clean example. The request is "bring the new site online." The plan covers network configuration, access control provisioning and building system setup, in that order, each step depending on the one before. When the access vendor reports a delay, the plan updates and flags the blocker instead of skipping ahead without notice.
Ask for the plan as structured output, not prose. A plan you can diff is a plan you can approve.
- Put the approval gate before execution. The plan is the cheapest artifact to review and the only one a human can fully check.
- Refresh state before replanning. A stale read produces a plausible, wrong next step.
- Cap plan length. Current agents handle short tactical plans better than long strategic ones, so split long horizons into checkpoints.
- Record the compensation action. For anything that writes, you need the undo before you need it.
Plan when steps have real dependencies, when a human should see the sequence first, or when a mid-run failure is expensive. Skip it for single-step requests and for exploratory work where the path only reveals itself by trying.
7. Multi-Agent Collaboration: Specialists Working Together
The failure it prevents is one agent carrying detection, diagnosis and remediation in a single context, where an early bad observation poisons every step after it.
Multi-agent collaboration assigns roles to separate agents: researcher, planner, executor, reviewer. An orchestrator coordinates through shared state or explicit messages, and each agent keeps a focused context and tool set. The gain isn't raw intelligence. It's that each role can be tested, replaced and improved without touching the others.
The evidence holds when the roles are real. A 2026 empirical study tested a hierarchical design across 5,000 synthetic enterprise automation tasks covering financial-data processing, code generation and customer support, with a Worker Agent for planning and execution, a Supervisor Agent for evaluation and routing, and a State Manager for context persistence. It achieved a 98.2% task-success rate, required human intervention on only 14.5% of decision steps, and cut mean task latency by 89% against a static human-in-the-loop baseline (Springer study of hierarchical multi-agent design). Dynamic escalation, not constant approval, is what made that result possible.
Narrow channels, audited handoffs
Australia's Department of Industry recommends structured handoffs that limit the free-form channels agents can use, monitoring across the whole agent network rather than individual outputs, and honeypot evaluations that test whether agents behave differently when told monitoring is absent (Australia's Department of Industry guidance on multi-agent risks and controls). Narrow interfaces and adversarial testing are what keep a collaboration from drifting into improvised coordination nobody can audit.
- Start with two or three agents. Add a role when a specific failure traces to mixed responsibilities, not before.
- Write handoff contracts. Input and output schemas, not "pass the context along".
- Set step limits and timeouts. Loops multiply fast when two agents keep handing work back.
- Log every inter-agent message. That log is your only audit trail when something goes wrong.
Use multi-agent design when the domains are separable and each needs different tools and permissions. Avoid it as a default, because each extra agent adds a failure surface and a coordination bug that the others have to absorb. If you're weighing topologies, this overview of multi-agent orchestration architecture is a useful reference.
How the seven agentic AI design patterns compare
ItemBest forMain trade-offCost and latency profilePrompt ChainingPredictable tasks with known steps and validation needsErrors can propagate if checks are weak; latency grows with each stepPredictable overall; sequential calls add latencyRoutingRequests that benefit from specialized handlersMisclassification can send requests to the wrong handlerCan lower cost by routing simple requests to lighter models; classification adds overheadParallelizationIndependent subtasks where faster completion or consensus mattersHigher compute use and more complex result aggregationLower end-to-end latency; higher token and compute costReflectionTasks with clear criteria for reviewing and improving outputsSelf-critique can miss errors; repeated revisions add overheadEach iteration adds cost and latencyTool UseTasks requiring live data or actions in external systemsTool errors, permissions, and external dependencies can disrupt executionEach external call adds latency and a potential failure pointPlanningLong, multi-step goals that may need tracking or replanningPoor plans waste effort; planning can be unnecessary overhead for simple tasksPlanning adds overhead before or during executionMulti-Agent CollaborationComplex tasks that benefit from distinct roles and expertiseCoordination can cause miscommunication and make debugging harderCoordination increases cost and latency
Start Simple, Then Add Structure Only Where Failures Appear
Choose the simplest pattern that meets your reliability target. Add a validation check at every handoff. Introduce parallel branches, critique loops or extra agents only when a single chain demonstrably breaks down in a specific, repeatable way.
That last word matters. "The agent feels unreliable" isn't a failure mode you can design against. "Extraction fails on scanned claim forms" is, and it points straight at the fix.
Before you scale a workflow, compare it against the deterministic automation it replaces, including retries, latency, token spend, escalation volume and recovery effort. A 2026 review in Springer's Cognitive Computation argues that conventional benchmarks score only the final output and miss intermediate reasoning quality, reliability and coordination failures, pointing to GDPval as an example of evaluation moving toward real-world work rather than isolated responses (Springer review of agent evaluation). Build the step-level trace first. Without it, you can't tell whether the model, the tools or the orchestration caused the miss.
The governance dimension deserves the same discipline. Enterprise research treats autonomy calibration, human-agent teaming and embedded guardrails as distinct design concerns rather than one approval checkbox (AIS Electronic Library study of agent governance), which is the case for budgeted autonomy: explicit caps on tool calls, spending, execution time, data access and irreversible actions, with escalation thresholds tied to business impact. A technically successful action can still be a regulatory failure in healthcare, finance or energy.
Faberwork LLC designs agentic AI solutions, LLM applications, AI agents and RAG pipelines, with more than 20 years of delivery experience and 50 engineers, and works with teams on exactly this kind of pattern selection. If you're validating agent behavior before scaling, AskYourQA's AI agent testing guide covers the evaluation mechanics in more depth.
Start with one workflow, one chain and one measurable accuracy target. Map the pattern you need against the failure you can name, instrument it, and expand only where the trace shows you the next bottleneck. That approach costs less than a rebuild and gives your team a defensible answer when someone asks why the agent is allowed to do what it does.