Planning and re-planning
For engineers
Writing plans an agent can follow, splitting work into checkable steps, tracking progress honestly and recovering when a step fails
110 questions across four stages: Understand, Apply, Solve and Judge.
Try 5 questions
Practice items, not counted towards your mastery. No account needed.
Check yourself · 1 of 5
Which task benefits most from a written plan that a person approves before the agent edits anything?
Check yourself · 2 of 5
What makes a step "verifiable" in an agent plan?
Check yourself · 3 of 5
An agent marks "Run the full test suite" as done. What should you look for in the log?
Check yourself · 4 of 5
A plan step fails because an API does not support a parameter the plan assumed. What is the best first move?
Check yourself · 5 of 5
A request to read an order status returns 503 once. What is the best recovery?
Topics
- Plan-then-execute versus interleaved planning4 min read · When an upfront plan helps, when it wastes tokens, and how to judge a plan quality before execution
- Decomposing goals into verifiable steps4 min read · Breaking a goal into right-sized steps, each ending with a check the agent can run itself, in dependency order
- To-do lists that track agent progress4 min read · Todo tools, checklists in files and status updates, and keeping the list honest about what is really done
- Re-planning when an assumption breaks4 min read · Detecting a broken assumption, revising the remaining steps and keeping finished work instead of restarting
- Recovering from errors mid-task5 min read · Retrying differently, rolling back to a checkpoint, reflecting on the failure, asking for help or stopping
Start here
- Plan-and-Solve Prompting: Improving Zero-Shot Chain-of-Thought Reasoning (opens in a new tab)PaperFree
Shows that asking a model to plan first and then carry out the plan reduces missing-step errors.
- Reflexion: Language Agents with Verbal Reinforcement Learning (opens in a new tab)PaperFree
The source for reflecting on a failed attempt in words and carrying the lesson into the next try.
- Plan-and-Execute Agents (LangChain blog) (opens in a new tab)ArticleFree
Compares plan-and-execute with a plain tool loop and explains the cost and speed trade-off.
Scenarios
Helps to know first
110 questions · last verified 2026-12