Why Coding Agents Struggle to Cross the Robotics Control Gap
Coding agents can write code, call tools, and fix bugs—but translating those skills into reliable robot behavior is far harder than generating correct programs. This article examines why success conditions change fundamentally when the execution target shifts from software to physical robots. It analyzes the gap between privileged and standard evaluation conditions (80% vs. 47% task completion), explains why broad coverage across 47 robot types matters, discusses the role of environment resets in low-cost trial and error, and outlines how to build a layered evaluation architecture, classify failures by stage, account for training budgets, and validate systems before real-world deployment. Readers will learn what closed-loop embodied capability actually requires—and why "code that runs" is not the same as "task completed."
Why Coding Agents Struggle to Cross the Robotics Control Gap
1. From “the Program Runs” to “the Robot Completes the Task”
Coding agents can generate programs, call tools, and fix errors. But when the execution target changes from a software system to a robot, the success conditions change fundamentally: the program must not only be logically correct—it must also produce the right behavior under limited observation, dynamics constraints, and a constantly changing environment.
For example, a grasping program might compute the target position correctly and send control commands successfully, yet the robot could still fail because the gripper pose is unsuitable, contact friction is insufficient, the object is occluded, or the motion exceeds joint limits. A successful API call at the software level is not the same thing as task completion at the physical level.
Therefore, evaluating an agent’s embodied capability cannot be limited to checking whether the code executes. The entire closed loop must be observed:
Task understanding → state estimation → motion planning → control execution → feedback correction → result verification.
A deviation at any stage can invalidate the subsequent steps. More importantly, physical actions change the environment, and some errors cannot be undone simply by fixing the code. Once an object drops, the robot tips over, or an assembly jams, the task may already be in a state that is difficult to recover from.
2. What the Gap Between 80% and 47% Actually Reveals
The original research material provides a notable comparison: on the same set of 391 core tasks, the best-performing agent completed roughly 80% under privileged conditions but only about 47% under standard conditions—a gap of roughly 33 percentage points.
The “open-book” and “closed-book” framing is only a metaphor for easier understanding; it does not refer to whether documentation can be consulted. What actually changes is the environmental information available to the agent, and whether it can restart after a failed execution.
The privileged condition allows reading the complete simulation state and resetting the environment as many times as needed. The standard condition requires relying mainly on sensor observations and forbids resets by default. The former better reveals an agent’s capability with more complete information and looser trial-and-error conditions; the latter is closer to some real constraints of continuous execution—though still far from actual robot deployment.
This set of results suggests at least three points:
- Full-state access greatly reduces state estimation difficulty. The agent can directly obtain object positions, poses, or joint states without inferring them from noisy, occluded observations.
- Resetting changes the cost of trial and error. When restoring the initial state is allowed, action plans can be validated repeatedly. Without resets, every attempt must account for the current state and the consequences of failure.
- Software reasoning ability does not directly translate into physical execution ability. Understanding the task and writing control logic are necessary conditions for completing embodied tasks—not sufficient ones.
Note that the material also mentions a separate set of 456 standard-mode core tests, with a leading result of roughly one half. This is not the same statistical basis as the 391-task mode comparison above, and the two datasets must not be mixed. Any success-rate comparison must specify the task set, mode, budget, and success criteria together.
3. Why a Unified Benchmark Must Cover Many Robot Types
The original evaluation covers 1,156 tasks, 2,288 test items, 35 task suites, 23 simulation environments, and 47 robots. Tasks and test items must be distinguished here: the same task evaluated under different modes produces different test items, so the number of tests does not equal the number of independent tasks.
Broad coverage matters not just for larger sample sizes, but to avoid mistaking proficiency with one class of robot for general embodied capability:
- Robotic arm manipulation mainly involves kinematics, collision avoidance, grasp stability, and contact control.
- Dual-arm coordination additionally requires synchronized motion, sensible force distribution, and maintaining constraints on the jointly manipulated object.
- Dexterous hands emphasize multi-contact coordination. Tasks like turning a book page require not just positioning but handling sheet deformation, friction, and contact switching—hard to reduce to “move to a coordinate and close the gripper.”
- Mobile robots must balance localization, path planning, and dynamic obstacle avoidance. Quadrupeds and humanoids must continuously maintain balance and handle changes in support contacts. Aerial vehicles place high demands on attitude stability and feedback latency.
Task timescales matter too. Catching a thrown ball requires predicting trajectories and acting in time; furniture assembly requires managing dependencies between steps; untying a knot requires understanding how a flexible object’s structure changes.
A meaningful benchmark should therefore cover static and dynamic tasks, rigid and flexible bodies, short actions and long procedures, and known and unknown dynamics—not just tabulate grasping success rates on tabletops.
4. Seeing Precisely Isn’t Acting Precisely: Why Reset Ability Matters
The ablation analysis in the original material notes that, in one set of controlled experiments, granting reset privileges produced larger improvements than providing precise state information. This suggests that, at least under those experimental conditions, the factor limiting agent performance is not only “whether the environment is clearly perceived.”
Precise state tells the agent where the robot and objects are, but does not guarantee that actions will succeed. Contact processes are still affected by friction, inertia, execution delay, and control error. For complex manipulation, even a fully known current state requires execution feedback to judge whether a strategy works.
Resetting provides an additional resource: low-cost trials.
An agent can try an action, observe why it failed, and then adjust the motion magnitude, ordering, or control parameters. If the environment can be restored, failures do not permanently consume task opportunities, and the space of searchable strategies expands.
Real environments rarely offer this convenience. Restoring a robot’s initial pose, repositioning objects, clearing jams, or repairing damage may require human intervention. A deployed system should therefore not treat “restart” as the default recovery method, but should provide:
- Anomaly detection: promptly detecting slipping, collisions, deviations, or stalled progress.
- State re-estimation: re-assessing the environment from post-execution observations rather than continuing to trust the initial plan.
- Local recovery: restoring an operable state through retraction, realignment, regrasping, and similar actions.
- Safe termination: when reliable recovery is impossible, stopping execution and requesting human handling.
Recovery strategies themselves must be validated—their goal being “error correction” is no reason to relax safety constraints.
5. From Unified Interfaces to Layered Control: Building the Evaluation System
The core value of a unified evaluation framework is that all agents complete tasks under identical conditions while being free to choose their approach: generating actions directly, writing control programs, or training policies.
However, allowing multiple methods does not mean all components should sit at the same execution layer. A more robust architecture typically includes the following:
- Task layer: describes goals, constraints, and success criteria. For instance, “place the object in the designated region” and “place it within the time limit without entering the forbidden zone” represent different task requirements.
- Observation layer: provides only the information the mode allows—images, joint states, force or tactile sensing, etc. The evaluation must prevent the agent from accessing hidden simulation state through debug interfaces, logs, or other channels.
- Decision layer: generates subgoals, programs, or policies. For tasks with stringent real-time requirements, high-latency reasoning should not handle every low-level control cycle directly; it should set targets and hand them to a local controller.
- Control layer: handles trajectory tracking, action constraints, and necessary safety checks. Joint limits, velocity limits, and collision constraints must be explicitly enforced—not left to a natural-language plan that merely says “be careful.”
- Evaluation layer: judges outcomes based on environment state and task rules, never on the agent’s self-reported success.
This layered design separates “choosing the right goal” from “executing the motion correctly,” and makes it easy to keep control and evaluation conditions consistent when swapping agents.
6. Beyond Success Rates: Locating the Failing Stage
The original material reports that after annotating 6,027 failures from 10 agents stage by stage, different agents often stalled at the same steps. This suggests that some difficulties originate from the tasks themselves or shared capability gaps, rather than one-off implementation bugs.
Engineering analysis can categorize failures as follows:
- Task understanding failures: misinterpreting goals, ignoring ordering, or omitting safety constraints.
- Perception and state estimation failures: wrong object recognition, insufficient occlusion handling, or outdated estimates.
- Planning failures: unreachable paths, unreasonable action ordering, or neglect of contact and stability.
- Execution failures: control oscillation, excessive tracking error, grasp slippage, or violated motion timing.
- Recovery failures: continuing the original plan after detecting an anomaly, or recovery actions making things worse.
- Verification failures: declaring completion before conditions are met, or continuing to act afterward and ruining the result.
Attribution should also distinguish the first root cause from the final symptom. An object falling is the final phenomenon; the initial cause might be a pose estimation error rather than insufficient grip control. Labeling only the last error easily misdirects optimization effort.
7. Training Policies Can Fill Capability Gaps—But Budgets Must Be Accounted For
The locomotion adversarial tasks in the material show that when GPUs and training libraries are available, an agent may actively choose to train a policy rather than write fixed control logic—illustrating the diversity of embodied problem-solving approaches.
For high-frequency feedback, continuous-action, and complex-contact tasks, learned policies may handle state changes better than static scripts. But training is not free, and fair evaluation should disclose:
The number of training interactions, compute resources, training time, whether privileged states were accessed, whether extra data was used, and environment differences between training and testing phases.
If one solution relies on massive environment interaction while another allows only a few trials, their success rates cannot be compared without accounting for budgets.
Training and testing also need isolation. If online adaptation to a single test task is allowed, the adaptation budget must be specified and its cost reported alongside results. Otherwise, the outcome may reflect search ability against specific initial conditions rather than transferable control capability.
8. From Simulation Scores to Real Deployment: Required Checks
Simulation lowers experiment costs, but even the standard mode cannot fully cover real-world sensor noise, mechanical wear, communication jitter, and contact uncertainty. Conditions should be progressively tightened before deployment.
First, fix the evaluation protocol. Specify observation permissions, reset counts, execution time, compute budgets, and task completion criteria; save configurations, logs, and trajectories so results can be reproduced.
Second, test disturbance robustness. Vary initial positions, physical parameters, observation noise, or execution延迟 within reasonable ranges to determine whether the system only works under ideal conditions. Disturbance ranges should be grounded in real conditions, not set arbitrarily.
Third, introduce continuous-operation evaluation. Beyond single-run success rates, record completion time, violations, human intervention frequency, and recovery performance. For continuously running systems, a few unrecoverable failures may deserve higher priority than many ordinary failures.
Finally, expand permissions in stages. Validate low-risk actions and partial procedures first, then move to full tasks; start with conservative motion ranges, then gradually extend the workspace. Actuators, task planning, and safety checks should have clear boundaries so that a single reasoning error cannot directly translate into a dangerous action.
9. Conclusion: What Really Needs Evaluating Is Closed-Loop Capability
Once coding agents enter robotics, the challenge is no longer just generating correct code—it is whether the agent can choose executable actions under incomplete information, continuously correct using feedback, and recover safely after failure.
The gap between the privileged and standard modes reveals how strongly information privileges and trial-and-error conditions affect scores, but it cannot be used to directly infer real-deployment success rates. For developers, the more meaningful questions are: which extra conditions does the agent rely on, where does it fail first, how costly is recovery, and can it consistently complete tasks under a unified budget?
Only by placing perception, planning, control, safety, and result verification into the same closed loop—and checking each item with reproducible protocols—can the ability to “write programs” be gradually transformed into the engineering capability to “act reliably.”
