Why AI Agent Performance Differs Between Open-Book and Closed-Book Settings
This article examines why a top coding agent's task completion rate drops from about 80% with external resources to roughly 47% without them, and what that gap reveals about agent evaluation. It covers three key findings: reset capability improves success more than precise state descriptions, failures are stage-specific and often shared across different agents, and tool availability reshapes an agent's problem-solving path. It closes with practical recommendations for building resettable environments, stage-level evaluation, and deliberate tool design.
1. The Phenomenon: One Agent, Two Very Different Scores
In a recent evaluation covering coding and robotic control tasks, a top-tier coding agent showed a strong dependency on its setup. With access to external material, documentation, and tools (referred to here as “open-book”), its task completion rate was about 80%. With external information cut off and only the model’s own parametric knowledge available (“closed-book”), the completion rate fell to around 47%.
A gap of more than thirty percentage points does not mean the model became “dumber.” It exposes how much the tasks depend on external information, state feedback, and the execution environment.
The engineering implication is straightforward: an agent’s capability boundary cannot be measured by parameter count or a single benchmark score alone. You also need to see how it performs under three conditions at once: limited information, observable state, and available tools.
2. Key Finding 1: Adding “Reset” Works Better Than Adding “Precise State”
In a controlled experiment against another class of strong models, one counterintuitive result stood out: giving an agent the ability to reset to the initial state improved success rates more than giving it a more precise description of the environment state.
The reason is not hard to understand. A precise state only clarifies the current situation, but what the agent often lacks is a way back. When an action goes wrong and cannot be rolled back, errors accumulate along the timeline and eventually form an unrecoverable trajectory. With reset capability, the agent can adopt a “try, observe, roll back, retry” strategy, breaking a one-shot long-chain decision into multiple short, verifiable experiments.
A simplified interaction loop looks like this:
for attempt in range(max_attempts):obs = env.observe() # Observe; absolute precision is not requiredaction = policy(obs) # Decidenew_obs = env.step(action) # Executeif is_goal(new_obs):return successenv.reset() # Key step: return to a controllable initial state and retryreturn failure
Engineering takeaway: instead of spending heavily to improve state estimation accuracy, prioritize making the environment resettable, rollback-capable, and reproducible. In real systems, this usually means preparing an isolated sandbox, snapshot, or idempotent operation for each attempt.
3. Key Finding 2: Failures Are Stage-Specific, and Different Agents Often Fail at the Same Step
After stage-by-stage annotation of 6,027 failure samples accumulated across 10 agents, the failures turned out not to be randomly distributed. They clustered at specific stages. More notably, agents with different architectures and training methods often failed collectively at the same step.
This suggests that many bottlenecks come from structural difficulties in the task itself, such as initial localization, constraint satisfaction, and long-range dependencies, rather than an individual flaw in a particular model. Evaluation and optimization should therefore shift from “looking only at final success or failure” to “stage-level attribution.”
A simplified stage annotation structure:
{"episode_id": 1024,"stages": [{"name": "perception", "result": "pass"},{"name": "planning", "result": "pass"},{"name": "execution", "result": "fail", "error": "constraint_violation"},{"name": "recovery", "result": "skip"}]}
With stage-level data, a team can pinpoint the “collectively failed step” and prioritize improving that stage’s environmental feedback, constraint expression, or prompt structure, rather than blindly swapping models.
4. Key Finding 3: Tool Availability Changes the Agent’s Behavioral Path
In a soccer-style control task, when both GPU compute resources and a training library were provided, the agent often did not hand-write heuristic rules. Instead, it spontaneously chose to “train a policy network” to play the match. In other words, the presence of tools reshapes the agent’s problem-solving path.
This leads to two design points. First, the tool list itself is a kind of implicit prompt: whatever tools you provide will induce corresponding behavior. Second, if you want the agent to follow a lightweight, interpretable route, you should deliberately narrow the available tool set or make priorities explicit in the prompt.
5. Practical Recommendations for Implementation
- Make the environment resettable first: provide an isolated sandbox, state snapshot, or idempotent interface for each attempt, turning long-range tasks into rollback-capable short experiments.
- Build stage-level evaluation: annotate by “perception, planning, execution, recovery” to form a failure heatmap and lock onto the collectively failed step.
- Design the tool set carefully: define tool priorities and invocation boundaries to prevent compute-heavy tools from unconditionally taking over the decision path.
- Keep observation “good enough”: under a resettable setup, moderate state information combined with a rollback mechanism usually beats the pursuit of high-precision state estimation.
- Keep elastic resources cost-controlled: when training and inference loads fluctuate widely, general-purpose cloud capabilities such as container platforms, object storage, message queues, and monitoring alerts can carry the load, scaling elastically by stage.
6. Conclusion
The gap between 80% open-book and 47% closed-book reveals the truth about agent evaluation: capability is not only written into parameters, it also grows out of the environment, tools, and feedback mechanisms. For developers, rather than chasing a single score, it is better to treat “a resettable environment, stage-level attribution, and restrained tool design” as infrastructure, so that agents can reliably get things done under real constraints.
