Free tool

AI agent reliability calculator

Model your agent as a chain of steps and see how per-step success compounds into end-to-end success, and what retries, checks and fewer steps buy you in reliability, cost and latency. The companion to the reliability math of AI agents.

Start from an example

Illustrative values, not benchmarks. Replace them with your own measurements.

  1. 1

    Effective success 95.0%, 1.00 expected attempts

  2. 2

    Effective success 95.0%, 1.00 expected attempts

  3. 3

    Effective success 95.0%, 1.00 expected attempts

  4. 4

    Effective success 95.0%, 1.00 expected attempts

  5. 5

    Effective success 95.0%, 1.00 expected attempts

  6. 6

    Effective success 95.0%, 1.00 expected attempts

  7. 7

    Effective success 95.0%, 1.00 expected attempts

  8. 8

    Effective success 95.0%, 1.00 expected attempts

Model prices

Enter your model's prices to see cost. Left at 0, cost is not shown.

End-to-end success

66.3%

66.3% without retries or checks, across 8 steps.

Expected attempts
8.00
Expected latency
39.0 s
Cost per task
-
Per 1,000 tasks
-

Enter your model's prices to see cost.

Biggest contributor to failure

Plan the research

  • Plan the research12.5%
  • Search12.5%
  • Read results12.5%
  • Refine the query12.5%
  • Search again12.5%
  • Read new results12.5%
  • Draft the answer12.5%
  • Revise with citations12.5%

Success vs number of steps at this per-step reliability

0%25%50%75%100%11020304050steps
With your retries and checks (95.0% per step)Per attempt only (95.0% per step)

We design and build agents for production reliability: see AI agent development.

How this is calculated

End-to-end success. With independent steps, P = ∏ pi', the product of each step's effective success. At 95% per step, 8 steps give 0.958 = 66.3% and 20 steps give 35.8%, as in the reliability math of AI agents.

Retries. A retry only runs if the failure is noticed. If failures are always detectable (a tool error, a schema check) and a step allows r retries, p' = 1 − (1 − p)r+1, and expected attempts = Σk=0..r (1 − p)k. Silent failures get no retry, so p' = p.

Verifier (an assumption, stated plainly). We model a verifier as catching a fixed fraction c of failed attempts, independently of the attempt, and each retry succeeding with the same p. A failed attempt is retried with probability q = (1 − p)·c, so expected attempts = Σk=0..r qk and p' = p · Σk=0..r qk. With one retry this is the post's p + (1 − p)·c·p (c = 80% lifts 95% to 98.8% per step). It never flags a correct result, and its own tokens and latency are not counted; if it is an LLM call, add it as a step. With 0 retries a verifier changes nothing here (in practice it escalates).

Human approval does not raise p in this model. It adds your wait time to latency and, as the post argues, makes irreversible failures preventable rather than less likely.

Cost and latency. Cost = Σ attemptsi × (tokens in × input price + tokens out × output price) / 1,000,000. Latency = Σ attemptsi × latencyi + approvals × wait, assuming steps run in sequence and every step runs (a silent failure is only discovered at the end). The biggest contributor is the step with the largest share of −ln P, which is how failures add up across a product.

This is a planning tool, not a prediction. It assumes independent failures. Real agents have correlated errors: a bad retrieval poisons every later step, and a retry often repeats the same mistake, so real retries and checks help less than shown. Measure per-step success on your own traffic and run each task several times (pass^k, from τ-bench) before trusting any number here.

Sources: The reliability math of AI agents; Yao et al., τ-bench (arXiv 2406.12045); Anthropic, Building effective agents.

FAQ

Agent reliability questions

Why does a 95% per-step agent fail so often?

+

Because step success multiplies. If each step succeeds independently with probability p, n steps succeed with probability p to the power n: 0.95 over 8 steps is 66.3%, and over 20 steps 35.8%.

How much do retries help?

+

Only as much as failures are detected. If a failure is always noticed and a step gets r retries, its success becomes 1 - (1 - p)^(r + 1): one retry lifts 95% to 99.75%. A silent failure gets no retry, so it gains nothing.

How is the verifier modelled?

+

As an assumption: the verifier catches a fixed fraction of failed attempts and each retry succeeds with the same probability. With one retry, effective success is p + (1 - p) x c x p, so a check that catches 80% of failures lifts 95% to 98.8% per step.

Can I use these numbers as a forecast?

+

No. The model assumes independent failures, but real agents have correlated errors: one bad retrieval affects every later step, and retries often repeat a mistake. Use it to compare designs, then measure pass^k on your own tasks.

Want an agent that finishes the job?

We map your agent's steps, measure where it fails, and redesign it with fewer steps, better retrieval and cheap checks.