What you will be able to do
- Map a business process step by step and find the steps where Claude adds value before choosing any technology
- Decide, step by step, whether an LLM or a conventional approach fits better
- Pick the simplest solution shape (a single augmented call, a workflow or an agent) that solves the problem
- Match the solution shape to a build path: Claude apps, the Messages API, the Agent SDK or Managed Agents
- Choose a model tier that fits each workload's volume, latency, cost and reasoning needs
- Tie each success criterion to the business outcome it serves
Key concept
Process-first solution design — Start by mapping how the business does the work today and where the pain sits. Then give Claude only the steps where it clearly helps, using the simplest shape and build path that solves the problem. The model and the architecture come after the process is understood.
1.Map the business process before choosing a model
A business problem arrives as a complaint, not as a spec. Tickets land with the wrong team, support queues overflow during a launch, or lawyers spend hours summarising contracts. Asking "which model?" at this point skips the real question: which part of the current process causes the pain? Anthropic's ticket-routing guide opens by investigating the existing system, before any prompt is written. It asks how the support team routes tickets today, what decides the SLA a ticket gets, and whether the routing chooses a support tier or a product specialist.
The most revealing question is where the current automation breaks. If rules or workflows are already in place, find out exactly where they fail and how the team handles edge cases and ambiguous tickets. Those failure points are usually where the value sits. A keyword rule that sends every ticket mentioning "payment" to billing works until a customer writes about a payment-page bug. That ticket is a software problem, and a human fixes the routing by hand. Each manual correction like that is a cost you can count, and a step Claude might take over.
Once the process is mapped, break the target interaction into separate tasks. Customer support chat looks like one feature, but it is a collection of multiple different tasks, from question answering to information retrieval to taking action on requests. Anthropic's worked example is a car-insurance support chatbot: a customer opens a chat, asks about coverage for a new electric car, drifts into an off-topic question, then asks for a quote. Its tasks are greeting, product information, conversation management (staying on topic about car insurance) and quote generation through an API. Each task gets its own prompt and its own evaluation. You cannot test "the chatbot" as a whole, but you can test whether quote generation asks the right eligibility questions.
Checkpoint 1 of 9· Check yourself
An insurer wants a Claude support chatbot that greets customers, answers questions about electric-car coverage, stays on the topic of car insurance and produces quotes through a quoting API. The team plans to write one system prompt and track one overall quality score for "the chatbot". What should they do before building?
Support chat is several tasks bundled into one conversation. Splitting it into those tasks lets you prompt and test each one, for example checking whether quote generation asks the right eligibility questions, which one overall score for the whole chatbot cannot show.
“break down your ideal customer interaction into every task you want Claude to be able to perform. This ensures you can prompt and evaluate Claude”Source: platform.claude.com
2.Decide which steps Claude should do
Not every step in the map belongs to an LLM. Claude earns a step when the work involves language, judgement or variety that rigid systems handle badly. For ticket classification, Anthropic lists concrete signals that favour Claude over traditional ML:
- Labelled data is scarce: Claude can classify with a few dozen labelled examples, where traditional ML needs massive labelled datasets.
- Categories change often: Claude adapts to new or redefined classes without extensive relabelling.
- Inputs are unstructured, or classes are defined by conditions rather than by examples.
- Decisions must be explainable: Claude can give human-readable reasons for each classification.
- Tickets arrive in many languages, and you do not want a separate model for each one.
In support chat, the signals relate to volume and coverage. Claude handles a large number of similar questions efficiently, which frees human agents for complex issues. It also provides round-the-clock coverage and absorbs sudden spikes without new hires. If none of these apply, Claude may not be the right tool for the step. A stable, well-labelled, single-language classification problem that a traditional model already solves is one example.
The model's limits shape the design too. A language model produces text by predicting the next token, so every answer is the most plausible continuation, not a looked-up fact. That works well for summaries and classifications, and it fails in predictable places: a citation that reads correctly but does not exist, a precise figure or name the model never learned, anything that happened after its knowledge cutoff, and details specific to your company that were never in its training data. Where coverage is thin, the model still writes fluent text, so fabrication looks the same as accuracy. A step that needs current or company-specific facts is therefore designed with retrieval, web search or a tool from the start. Any step whose output cannot be checked needs a human or a programmatic gate after it.
Checkpoint 2 of 9· Check yourself
A support pipeline has three steps. First, a keyword rule routes tickets, and agents fix misrouted ambiguous tickets by hand every day. Second, a database lookup sets each ticket's SLA from the customer's contract tier. Third, a script posts the ticket to the chosen team's queue. Where should Claude go first?
Claude helps most where the work involves language, judgement or variety that rigid rules handle badly. Here that is the routing step, where ambiguous tickets get misrouted and fixed by hand. The SLA lookup and queue posting are fixed, deterministic steps that already work, so the right design changes the painful step and leaves the working ones alone.
“potentially reducing the number of misrouted or unclassified tickets that require manual intervention”Source: platform.claude.com
3.Pick the simplest solution shape
The rule for solution shape is to use the simplest one that works, and add complexity only when evidence shows it is needed. Sometimes that means not building an agentic system at all. Agentic systems often trade latency and cost for better task performance, so every step up has to pay for itself. From simplest to most complex, there are three shapes.
The base is the augmented LLM: one call to a model that has retrieval, tools and memory. Retrieval-augmented generation (RAG) is this shape with a retrieval step that adds relevant documents to the prompt. Ticket routing, for example, is a classification task. One well-prompted call that returns its reasoning and an intent label solves it.
Next come workflows, where LLMs and tools are orchestrated through predefined code paths. Your code fixes the sequence, for example classify, then hand off to a specialised prompt. This makes the system predictable and consistent for well-defined tasks.
At the top are agents, where the LLM directs its own process and tool use and decides how to reach the goal. Agents win when the steps cannot be known in advance and flexible, model-driven decisions are needed at scale. A coding change that touches an unknown number of files is the typical case.
The process map tells you which shape you need. If the mapped steps are fixed and the same every time, code can sequence them, so build a workflow. If the number or order of steps depends on the input, the model has to decide, so build an agent. The specific workflow patterns, such as chaining, routing and orchestrator-workers, are compared in architectural patterns.
Checkpoint 3 of 9· Match them up
Each situation below needs a solution shape. Match each shape to the situation where it is the simplest one that works.
Tap a term, then the definition that fits it.
Start with the simplest shape. A well-defined classification needs only one augmented call. Fixed steps that never change can be ordered in code as a workflow. Only when the steps depend on the input does the model need to choose them as an agent.
“workflows offer predictability and consistency for well-defined tasks, whereas agents are the better option when flexibility and model-driven decision-making are needed at scale.”Source: www.anthropic.com
4.Match the shape to a build path
After the shape comes the build path, and the deciding question is how much of the implementation you want to own. The three API-based paths trade control against offloaded work. The Messages API gives the most control, because you write the agent loop and run your own tools and infrastructure. The Agent SDK provides the loop and tool execution in a process you operate. Managed Agents offloads the most: Anthropic hosts the loop, tool execution and runtime.
| You want to | Use | What you get |
|---|---|---|
| Call the Claude API directly from your own code | Client SDK (Messages API) | Direct API access; you write the tool loop yourself, or let the beta tool runner drive it |
| Embed an agent in your own Python or TypeScript application, in a process you operate | Agent SDK | Claude Code's built-in tools, permissions, sessions, hooks and subagents as a library |
| Have Anthropic host the agent, configured through the Claude API | Managed Agents | A hosted harness running the loop, with sessions in an Anthropic-managed or self-hosted sandbox |
| Do interactive development or run one-off tasks from a terminal | Claude Code CLI | The terminal interface, built for daily interactive use |
Each shape points toward a natural build path. A single augmented call or a short workflow fits the Messages API, because many patterns take only a few lines of code there. Starting with the API directly also keeps the prompts and responses visible, so they are easier to debug than behind a framework's abstractions. An agent that needs file, shell and web tools inside your own service fits the Agent SDK. A workload that runs for minutes or hours, needs sandboxed cloud infrastructure, or should not require you to build a loop and sandbox at all fits Managed Agents. Managed Agents can also run sandboxes on your own infrastructure when compliance or data residency requires it.
Some business problems need no build at all. In the Claude apps, artifacts let a non-developer describe a tool in conversation and get a shareable interactive app without writing code. An internal team that needs a flashcard generator or a small form helper can start there. Engineering effort is better spent on the processes that need system integration.
Checkpoint 4 of 9· Match them up
Three teams have each already chosen a solution shape. Now they have to decide how much of the implementation to own. Match each build path to the team it fits best.
Tap a term, then the definition that fits it.
The build paths differ in who operates the implementation. With the Messages API you write the loop yourself. The Agent SDK gives you the loop and tools in a process you run. With Managed Agents, Anthropic hosts the loop, tool execution and runtime.
“With Claude Managed Agents, you offload the most: Anthropic hosts the agent loop, tool execution, and runtime for you.”Source: platform.claude.com
5.Fit the model tier to each workload
Model choice comes last because it depends on what the mapped steps demand: capability, speed and cost. Model selection trade-offs covers this in depth. At the solution-design level, match each workload's profile to the tier built for it.
| When you need | Start with | Example workloads |
|---|---|---|
| The lowest latency and price | Claude Haiku 5.5 | Real-time applications, high-volume intelligent processing, cost-sensitive deployments needing strong reasoning, sub-agent tasks |
| Speed and capability for everyday coding, agent and enterprise workloads | Claude Sonnet 5.5 | Code generation, data analysis, content creation, visual understanding, agentic tool use |
| Complex agentic coding and enterprise work | Claude Opus 5.5 | Multihour autonomous coding agents, large-scale refactoring, complex systems engineering, computer use |
| The highest available capability | Claude Fable 5.1 | Agent sessions that run for hours, multistep deep research, analysis carried through to a finished document |
Read the requirements in a scenario as a profile and match it to a tier. Here are three common profiles:
- Haiku: high volume, tight latency, tight cost. Take a chat widget that must answer within a few hundred milliseconds at flash-sale volume, on a strict per-conversation budget. That profile points to Haiku. Haiku is still built for deployments needing strong reasoning, so multi-turn troubleshooting does not by itself push the workload up a tier. Ticket routing is the same profile: Haiku is the fastest and most cost-effective current model and handles high-volume classification well.
- Opus: multi-hour autonomous work, correctness over cost. An agent that plans and runs a multi-hour refactor of a large legacy codebase, with few human checkpoints, fits Opus. Opus is built for long-running agentic coding and large-scale refactoring. Running many cheap parallel attempts or adding context does not make up for weaker reasoning on that work.
- Sonnet: one default for everyday work. A company-wide default for code generation, data analysis, drafting and agentic tool use fits Sonnet. Sonnet balances speed and capability for everyday workloads without premium pricing on every call.
Effort is a setting, supported by several Claude models, that trades intelligence (how much reasoning the model applies) against latency and cost within a single model. Turning it down makes responses faster and cheaper, and turning it up buys more reasoning on hard problems, so tuning it is often a better lever than switching models.
For a new build, there are two ways to start testing. The cost-first path begins with Haiku, tests the use case thoroughly, and upgrades only to close a specific capability gap. The capability-first path begins with Opus for complex reasoning or high-autonomy agentic work, then lowers effort or moves to a smaller model as the workflow is optimised. The process map often uses both. A cheap tier handles bulk steps such as routing, and a stronger tier handles the few hard ones.
Checkpoint 5 of 9· Check yourself
During a flash sale, a retailer's support widget has to reply within a few hundred milliseconds. It handles thousands of conversations at once on a strict per-conversation budget. Some conversations involve multi-turn troubleshooting. Which model should the team start testing with?
High volume, tight latency and a tight budget point to Haiku, which is built for cost-sensitive deployments that still need strong reasoning. Multi-turn troubleshooting alone does not justify a higher tier. The cost-first path starts with Haiku and upgrades only to close a specific capability gap.
“Real-time applications, high-volume intelligent processing, cost-sensitive deployments needing strong reasoning, sub-agent tasks”Source: platform.claude.com
Checkpoint 6 of 9· Exam question
A retail company is building a customer-support chat widget that must handle very high message volume during flash sales, respond within a few hundred milliseconds, and stay within a tight per-conversation cost budget, while still handling multi-turn troubleshooting reasoning correctly. Which model should the architecture team select as the primary model for this workload?
Correct answer: B — Deploy Claude Haiku 4.5, since it delivers near-frontier reasoning at the lowest per-token cost with the fastest response times available.
- A. Incorrect. Opus 4.8 is positioned for complex agentic coding and enterprise work with moderate latency, not for the lowest-latency, cost-sensitive, high-volume support workload described here.
- B. Correct. Haiku 4.5 is described as the fastest model with near-frontier intelligence at the most economical price point, matching the flash-sale volume, latency, and cost constraints.
- C. Incorrect. Sonnet 5 is a strong general-purpose choice for coding and agentic workflows, but its cost and latency profile is not the best fit when Haiku 4.5 already meets the reasoning bar at lower cost and higher speed.
- D. Incorrect. Fable 5 targets long-running agentic intelligence at premium pricing and slower comparative latency, which conflicts directly with the sub-second, cost-sensitive requirement.
Checkpoint 7 of 9· Exam question
An enterprise engineering organization needs an agent that can autonomously plan and execute a multi-hour refactor across a large, complex legacy codebase with minimal human checkpoints, prioritizing correctness over cost. Which model is the best fit for this workload?
Correct answer: C — Claude Opus 4.8, because it is built for complex agentic coding and large-scale refactoring with minimal supervision at enterprise scale.
- A. Incorrect. Running many cheap parallel attempts does not substitute for the sustained reasoning depth an autonomous multi-hour refactor with minimal checkpoints requires.
- B. Incorrect. Sonnet 5 handles many agentic coding tasks well, but it is not the model Anthropic positions for the most complex, high-autonomy, enterprise-scale refactoring work described here.
- C. Correct. Opus 4.8 is explicitly positioned for complex agentic coding and enterprise work, including multi-hour autonomous coding agents and large-scale refactoring.
- D. Incorrect. Context window size is independent of reasoning depth; extending Haiku 4.5's context does not give it Opus-level reasoning for a correctness-prioritized, low-supervision refactor.
Checkpoint 8 of 9· Exam question
A company wants a single default model for most of its internal tooling: code generation, data analysis, content drafting, and agentic tool use across many teams, seeking the best combination of frontier intelligence and everyday speed without paying premium enterprise pricing. Which model should they standardize on?
Correct answer: B — Claude Sonnet 5, because it offers frontier intelligence at scale for coding, agents, and everyday workflows at moderate cost.
- A. Incorrect. Opus 4.8 targets complex agentic coding and enterprise work at premium pricing, which is more than most everyday drafting and analysis tasks need.
- B. Correct. Sonnet 5 is described as frontier intelligence at scale built for code generation, data analysis, content creation, and agentic tool use at moderate, introductory pricing.
- C. Incorrect. Haiku 4.5 is a strong economical choice for high-volume or latency-sensitive tasks, but it is not positioned as the best all-around fit for mixed coding, analysis, and drafting work across many teams.
- D. Incorrect. Fable 5 is priced and designed for next-generation, long-running agent intelligence, which is a costlier and narrower fit than the broad, moderate-cost standardization the company wants.
6.Tie success criteria to the business outcome
A solution is judged by whether it relieves the pain found in the process map, not by how well the model behaves in isolation. Good criteria are specific, measurable, achievable and relevant, as taught in measurable success criteria. The relevance part matters most here: each criterion has to trace back to a business outcome that someone in the organisation already tracks.
The support guides keep two lists apart. Task criteria cover the model's work, such as intent-comprehension accuracy of 95% or higher, or 100% accuracy on generated quotes. Business-impact criteria cover the outcome the business pays for. For a support chatbot, that means a deflection rate of typically 70–80% of inquiries handled without a human, a CSAT of 4 out of 5 or higher, and a lower average handling time than human agents. For ticket routing, the business measures include a 10–20% improvement in tickets resolved per agent, an escalation rate below 20%, and a 10–15% reduction in cost per ticket.
Each task metric should explain how it moves a business metric. If it cannot, it is a vanity metric. Routing accuracy matters because misrouted tickets get escalated and handled twice. So report routing accuracy next to the escalation rate and cost per ticket it is meant to reduce. Define both lists with the support team that owns the process, not only with the engineers building the solution. That way the targets reflect the real shape of the work, including the edge cases the team already handles by hand.
Check whether the step Claude automated was really where the cost sat. If agents still re-triage tickets or escalations stay high, the pain is downstream of classification. Possible causes are bad categories, missing routing factors such as SLA or language, or a slow handoff. Accuracy alone does not show that the business outcome improved.
Checkpoint 9 of 9· Check yourself
Engineers want to judge a new Claude ticket-routing step on a single number: 95% routing accuracy on a held-out test set. Which change best ties the success criteria to the business outcome?
Routing accuracy matters because misrouted tickets get escalated and handled twice, so it should be reported with the business metrics it is meant to move: escalation rate and cost per ticket. Agreeing the targets with the support team keeps them tied to the real work. The other options only stack up more task metrics or throw away the task metric altogether.
“This measures how often tickets need to be escalated to higher tiers of support. Lower escalation rates often indicate more accurate initial routing.”Source: platform.claude.com
Sources
(9)
Every claim above is drawn from one of these pages, quoted as it was written on the date shown.
- 1.
“Before you automate, it's crucial to understand your existing ticketing system.”
↩︎ Map the business process before choosing a model“Are there any automated rules or workflows already in place? In what cases do they fail?”
↩︎ Map the business process before choosing a model“Claude's pre-trained model can effectively classify tickets with just a few dozen labeled examples, significantly reducing data preparation time and costs.”
↩︎ Decide which steps Claude should do“Claude can provide human-readable explanations for its classification decisions, building trust in the automation system”
↩︎ Decide which steps Claude should do“Ticket routing is a type of classification task.”
↩︎ Pick the simplest solution shape“it's the fastest and most cost-effective current model”
↩︎ Fit the model tier to each workload“many organizations aim to reduce cost per ticket by 10–15% after implementing an improved routing system.”
↩︎ Tie success criteria to the business outcome“Work with your support team to define clear success criteria with measurable benchmarks, thresholds, and goals.”
↩︎ Tie success criteria to the business outcome“The more you know about how humans handle certain cases, the better you can work with Claude to do the task.”
↩︎ Key concept“potentially reducing the number of misrouted or unclassified tickets that require manual intervention”
↩︎ Checkpoint“This measures how often tickets need to be escalated to higher tiers of support. Lower escalation rates often indicate more accurate initial routing.”
↩︎ Checkpoint - 2.
“Customer support chat is a collection of multiple different tasks, from question answering to information retrieval to taking action on requests”
↩︎ Map the business process before choosing a model“Here is an example chat interaction for car insurance customer support:”
↩︎ Map the business process before choosing a model“Claude excels at handling a large number of similar questions efficiently, freeing up human agents for more complex issues.”
↩︎ Decide which steps Claude should do“Here are criteria and benchmarks that can be used to evaluate the business impact of employing Claude for support:”
↩︎ Tie success criteria to the business outcome“Typically aim for 70-80% deflection rate, depending on the complexity of inquiries.”
↩︎ Tie success criteria to the business outcome“break down your ideal customer interaction into every task you want Claude to be able to perform.”
↩︎ Exam trap 4“break down your ideal customer interaction into every task you want Claude to be able to perform. This ensures you can prompt and evaluate Claude”
↩︎ Checkpoint - 3.
“Explain Next Token Prediction as the core generative mechanism and identify where fabrication concentrates”
↩︎ Decide which steps Claude should do“recognize when web search, retrieval, or tool use is the fix”
↩︎ Decide which steps Claude should do - 4.https://www.anthropic.com/engineering/building-effective-agentsSecondary source
“Agentic systems often trade latency and cost for better task performance”
↩︎ Pick the simplest solution shape“The basic building block of agentic systems is an LLM enhanced with augmentations such as retrieval, tools, and memory.”
↩︎ Pick the simplest solution shape“Workflows are systems where LLMs and tools are orchestrated through predefined code paths.”
↩︎ Pick the simplest solution shape“workflows offer predictability and consistency for well-defined tasks, whereas agents are the better option when flexibility and model-driven decision-making are needed at scale”
↩︎ Pick the simplest solution shape“We suggest that developers start by using LLM APIs directly: many patterns can be implemented in a few lines of code.”
↩︎ Match the shape to a build path“we recommend finding the simplest solution possible, and only increasing complexity when needed. This might mean not building agentic systems at all.”
↩︎ Exam trap 1“For many applications, however, optimizing single LLM calls with retrieval and in-context examples is usually enough.”
↩︎ Prediction“workflows offer predictability and consistency for well-defined tasks, whereas agents are the better option when flexibility and model-driven decision-making are needed at scale.”
↩︎ Checkpoint - 5.
“The Messages API gives you the most control: you write the agent loop and run your own tools and infrastructure.”
↩︎ Match the shape to a build path“The Claude Agent SDK sits in between, providing the agent loop and tool execution in a process you operate.”
↩︎ Match the shape to a build path“With Claude Managed Agents, you offload the most: Anthropic hosts the agent loop, tool execution, and runtime for you.”
↩︎ Exam trap 3“With Claude Managed Agents, you offload the most: Anthropic hosts the agent loop, tool execution, and runtime for you.”
↩︎ Checkpoint - 6.
“Long-running execution: Tasks that run for minutes or hours with multiple tool calls”
↩︎ Match the shape to a build path“Self-hosted execution: Sandboxes on infrastructure you control for compliance or data-residency requirements”
↩︎ Match the shape to a build path - 7.https://claude.com/blog/build-artifactsSecondary source
“Artifacts turn anyone into an app creator—no coding needed.”
↩︎ Match the shape to a build path - 8.
“Multihour autonomous coding agents, large-scale refactoring, complex systems engineering”
↩︎ Fit the model tier to each workload“Speed and capability for everyday coding, agent, and enterprise workloads”
↩︎ Fit the model tier to each workload“Upgrade only if necessary for specific capability gaps.”
↩︎ Fit the model tier to each workload“Several Claude models support an effort parameter that trades intelligence for latency and cost within a single model.”
↩︎ Fit the model tier to each workload“Real-time applications, high-volume intelligent processing, cost-sensitive deployments needing strong reasoning, sub-agent tasks”
↩︎ Exam trap 2“Real-time applications, high-volume intelligent processing, cost-sensitive deployments needing strong reasoning, sub-agent tasks”
↩︎ Checkpoint - 9.
“Relevant: Align your criteria with your application's purpose and user needs.”
↩︎ Tie success criteria to the business outcome