← Agent Planning & Reasoning
Replanning
Replanning occurs when an agent revises its plan in response to unexpected observations, tool failures, or changed conditions discovered during execution. Rather than blindly following a stale plan, the agent pauses, re-evaluates the current state against the goal, and generates an updated plan that accounts for what it has learned. Replanning is a key component of robust agent behavior in dynamic or uncertain environments.