When designing an agent capable of multi-step tool use, what is the most important property to maintain across steps?
The 'world model' is the agent's mental map of the current environment state. If this map deviates from reality, the agent will choose incorrect tools or pass wrong arguments. Maintaining strict synchronization ensures that the agent's next action is always based on the most accurate, real-world data available.
Why this answer
Ensuring state consistency is the most important property. Each tool call changes the environment, and the agent must understand the new state to plan the next step. If the state becomes inconsistent—e.g., the agent thinks a file was deleted but it wasn't—the agent's plan will fail.
Architecting for state observability ensures that the model always has an accurate 'world model' to work from.
Exam trap
Candidates often assume that simply tracking tool execution logs is sufficient, failing to realize that discrepancies between the agent's internal assumptions and the actual remote environment cause silent multi-step execution failures.