Why single-run success rates overstate agent reliability, how to measure pass^k on your own agent, and the per-run rate you need.
pass^k ("pass hat k") is the chance that an AI agent completes the same task successfully on all of k separate tries. It measures reliability, while the usual single-run success rate (pass@1) measures capability. An agent that succeeds 90% of the time on one try can complete the same task eight times in a row only 58% of the time if half its tasks are flaky, and 43% of the time if every task is equally flaky.
Customers experience pass^k, not pass@1. Each of them brings the same kind of request again and again, and they remember the time it failed. This guide explains the metric in plain terms, shows how to measure it on your own agent, and includes a calculator for the per-run reliability you need to hit a target.
They answer three different questions about the same set of tries:
| Metric | Question it answers | Counts a task as solved when | As k grows |
|---|---|---|---|
| pass@1 | How often does one try succeed? | The single try succeeds | — |
| pass@k | Can the agent ever solve it? | Any one of k tries succeeds | Goes up |
| pass^k | Can the agent solve it every time? | All k tries succeed | Goes down |
pass@k is the generous one. It's useful for code generation, where you can run tests and keep the attempt that passes. pass^k is the strict one, and it's the right one for an agent acting on behalf of users, who get one attempt each.
The metric was popularized by τ-bench, a benchmark from Sierra that simulates customers talking to agents in retail and airline settings. On it, the best agent tested had an average pass@1 below 50% across the two domains. In retail, it fell to about 25% at pass^8, a 60% drop from its single-try score. In practice, that agent had about a one-in-four chance of resolving eight cases of the same issue for eight different customers.
Because small per-run failure rates compound. If every run succeeds independently 90% of the time, the chance of eight successes in a row is 0.9 multiplied by itself eight times:
| Success rate per run | pass^1 | pass^2 | pass^4 | pass^8 |
|---|---|---|---|---|
| 80% | 80% | 64% | 41% | 17% |
| 90% | 90% | 81% | 66% | 43% |
| 95% | 95% | 90% | 81% | 66% |
| 99% | 99% | 98% | 96% | 92% |
That table assumes every task is equally flaky. Real agents aren't. Some tasks they get right every time, and others they get right only some of the time. The mix changes the answer:
Same headline number, very different products. pass@1 can't tell these apart. pass^k can, and the gap points you to the specific tasks that are flaky.
Rerun the same tasks several times and count. You need a fixed task set, a fixed way of judging success, and enough repeats per task.
from math import comb
import pandas as pd
# One row per run: task_id, success (0/1). Each task run n times.
runs = pd.read_csv("runs.csv")
def pass_hat_k(n, c, k):
# Probability that k runs drawn without replacement are all successes
return comb(c, k) / comb(n, k) if n >= k else float("nan")
per_task = runs.groupby("task_id").success.agg(n="count", c="sum")
for k in (1, 2, 4, 8):
per_task[f"pass^{k}"] = [pass_hat_k(n, c, k) for n, c in zip(per_task.n, per_task.c)]
print(per_task.filter(like="pass^").mean().round(3)) # the headline numbers
print(per_task.sort_values("pass^8").head(10)) # your reliability backlogReport pass^k for a few values of k, and list the tasks with the lowest scores. That list is your reliability backlog.
Work backward from what a customer experiences. If a customer brings the same type of request 8 times a year and you want 90% of customers to have a perfect year, each run must succeed 98.7% of the time. For 95%, each run must succeed 99.4% of the time.
The calculator does this for your own numbers. Put in your single-run success rate, how many of your tasks never fail, and the number of repeats that matter:
pass^k is the chance an agent gets the same task right on k separate tries. Change any number.
| k | If every task is equally flaky | With your mix of tasks |
|---|
To reach your target pass^k on every task, each run must succeed of the time.
Model: tasks the agent never fails succeed every time; the rest share one per-run success rate, so pass^k = never-fail share + (1 − never-fail share) × (flaky success rate)^k. The first column assumes every task has the same per-run rate. Measure your own mix by rerunning the same tasks. Built by Akmon.
Things that reduce variance between runs, more than things that raise average capability:
Report pass^k, by request type, with the k that matches how often a typical customer comes back. "Our agent resolves refund requests correctly 99.2% of the time per request, measured over 8 repeats of 100 real requests, graded by trained reviewers" is a claim a buyer can test. "94% accuracy" is not.
Keep the task set and the grading rubric fixed between releases, so the number means the same thing each time.
Akmon measures agent reliability the way your customers experience it:
Get a reliability audit before your next enterprise pilot. Book a call.
What is pass^k? The probability that an agent succeeds on all of k independent attempts at the same task. It measures reliability, introduced in the τ-bench agent benchmark.
How is pass^k different from pass@k? pass@k counts a task as solved if any one of k attempts succeeds. pass^k requires all k attempts to succeed. pass@k rises with k; pass^k falls.
How do I calculate pass^k? Run each task n times, count c successes, compute C(c, k) / C(n, k) for each task, and average over tasks. With n = 8 runs per task you can report pass^1 through pass^8.
What is a good pass^k for a production agent? It depends on how often customers repeat a request and what a failure costs. For a request a customer makes 8 times a year, 90% of customers having no failures needs a per-run success rate of about 98.7%.
Why does my agent's success rate drop when I rerun it? Because some tasks are flaky: the agent solves them on some runs and not others. Single-run averages hide this. Rerunning the same tasks exposes which ones.
Tell us what you are working on. We start within hours of kickoff.