# HexaShell: A Thin Harness for Exploring the Limits of VLM Agents as Robot Coding Agents

Robotics.world

> Robot manipulation leaderboards have been dominated by learned policies trained on large demonstration sets. This paper asks a different question: how far can a general coding agent go if it is given…

**arXiv**: 2610.23479 · Preprint · not peer-reviewed

**Published**: 2026-10-16 · revised · 2026-10-20

**Authors**: Hongcheng Gao, Alex Zhou, Jay Zhu, Zelin Zheng, Shijia Ge, Xiping Li, Di Wu, Yazhe Wang, Jianshu Zeng, Xuan Shangguan, Yongli Wang, Yexing Wan, Lingyu He, Zhiqi Jia, Sihang Wu, Xiao He

## In plain words

Robot manipulation leaderboards have been dominated by learned policies trained on large demonstration sets. This paper asks a different question: how far can a general coding agent go if it is given the same loop it uses on software — read output, write code, run tests, fix the code — but pointed at a physical robot instead of a repository?

## AI summary

## Overview

**Research area:** Robotics — robot manipulation, vision-language-model (VLM) agents, and code-generating ("coding") agents used as robot controllers.

**Technical level:** Advanced. The paper assumes familiarity with manipulation benchmarks, vision-language-action models, multi-view geometry, inverse kinematics and agent scaffolding, though the core argument is stated in plain terms.

**Scope:** The paper introduces HexaShell, a deliberately minimal ("thin") command-line harness that lets an unmodified coding agent drive a dual-arm simulated robot by writing and repairing its own perception and execution tools, and it measures on RoboDojo where that approach reaches state of the art and where it fails.

## What This Paper Is About

Robot manipulation leaderboards have been dominated by learned policies trained on large demonstration sets. This paper asks a different question: how far can a general coding agent go if it is given the same loop it uses on software — read output, write code, run tests, fix the code — but pointed at a physical robot instead of a repository? The authors build a harness that makes no decisions of its own, let the agent accumulate its fixes as reusable, unit-tested tools, and then evaluate the frozen result on the full RoboDojo benchmark to find the precise boundary between what reasoning-plus-geometry can solve and what it cannot.

## Key Contributions

