Orchestration

Step 4 of a 9-step plan fails: the file the plan expected does not exist.

Steps 1–3 already succeeded.

  1. AThrow the plan away and ask the model for a brand-new one from scratch
  2. BRetry step 4 several times in case the file appears later
  3. CSkip step 4 and continue with step 5 so the run still finishes
  4. DKeep steps 1–3, re-plan only from step 4

Answer: D

Keep steps 1–3, re-plan only from step 4

Why

Reality disagreed with the plan at one point, so repair the plan from that point with what you now know. Starting over throws away work that succeeded, retrying expects a file that is not coming, and skipping builds the next five steps on a missing piece.

More on this topic

More on Way of the Agent

Real situations from building agents - with the answer and why.

Solve a new one every day on the Path