Agent orchestration · about 20 minutes of study

Compounding errors

A multi-step task can fail even when each step usually succeeds. Long chains make it important to measure whole-task outcomes and recovery.

Before you start: Review Multi-agent first. Python-like examples use variables, lists and functions.

Guided concept walkthrough

Follow the mechanism

Assumptions

State p, step count and independence.

1 / 4

A conceptual animation, not a live model trace. Play advances every five seconds and stops at the final stage.

Start with an everyday explanation

Twenty small hurdles create many chances to stumble. Practicing each hurdle helps, but the race result is what matters.

See a concrete example

With p=0.95 and 20 independent required steps, 0.95^20 ≈ 35.85%. This is a teaching model, not a measured agent completion rate.

A claim to question

The 36% figure is conditional on equal, independent success and all steps being required.

Try before revealing the answer

Change the reliability calculator to five steps at 0.99 and compare. Name an independence violation.

Show the worked answer

0.99^5 ≈ 95.10%. A shared expired credential can make many steps fail together; per-step independent probabilities do not describe that common cause.

Now explain the idea to someone else using your own example. If you cannot explain a stage, revisit it before moving on.

Your explanation and revision notes

Loading local notes…

Read the primary reference

Building effective agents

The explanation and exercises are original teaching material. The linked source provides background; examples and assumed numbers here are not claims about a particular company.