Predict: what is the end to end success rate of a 10-step agent task if each step succeeds with 90% probability?
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
An agent pipeline has 10 sequential steps. Each step succeeds independently with probability 0.9. Assuming no recovery mechanism, what is the end to end probability that all 10 steps succeed?
Independent step successes multiply, so a 10-step agent at 0.9 per step ends at 0.9^10, which is about 0.349, roughly 35% end to end success.
Imagine a relay race where ten runners each have to hand off a baton. Each runner drops the baton one time in ten, so each one succeeds nine times out of ten. You might guess the team usually finishes fine. But every single handoff has to work for the baton to cross the line. The chance the whole chain survives is nine-tenths multiplied by itself ten times, not nine-tenths once. That comes out to about one in three. So even though each runner looks reliable on their own, the team finishes cleanly only about a third of the time. Long agent chains feel the same pain: each tool call seems trustworthy, yet stacking ten of them turns a small per step error into a big end to end failure rate.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
Set up the independent Bernoulli model, derive reliability as p to the N, compute 0.9 to the tenth as about 35%, then invert it to show the punishing per step bar, and close with how retries and correlation bend the real curve.
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Averaging the per step rate or quoting 0.9 as the answer. Independent successes multiply, so the end to end rate is 0.9 raised to the number of steps, not 0.9 itself.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.