FDE Times dataFDE jobs open 932▼14 Change in open roles over 7 days, like-for-like: roles from companies we started tracking this week are left outNew in 7 days 62Companies hiring 202Remote-friendly 24%Median US pay $201kTop hirer Databricks 92
中文VI

The newspaper of the Forward Deployed Engineer

Guides

A ten-step agent that is 95% right per step fails 40% of the time

You can do the multiplication before writing any code, and even at 99% per step a 20-step chain drops to 82%, so cutting steps beats polishing prompts.

ShareLinkedInFacebookX

In brief

  • At 95% per step, ten steps leave about 60% and twenty steps about 36%.
  • In practice per-step accuracy also falls as the chain grows longer, so results can be worse than the formula.
  • The most effective fix is fewer LLM steps, then risk-based checks and a workflow that resumes from the point of failure.
Horizontal bar chart of an agent workflow's overall success rate when each step is 95% accurate: 1 step 95%, 5 steps about 77%, 10 steps about 60% (highlighted in orange), 20 steps about 36%.
Getting each step right 95% of the time sounds fine, but the probabilities multiply: by step ten, the whole workflow succeeds only about 60% of the time. Source: the p^n calculation in the article, matching Mirantis's table and Utkarsh Kanwat's calculations.

An agent whose every step is right 19 times out of 20 can still get the whole job wrong nearly two times in five. Take a hypothetical client demo that goes smoothly. You tested each step of the agent on its own, and each one was right about 19 times out of 20. Then the full ten-step workflow runs on real data, and close to two runs in every five end with a wrong result or stall halfway.

Bad luck has nothing to do with it. It is multiplication, and you can do the sum before writing the first line of code.

For an FDE, this calculation decides two things: how you design the workflow at the client, and what number you dare promise them. Anyone who reports only per-step accuracy will sooner or later have to explain why production is worse than the demo.

How does 95% become 60%?

The formula is simple. A chain of n sequential steps, each right with probability p, succeeds as a whole with probability of roughly p^n. With ten steps at 95%, 0.95^10 gives about 59.9%.

Steps End-to-end success rate (p = 95%)
1 95%
5 about 77%
10 about 60%
20 about 36%
50 about 7%

Mirantis published an almost identical table, with about 59% at ten steps, and observed that even at 95% per step, which is already very optimistic, the workflow it analyzed still failed about 40% of the time. Utkarsh Kanwat, an engineer who builds his own agents, arrives at the same figures and argues that 95% is an optimistic level for today’s LLMs.

Try p = 99% and the point becomes clear: 20 steps still leave only about 82%. Polishing each step’s prompt helps, but a big jump in the number requires cutting steps.

Why can the real number be worse?

The p^n formula assumes each step is independent and has a fixed accuracy. Mirantis argues that in practice compounding errors are worse than pure multiplication.

A paper at ICLR 2026 gives a concrete reason: a model’s per-step accuracy declines as the number of steps grows. The tenth step is no longer 95% right the way the first was, so the “independent steps” model understates the problem.

Anthropic ran into this when building its multi-agent research system. Its team wrote that agents are stateful, so errors compound. In its guide to building agents, it also states plainly that agent autonomy brings higher costs and the potential for compounding errors.

Treat p^n, then, as an optimistic ceiling, not a forecast. If even the ceiling is low, the design needs redoing.

An example: an invoice reconciliation agent

Say a client wants to automate reconciliation of supplier invoices.

In the first version, an LLM drives all ten steps: classify the email, download the PDF, extract the invoice number, extract the total, normalize the date, look up the supplier code in the ERP, find the purchase order, match, write the result to the ERP and send a notification email.

Ten steps at 95% each leave the workflow at about 59.9%.

Now ask one question of each step: does it need reasoning? Downloading the file, normalizing the date, looking up the code in the ERP, writing the result and sending the email are all jobs for ordinary code. The email classification step disappears if the client sets up a dedicated inbox for invoices.

The two extraction steps can also be merged into one call that returns data against a schema.

def reconcile(email):
    pdf = download_attachment(email)              # code
    fields = llm_extract(pdf, schema=InvoiceFields)  # LLM step 1
    check_fields(fields)        # positive amount, supplier code exists in ERP
    po = erp.find_po(fields.po_number)            # code
    verdict = llm_match(fields, po)               # LLM step 2
    save_checkpoint(email.id, fields, verdict)
    if verdict.status != "match":
        return queue_for_human(email.id, verdict)  # human gate
    erp.post(fields)            # irreversible action

Two LLM steps remain: 0.95 times 0.95, about 90.25%. The code can still fail, but when it does it raises an exception instead of quietly inventing a number.

The 90.25% figure assumes the code steps never fail, so do not promise it to the client. Log every end-to-end run, count exceptions from the download or ERP lookup steps too, then divide the number of correct results by the total number of runs: that is the number to report.

The check_fields function stops obvious extraction errors before they travel further. Every mismatch must wait for human review before it can touch the ERP.

How do you shorten the chain?

The first move is to drop steps. Because probabilities multiply, every step removed lifts the whole workflow’s rate multiplicatively. Anthropic also advises finding the simplest solution possible and adding complexity only when it is truly needed.

The second is to move everything that needs no reasoning into code, with checks on intermediate results so errors do not spread to the next step. One analysis of long-running agents stresses that step-by-step resilience has to be built in from outside the model, not left to the model itself.

The third is to check selectively. Checking after every step is expensive. Tian Pan’s blog notes that human review works only when checkpoints are placed by risk, not on a fixed schedule.

In the invoice example, the riskiest points are right after extraction and right before writing to the ERP. Anthropic describes exactly this kind of design: agents pause for human feedback at checkpoints or when they hit blockers.

The fourth is to let the workflow resume after a failure. When agents fail, Anthropic does not restart from the beginning; it lets the system resume from where the error occurred, combining retries with regular checkpoints. The save_checkpoint line in the code above serves exactly that purpose.

Common mistakes

The most common mistake is measuring each step and reporting that number to the client. Clients do not experience individual steps; they experience the whole workflow. So measure end to end on real data from the first week.

The next is adding a “reviewer” agent after every step. By the same multiplication, each added agent is one more step that can go wrong, before counting the cost. Splitting a problem into many agents to look modern falls into the same trap.

The hardest to spot is believing errors will reveal themselves. The most dangerous error is a field read wrongly that still looks valid. Checkpoints should therefore compare against a source of truth such as the ERP or a schema, rather than asking the model again.

Turning the math into a career advantage

On your CV, do not just write “built multi-step agents”. Write that you cut LLM steps from ten to two, and that the measured end-to-end success rate rose from one figure to another.

When an interviewer asks about agent design, draw the workflow, count the steps and work out p^n on the whiteboard. It shows you are used to thinking about the outcome of the whole workflow, which is what clients actually need.

The best agent at a client is rarely the one that does the most steps. It is the one that hands the model only the steps code cannot do.

Was this article useful?

Use with your AI assistantAsk Claude ↗Ask ChatGPT ↗
7 sources
Read next on the roadmap · Stage 6: MeasurementWhy a 1.8-cent LLM call costs your client 7.5 cents per taskFinance wants cost per outcome, a forecast and its margin of error, and the forward deployed engineer is the one who has to supply all three.