Agentic Design Patterns in Production: How Each One Breaks
Prakash Donga•1 Dec 26•8 Min Read

A router sends a billing request to technical support. A booking API commits a write, times out, and receives the same request again. A planner selects a tool the application cannot execute. Each agentic design pattern creates different failure points and recovery requirements.
TL;DR
- Choose the simplest pattern that meets the task: Routing, planning, and multi-agent orchestration introduce coordination costs that predictable workflows may not need.
- Match controls to failure modes: Routing needs a path for ambiguous requests; parallel branches need a merge rule; external writes need idempotency and reconciliation.
- Use shared evaluations and traces: Test end-to-end outcomes, replay failures, and track quality and cost per successful task.
- Enforce runtime limits in code: The application controls tool permissions, execution budgets, persisted state, and escalation when a task cannot finish.
What are agentic design patterns?

Agentic design patterns are reusable ways to structure how an LLM application plans, calls tools, checks its work, and hands off to people or other agents. Anthropic’s Building effective agents distinguishes workflows, where code determines the sequence, from agents, where a model chooses its next action. The nine below cover Anthropic’s workflow patterns, the four Andrew Ng popularized (reflection, tool use, planning, and multi-agent collaboration), ReAct loops, and human approval. Production systems combine them: a routed request might start a ReAct loop, call a specialist, and pause for approval before making a consequential change.
The first table identifies operational failures; the later selection guide helps assess architectural fit.
Nine agentic design patterns and their failure modes
Operational failure reference
| Pattern | Typical production failure | Leading signal | Pattern-specific response |
|---|---|---|---|
Prompt chaining | An invalid handoff corrupts downstream work | Final task fails despite healthy individual steps | Typed handoff contract and boundary validation |
Routing | Wrong specialist handles a request | Misroutes on labeled and ambiguous inputs | Calibrated routing threshold and unknown queue |
Parallelization | Branches conflict or share the same error | Contradictory merged output | Explicit merge rule and dependency check |
Tool use | A retry repeats a committed write | Duplicate records after uncertain responses | Idempotency key and state reconciliation |
ReAct loops | Agent repeats actions without progressing | Rising p95 steps for the same task type | No-progress detection and termination |
Reflection | Revisions stop improving the answer | More revisions with flat external scores | Independent evaluator and revision limit |
Planning | Plan contains invalid or stale steps | Tool/schema failures and repeated replanning | Preflight validation and dependency recheck |
Multi-agent orchestration | Delegation loses state or accountability | Rework and unresolved handoffs | Structured task contract and one final owner |
Human-in-the-loop | Reviewers approve without meaningful inspection | Falling review time on high-risk actions | Evidence-rich review and reviewer-quality tests |
1. Prompt chaining
Failure: An invoice workflow misreads a date. Later steps calculate the wrong payment deadline even though each individual step appears successful.
Pattern-specific control: Use typed handoffs and validate dates, totals, and required fields before advancing. Stop at the failed boundary and correct the input instead of rerunning the entire chain.
2. Routing
Failure: A billing question reaches a technical-support specialist and gets a plausible answer from the wrong knowledge base.
Pattern-specific control: Test routing on labeled requests, including ambiguous cases. Calibrate a threshold against measured accuracy and send unresolved requests to an unknown queue. As categories stabilize, compare the LLM router with a smaller classifier or fixed rules.
3. Parallelization
Failure: Branches produce contradictory answers. Repeated calls to the same model may also vote for the same mistake.
Pattern-specific control: Identify dependencies, define a merge rule in code, and evaluate the combined result. Reduce concurrency if conflicts or coordination erase the speed gain.
4. Tool use
Failure: A booking API commits a reservation but times out, prompting a duplicate retry. Untrusted retrieved text may also steer an agent that has private-data access and outbound tools.
Pattern-specific control: Use idempotency keys on writes and reconcile uncertain outcomes against the system of record before retrying. Treat retrieved text as data. OWASP’s excessive-agency guidance calls for narrowly scoped tools and end-user authorization.
From production: On our pharmacogenetics voice-AI project, the agent verifies the provider before disclosing patient information. Medication alternatives come from the client’s APIs, while the model handles the conversation and retrieves supporting research.
5. ReAct loops
A ReAct agent alternates model decisions with tool results. It can repeat calls or revisit unchanged evidence without progressing.
Detection and recovery: Compare p95 steps within each task type and inspect repeated outputs. When results stop changing, terminate the run and preserve partial work for review. Runtime limits appear in the example below.
6. Reflection (evaluator–optimizer)
Failure: An agent keeps revising an answer without improving it. Evaluators may share the generator’s blind spots, so external feedback matters.
Pattern-specific control: Check revisions against tests, source documents, or human-labeled rubrics. Limit rounds and retain the best-scoring candidate with its evaluation result.
From production: In our retail knowledge platform, answers cite the source file, page, and signed link. Its retrieval pipeline abstains below a project-specific 0.38 cutoff, established for that implementation. Other applications need their own calibrated threshold.
7. Planning
Failure: A plan calls an unavailable tool, lacks an input, or becomes stale after execution begins.
Pattern-specific control: Validate plans against available tools and argument schemas. Recheck dependencies as steps complete; switch to a deterministic route if replanning repeatedly fails.
From production: On the retail platform, first-try plan success reached about 80% after more than 12 prompt iterations. The remaining requests use a slower deterministic route. That metric describes plan generation success, not overall answer accuracy.
8. Multi-agent orchestration
Failure: Workers duplicate effort, lose context at handoff, or leave final ownership unclear.
Pattern-specific control: Assign one owner for the final response. Pass structured task contracts and store shared state outside model contexts. Report incomplete work when a worker fails. Compare quality and latency against a single-agent baseline.
From production: Our retail platform has separate Store Ops and Loyalty agents. Redis stores session context, scoped IAM controls access, and OpenTelemetry traces are sent to BigQuery. Customer PII remains within the Loyalty system instead of passing through the orchestrator.
9. Human-in-the-loop
Failure: Approval queues grow, and reviewers start accepting actions without examining the evidence.
Pattern-specific control: Show reviewers the proposed action, evidence, and consequence together. Test reviewer accuracy with known scenarios. Keep mandatory gates for consequential actions and sample-audit suitable reversible ones. Assign after-hours queue ownership.
Controls shared across agentic patterns
Three practices apply across all nine patterns.
Evaluate complete tasks
Version task-level evaluations covering normal, edge, permission-failure, and adversarial cases. For a narrow MVP, 50–100 representative cases can expose early problems but cannot establish production reliability. Gate releases on regressions, use canary rollouts, and calibrate model judges against human labels.
Diagnose failures from traces
Trace model proposals, tool responses, state changes, and outcomes. Replay failures, change one variable at a time, and add confirmed cases to regression tests. Our agent monitoring guide covers trace design and production signals.
Prepare data and incident procedures
Redact sensitive logs, set retention periods, and isolate tenants. Give outages, uncertain writes, and permission breaches separate runbooks: bounded backoff, reconciliation, and immediate containment, respectively.
How to choose an agentic design pattern
Architecture selection guide
Use this table to justify each additional pattern against a simpler alternative.
| Requirement | Pattern | Main implementation overhead | Prefer a simpler design when |
|---|---|---|---|
Fixed sequence of steps | Prompt chaining | Multiple model calls and handoff contracts | One prompt passes the task evaluation |
Requests map to known categories | Routing | Classification and specialist maintenance | Explicit rules route requests reliably |
Independent work can run concurrently | Parallelization | Branch coordination and merging | Tasks depend on earlier outputs |
Task requires external data or actions | Tool use | Tool schemas, permissions, and write recovery | No external interaction is required |
Next action depends on tool results | ReAct loops | Iterative calls and progress tracking | The path can be predetermined |
Output improves through repeatable critique | Reflection | Evaluator and revision cycles | There is no reliable improvement signal |
Task requires dynamically ordered steps | Planning | Plan validation and replanning | The steps are stable |
Work needs separate contexts or permissions | Multi-agent orchestration | Handoff contracts and coordination | One agent meets quality and latency targets |
Consequential actions require approval | Human-in-the-loop | Review queues and decision evidence | Established controls are sufficient for low-risk actions |
How SoluteLabs builds production agent systems
At SoluteLabs, our Agentic Harness follows INFORM → SPEC → BUILD → VERIFY. Engineers define constraints, build against approved specifications, and verify changes before release. We design authorization, execution traces, and recovery into agent architectures.
We decide where the workflow needs model judgment and where deterministic code is enough. That determines whether to introduce routing, an agent loop, or multi-agent coordination.
Talk to our team about AI agent development if you’re evaluating an architecture for production.
