Next-Generation AI

Can an agent succeed twice in a row?

A retry can improve the chance of seeing at least one success, while a repeated-use requirement asks whether every attempt succeeds.

Next-Generation AI · 2 min read

A retry can improve the chance of seeing at least one success, while a repeated-use requirement asks whether every attempt succeeds. These are different operating requirements.

Watch the 10-minute video on YouTube ↗

Worked example

For a task with independent runs and a success probability of 0.8, two tries give a 96 percent chance of at least one success. Two required successes have probability 64 percent. Across tasks, compute or estimate each probability within task before averaging, because easy and hard tasks need not have the same success rate.

How to apply it

Name the first metric pass at k and the second all-k success. State the attempt budget and how runs were seeded. If runs share state or failures are correlated, estimate the relevant joint outcome directly instead of raising a pooled rate to a power.

Check your understanding

At a per-attempt success probability of one half, two independent runs produce at least one success 75 percent of the time, but both succeed only 25 percent of the time. Choose the first measure for a retry policy and the second for a two-run reliability requirement.

Further reading

Chapter 4 of Next-Generation AI, Explained and Evaluated develops the method in more detail.

More guides from this book