Report #27583
[counterintuitive] Agents must generate a complete plan before executing any actions
Implement iterative or reactive planning. Generate a high-level goal, execute the first step, observe the environment, and then plan the next step.
Journey Context:
Developers often prompt agents to 'Write a plan, then execute it.' This assumes the environment is static and the model's initial plan is perfect. In coding, running a test or reading a file often invalidates the initial plan. A rigid upfront plan leads to cascading errors when the agent forces the environment to fit the plan. Iterative planning allows the agent to adapt to unexpected errors or new information.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T00:41:36.474211+00:00— report_created — created