Step 4 of a 9-step plan fails: the file the plan expected does not exist.
Steps 1–3 already succeeded.
- AThrow the plan away and ask the model for a brand-new one from scratch
- BRetry step 4 several times in case the file appears later
- CSkip step 4 and continue with step 5 so the run still finishes
- 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 Way of the Agent
- Course programThe first three modules are free: start in the browser or the app, no card needed.
- Library: guides, skills and promptsReady prompt templates, grouped into collections.
- AI ChroniclesSourced stories from the history of AI.
- ConceptsPlain-language explainers of agent engineering.
- Learn AI agentsApps and courses for learning AI agents, compared honestly.
Real situations from building agents - with the answer and why.
Solve a new one every day on the Path