1. **A thin harness that leaves every decision to the agent.** The harness exposes a single command line (`robo`) plus three RGB images with calibration, and only translates commands into joint motion. With it, the same model rises from 22.5% (the benchmark authors' fixed harness, no tools) to 46.9% success in RoboDojo's official evaluation, which the authors report as the state of the art on the official leaderboard.
2. **A two-agent loop that converts failures into tested tools.** An acting agent runs each episode; after a failure an optimizer agent of the same model (Codex with GPT-6-Astra) reads the full episode record — commands, camera frames, transcript — diagnoses the cause, and edits one tool together with its unit tests. No demonstrations, robot data or model training are used, and a round takes a median of 6.3 minutes.
3. **Run-time inputs restricted to what any real robot has.** The tools use only RGB images, camera calibration and arm state, and recover 3D positions by triangulation between calibrated views and by intersecting rays with measured planes, rather than by a learned depth network. Tools built on ten layouts of one seed reach state of the art on a hidden seed, and transfer to a real robot with different arms after a small arm-specific change.
4. **A capability map and failure taxonomy.** The authors label every task by the physical contact it requires and by the decision load it imposes, then show that success tracks contact type (pushing 92.5%, tight insertion 8.3%) far more than perceptual or memory load, and that how an episode fails — declared success versus exhausted budget — separates perceptual gaps from execution gaps.

## Main Findings

- **State of the art on the official leaderboard.** In RoboDojo's own evaluation on a hidden seed with 50 episodes per task across 42 tasks, HexaShell reaches **46.9% success and a progress score of 53.2**, above WorldScape-R 2 SI (39.35%, 46.58), VPP2 (32.26%, 39.26) and PhysicalRSI (31.38%, 36.27).
- **Task-type profile is inverted relative to learned policies.** HexaShell reaches **81.0% on Memory, 55.3% on Open, 34.5% on Generalization, 32.0% on Precision and 31.5% on Long-Horizon**. The best learned model, WorldScape-R 2 SI, reaches 63.7% on Memory and 47.5% on Open; VPP2 leads on Precision (35.2%) and Long-Horizon (37.0%).
- **Robust to clutter.** In the official evaluation it passes **38.0% of standard and 31.0% of cluttered** Generalization episodes, keeping **82%** of its success (95% on development layouts). The 31 learned policies keep 1–78% with a median of 20%; VPP2 drops from 46.4% to 12.6%. The exception is cloth: fold clothes falls from 56% to 24% because its colour-connectivity tool breaks when objects sit on or beside the garment.
- **Triangulation beats a depth network by 8.7 points.** On matched layouts, geometry turns 57 depth-network failures into successes while losing 23 (exact McNemar test, p < 0.001). Depth Anything V2's median error was **41 mm at the head camera and about 100 mm at the wrists** even after scale was fixed with the table; Depth Pro and two MoGe versions reduced head error to 20–31 mm but left 21–72 mm at the wrists. Grasps and placements need about a centimetre.
- **Rendered depth still wins by 10.6 points.** With simulator-rendered depth the leaderboard score is 48.8 (54.1 progress) versus 38.3 (43.6) for triangulation and 29.6 (35.4) for the depth network — most of the remaining gap is tight insertion.
- **Second views cost steps but pay off.** With triangulation, **3.6% of executed steps** go to viewing versus 0.7% with the depth network, and **43% of episodes** (180 of 420) contain at least one viewing move. On those 180 layouts the RGB agent succeeded 39 times against 22 for the depth network (p = 0.002). Successful episodes used a median of 70.0% of the step limit versus 63.1% for the depth network, and fewer episodes ended at the limit (20 versus 26).
- **Contact, not reasoning, is the wall.** Pushing reaches **92.5%**, rigid pick/place/stack **50.0%**, memory **65.0%**, moving objects **40.0%**, deformable/fluid **33.3%**, articulated objects **7.5%** and tight insertion **8.3%** (7 of its 12 variants at zero). VPP2 shows the opposite profile, leading on insertion (28.1%), deformables (49.4%) and articulated objects (21.6%).
- **Failure mode is diagnostic.** Of 420 retest episodes, 268 failed. Of the 263 failures beyond early tool errors, **57% exhausted the budget, 30% ended with the agent declaring completion while the checker disagreed, and 13% gave up with a quarter or more of the budget left**. On deformable, articulated and rigid tasks 60–77% exhaust the budget (execution gap); on memory tasks half of failures are declared successes (perception or specification gap).
- **The loop produces large amounts of code.** The RGB runs took **769 optimizer rounds** (median 17 per task), leaving **327 task commands in about 78,000 lines of Python**. Optimizer rounds after failure took a median of 6.3 minutes (90% under 11), ran the task's tests 92% of the time, and made a median edit of +118/−6 lines. Over all rounds the optimizer read 487 million input tokens and wrote 3.8 million.
- **Transfers to hardware.** On two PiPER X arms — a different model from the simulated ARX X5 — the perception and execution tools run under the same command line after a small change for the arm. Figure 5 shows stacking three blocks into a tower and lining up three letter blocks along a bar.
- **Case studies show single-round fixes.** In 27 tasks a layout failed and then passed on the next attempt after an edit, 67 times in all. The seven documented cases include push T (area check mis-measured because pixel footprints differed across cameras; fixed by computing area from each pixel's footprint on the plane, reaching 10/10 on retest), play Xylophone (a 23 mm mallet-head offset fixed by triangulating a second view, 6/10) and fold clothes (grasp point 1.5 mm from the edge; fixed by requiring 12 mm of cloth margin, though retest still failed at 6/10).

## Methodology in Plain English

The design principle is that the harness translates but never decides. The acting agent is a stock coding-agent CLI in a container with no network access, no API key and no host directories. It gets one executable, `robo`, an `obs/` directory holding three 640×480 RGB images (head and two wrists) with intrinsics and poses, TCP poses and joint angles, and a manual of about sixty lines. Base commands are `move` (at most 0.20 m per axis), `rotate` (at most 90° per axis), `point`, `gripper`, `home`, `wait`, `obs`, `status` and `done`. Behind the command line, the server validates each command, interpolates a straight path at 2 cm spacing, solves inverse kinematics per waypoint with cuRobo, times the path with a trapezoidal profile, and sends it at the benchmark's 25 Hz action rate. There is no motion planner and no collision model beyond the robot and the table. Observing, measuring and model thinking are free; each executed step costs one from a per-task limit of 200 to 1900 (600 for push T).

Because there is no depth image and VLMs judge metric distances poorly, the tools do geometry instead. A pixel plus calibration gives a ray; each measurement adds one more constraint. The constraint is either a plane of known height — `table_plane` finds the table height once per episode with no step cost by sweeping candidate heights and warping one camera's image into another's until they agree (the three camera pairs agree to within 1 mm, 0.7646–0.7656 m) — or a second view, where two rays through corresponding pixels nearly meet and the point between them is the answer. When neither the head camera nor the current pose suffices, the robot moves a wrist to obtain the second view, and that motion is charged to the step budget. The strict rule for both agents is that every number about an object must be measured in the episode; nothing may be read from benchmark assets, layouts or logs.

Tools are directories containing `tool.py` and `interface.md`, declaring sub-commands and a `run(api, command, args)` function over an `EpisodeAPI`. Tools cannot import the simulator or read object poses, and a tool is loaded only if named in the task's `enabled_tools.txt`. A shared pool holds two tools (`pick` and `table_plane`) that the loop never modifies.

The evolution loop runs layout by layout over the first ten layouts of seed 0 (for Generalization tasks, five standard and five cluttered, which share tools), with one run per task and a 12-hour development budget on one RTX 4090. On success the optimizer appends to `playbook.md`; on failure it reads the command log, frames and tool code, writes a diagnosis to `skill.md`, and edits a tool. A delivery check verifies that files are complete, tools load, and the interface text names neither the task nor its objects; failed edits are reverted. The simulator restarts and the *same* layout is retried, up to five edits per layout. After the tenth layout the tool set is frozen and retested with no optimizer on the ten development layouts and ten new layouts (layouts 10–19 of seed 0). The eight Open tasks use a single shared setup built without any Open layout: a perception tool `scene`, eight shared skills borrowed from other tasks, and two extra base commands (`goto`, `reach`).

## Why This Matters

**Impact on research.** The paper supplies a controlled comparison: same model, same benchmark, one change — letting the agent write, keep and repair tools. It shows that an evolved code library buys roughly a doubling of success over a fixed interface without any robot demonstrations, and it provides a capability map and failure taxonomy that other groups can reuse to explain *why* an agent-based system fails rather than just reporting that it does.

**Real-world applications (bullets):**

- Pick-and-place, sorting and stacking in warehouses, where the task is decided by measured geometry and clutter resistance matters most (this is where the system is strongest).
- Conveyor or moving-belt picking, where a documented case study shows motion-cost estimation fixing scheduling-induced aborts.
- Rapid setup of new robot cells: a team can point a coding agent at a new arm and let it build and test its own perception and execution tools, with a small arm-specific change as the only hardware adaptation shown here.
- Scene-reading and state-tracking tasks such as memory and rearrangement, where the approach leads all leaderboard entries (81.0% on Memory).

**Industry relevance.** The approach requires no robot data collection, no training run and no model modification — only a coding-agent subscription and GPU time for the loop — which lowers the barrier for small teams and integrators. The explicit step-cost accounting for extra camera views gives practitioners a concrete trade-off curve between measurement accuracy and action budget.

## Future Directions

- **Contact-rich manipulation.** Tight insertion (8.3%) and articulated tool use (7.5%) are the largest deficits; the paper notes an insertion needs the hole and the part in the same frame to a few millimetres, while one head-camera pixel covers 2–3 mm on the table. Closing this likely requires something beyond pre-planned geometry — force sensing, or closed-loop correction the current tools lack.
- **Deformable and fluid material.** Fold clothes reaches 50% with tools versus 72% without, because a tool fixes one interpretation and one motion in advance while a step-by-step agent can notice and correct. Hybridising the two is an open design question.
- **Cheaper active perception.** Second views are effective but expensive on specific tasks (40% of steps on an egg carton, 16% on a coin slot), and none of those tasks succeeds; deciding *when* a view is worth its steps is unresolved.
- **Better depth or better geometry.** Rendered depth remains 10.6 points ahead of triangulation, so either improving monocular depth at wrist ranges (current networks leave 21–72 mm) or smarter multi-view strategies is a clear next step; broader hardware validation beyond the two PiPER X arms is also untested.

## Target Audience

Robotics researchers working on manipulation benchmarks, agent architectures and code-as-policy methods; engineers evaluating whether a general VLM coding agent can substitute for a trained policy in a new robot cell; and benchmark designers interested in a task taxonomy that separates perceptual difficulty from contact difficulty. Readers need moderate background in manipulation and agent systems, but the central argument — and the boundary it draws at contact — is legible to anyone who follows robot learning.

## Authors’ abstract

Agents built on vision language models (VLMs) now compete with learned policies on robot manipulation leaderboards. We ask how far a coding agent can go when it controls a robot instead of a computer, and where it stops. Our system, HexaShell, gives the agent a thin harness: one command line that turns its commands into robot motion and makes no decisions of its own. On the robot, the agent keeps doing what it does best: it reads output, writes code and runs tests. Two…

[The full abstract on arXiv](https://arxiv.org/abs/2610.23479)

[Read the original paper](https://arxiv.org/abs/2610.23479)

## Related papers

- [EmbodiedLab: Benchmarking Embodied Agents That Act to Know](https://robotics.world/paper/embodiedlab-benchmarking-embodied-agents-that-act-to-know-2610.35385) 2026-10-26 · cs.RO · Also by Alex Zhou, Di Wu +10
- [Make Code as Policy Great Again: Frontier Agents Write, Call, and Evolve Robot Tools](https://robotics.world/paper/make-code-as-policy-great-again-frontier-agents-write-call-and-evolve-2609.39018) 2026-09-30 · cs.RO · Also by Alex Zhou, Di Wu +8
- [When the Simulator Fails, Not the Policy: Auditing Contact Artifacts in Simulated Robot Benchmarks](https://robotics.world/paper/when-the-simulator-fails-not-the-policy-auditing-contact-artifacts-in-2610.41857) 2026-10-30 · cs.RO · Also by Alex Zhou, Hongcheng Gao
- [AtomEgo: Exploring Ego-Robot Integration for Embodied Foundation Model Pretraining](https://robotics.world/paper/atomego-exploring-ego-robot-integration-for-embodied-foundation-model-2609.21461) 2026-09-18 · cs.RO · Also by Di Wu
- [Coding Agents with Harness for Safe Robot Control](https://robotics.world/paper/coding-agents-with-harness-for-safe-robot-control-2609.20822) 2026-09-17 · cs.RO · Key terms of the title in common

---

Canonical: https://robotics.world/paper/hexashell-a-thin-harness-for-exploring-the-limits-of-vlm-agents-as-2610.23479
