From Open-Book to Closed-Book: Why Coding Agents Struggle with Robot Control

    A coding agent that writes solid software does not automatically control a robot well. This article explains why robot tasks add partial observation, irreversible mistakes, and limited retries, and what a large unified evaluation of 1,156 tasks suggests about the gap between privileged and standard conditions.

    1. Writing good code is not the same as controlling a robot well

    Coding agents can break down tasks, generate programs, call execution environments, and revise implementations from feedback. When the target shifts from a software system to a robot, that workflow meets new constraints: the environment state cannot be fully read, action outcomes are uncertain, and errors may not be reversible.

    In software tasks, a failed run can usually be fixed by changing the code, rerunning it, or restoring the original test conditions. In robot tasks, one bad grasp can send an object rolling away, and one unstable step can throw the robot off balance. Later actions must deal with a scene that has already changed, not with the original problem.

    Robot control is therefore not an extension of “generate the correct code.” It is a combined capability of perception, state estimation, task planning, motion control, and failure recovery. Evaluation also has to answer a stricter question: can the agent keep moving the task toward completion with limited information and limited chances to try again?

    2. What a large unified evaluation actually measures

    The referenced evaluation covers 1,156 tasks and 2,288 tests, spanning 35 task sets, 23 simulators, and 47 robot types. Two units of measurement need to be kept separate:

    • Task: a concrete goal together with its environmental constraints.
    • Test: one examination of a task under a particular evaluation mode.

    The same task can be tested under different modes, so the task count and the test count are not interchangeable.

    Robot types include single-arm and dual-arm systems, dexterous hands, humanoids, mobile robots, quadrupeds, aerial vehicles, and musculoskeletal models. That range means the evaluation cannot stop at tabletop pick-and-place. It also has to accommodate the dynamics and control traits of different morphologies.

    A manipulator, for example, emphasizes end-effector pose, contact relationships, and grasp stability. A mobile robot must handle path choice and obstacle constraints. Quadrupeds and humanoids depend more on continuous balance and coordinated motion. Strong results on one class of task do not show that an agent has mastered general robot control.

    The main value of a unified evaluation is to place tasks that used to live in separate environments into a comparable experimental process. A shared process does not erase differences. Results should still be reported by robot category, task type, observation condition, and control method. Otherwise an overall success rate can hide important weaknesses.

    3. The gap between 80% and 47% is not a simple open-book versus closed-book split

    On the same set of 391 core tasks in the reference material, the strongest agent reached an 80% success rate in privileged mode and 47% in standard mode.

    That gap starts with the experimental conditions.

    Privileged mode allows the agent to read the full simulation state and to reset the environment without a limit on attempts. Standard mode relies mainly on sensor information and, by default, does not allow resets. The first setting supplies richer state information and looser trial-and-error conditions. The second is closer to the limits a robot faces in actual operation.

    “Open-book” and “closed-book” are only convenient metaphors. The two modes do not differ by a single capability. They change at least both information visibility and the conditions for recovery after failure.

    1. Full state reduces the burden of inference

    A simulator can store precise information such as object positions, velocities, and joint states. Reading that information directly reduces the work of inferring the environment from sensor data.

    Under standard conditions, observations may include occlusion, noise, and incomplete information. The agent has to judge whether the target is already grasped securely, whether the robot is slipping, and whether the current action is still safe. The less complete the observation, the more explicitly decisions must account for uncertainty.

    2. Resets change how the problem is solved

    When resets are allowed, the agent can search for a workable plan through repeated attempts. A failed action does not necessarily affect the next try.

    When resets are not allowed, the agent must live with the consequences of its actions and replan from the changed state. Recovery then matters as much as succeeding on the first attempt.

    3. Different test sets should not be mixed

    The reference material also notes that, on 456 core tests in standard mode, stronger agents solved only about half. That figure uses a different test definition from the 47% on the 391 shared core tasks. The two numbers should not be concatenated, and they cannot be used to infer success rates on the remaining tasks.

    The material also says there are three evaluation modes, but it does not fully specify the conditions of the third. A technical reading should keep that boundary instead of inventing a mode name or a set of rules.

    4. Why being able to retry can help more than seeing more accurately

    A controlled comparison in the reference material shows that, for one agent under test, adding reset ability improved results more than adding exact state. In that experimental setup, the bottleneck was not entirely in perception.

    Even when the agent knows an object’s exact position, other problems can remain:

    • The action order is unreasonable and enters an unrecoverable state too early.
    • Control commands last for the wrong amount of time, causing overshoot or loss of stability.
    • Contact, friction, or collision is ignored, so execution drifts from the plan.
    • The plan covers only the ideal path and has no branch after failure.
    • The agent can detect an error but cannot find an effective corrective action.

    Correct state is therefore not the same as correct control. Full state addresses an information problem. Resets lower the cost of failed exploration. They act on different parts of the pipeline and cannot replace each other.

    For an engineering team, this result is better treated as a diagnostic clue than as a universal conclusion. If adding observation information brings only limited improvement, the next places to inspect are action execution, recovery mechanisms, and policy search—not only a more complex perception model.

    5. Shared infrastructure should do more than make experiments easy to start

    The reference material stresses that shared infrastructure can simplify switching models and agent frameworks, and can let agents choose different control methods. That lowers the cost of plugging an experiment in. Fair evaluation still needs explicit boundaries on resources and permissions.

    1. A shared task lifecycle

    Each test should include environment initialization, delivery of the task goal, agent execution, termination checks, and result archival. In modes that allow resets, the number of resets and the stage at which they occur should also be recorded.

    Otherwise two agents can both finish a task while spending completely different amounts of trial and error.

    2. A shared resource budget

    Runtime, interaction count, compute, training opportunities, and usable observations should be stated clearly. A score earned with unlimited retries cannot be treated as direct evidence of model ability next to a score earned under a strict budget.

    3. Keep the differences among control routes

    An agent may send actions directly, write a control program, or train a policy that can be run repeatedly. The three routes have different strengths:

    • Direct control fits tasks with a lower interaction rate and relatively clear actions.
    • A control program fits processes that are structurally clear and can be executed with rules and feedback.
    • Policy training fits continuous motion, repeated decisions, and complex dynamics.

    Evaluation should compare final outcomes and also record why an agent chose a route, plus the compute and interaction cost of that route.

    6. Why policy training becomes a natural choice

    The reference material observes that, on soccer-like tasks, agents often train a policy on their own when graphics compute and a training library are available.

    Those tasks require continuous handling of motion, changing positions, and action feedback. Step-by-step control code may not cover every situation, while a trained policy can compress a large amount of interaction experience into a decision process that executes quickly.

    Choosing to train is not the same as training that works. Developers still need to check:

    • Whether the reward signal matches the real task goal.
    • Whether the policy works only from a few initial conditions.
    • Whether the training cost fits deployment constraints.
    • Whether behavior stays stable under disturbance, observation error, or scene change.
    • Whether independent action limits and an emergency stop are in place.

    Online planning should be distinguished from a policy obtained through training. If a result depends mainly on a large number of environment interactions, the training budget should be published as part of the evaluation result.

    7. From failure counts to failure mechanisms

    The reference material annotated 6,027 failures from 10 agents stage by stage and found that different agents often fail at similar steps. Some failures may come from shared task difficulties, not only from an accidental mistake by one agent.

    To turn failure analysis into engineering action, a diagnostic chain can follow the task pipeline:

    Goal understanding → environment observation → state estimation → task planning → action execution → outcome confirmation → failure recovery

    This chain is a general method of analysis. It is not a restatement of the original evaluation’s label system.

    When labeling failures, separate the earliest error from the event that finally ends the episode. A robot may fail because of a collision, while the root cause was an obstacle ignored during planning, or poor speed control during execution. Recording only “collision” does little to guide a fix.

    Each failure record should keep the task goal, available observations, action sequence, key state changes, and termination reason, then check the attribution by replay. Failure stages that repeat across agents should move first onto a system-level fix list.

    8. An improvement path aimed at real deployment

    Standard mode in simulation is closer to real constraints, but it is still not the same as performance on a physical robot. Real systems also involve sensor calibration error, actuation delay, mechanical wear, and environmental change.

    A more cautious engineering path has four steps:

    Step 1: Set safety boundaries first

    Place independent limits on speed, force, workspace, and dangerous actions. A high-level agent proposes intent. Lower-level control and safety mechanisms constrain execution. Model output should not be treated directly as a trusted control command.

    Step 2: Build recovery into the task design

    Do not design only the success path. Specify what happens when a grasp fails, a target is lost, a path is blocked, or posture becomes abnormal, and state when a retry is allowed and when a human must take over.

    Step 3: Add uncertainty gradually

    First verify the control flow under deterministic conditions, then introduce observation noise, changes in initial state, and execution disturbance. Changing only a few factors at a time makes it easier to locate the source of a performance drop.

    Step 4: Report results by risk

    Besides overall success rate, report failure types, recovery success rate, resource use, and safety events. For real deployment, some low-frequency but high-risk failures matter more than the average success rate.

    9. The real gap is in the closed loop, not only in the code

    The 80% and 47% figures in robot evaluation show a capability gap among privileged information, repeatable trial and error, and constrained closed-loop execution. They are not simply a difference in programming scores.

    For developers, the more useful direction is not to keep pushing “how much code can be generated.” It is to make the agent know what it has seen, which information is still uncertain, what consequences an action will have, and how to recover safely after failure.

    Only when perception, control, training, recovery, and safety checks sit in one reproducible engineering process can a coding agent move from “able to solve program problems” toward “able to complete robot tasks reliably.”