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

Hongcheng Gao, Alex Zhou, Jay Zhu, Zelin Zheng, Shijia Ge, Xiping Li and 10 more · arXiv · 2026-10-16

- **Problem** Whether a coding agent that reads errors, edits code and reruns it can also control a dual-arm robot from RGB images alone, and where that loop stops.
- **Method** Gives an unmodified Codex agent one command line to a robot, keeps what it learns as persistent Python tools, and repairs those tools after each failed layout using triangulation from calibrated RGB views.
- **Results** Reached 39.7% success and a progress score of 48.0 across all 42 RoboDojo tasks on ten new layouts per task, using RGB images only and frozen tools.

![Figure 12: Progress score per task variant on the development layouts, HexaShell with triangulation against (a) the depth network version and (b) the same mode…](https://refivu.com/papers/987b0722-81e4-41f3-8104-a1d8a65def66/figures/figure-d2a0b5653b5b4588236adbccb42d769b.png?thumb=512)

**Figure 12** .Progress score per task variant on the development layouts, HexaShell with triangulation against (a) the depth network version and (b) the same model without tools.Points above the diagonal favour triangulation. Colour and shape give the physical class (Sec. 5.1): rigid and push (R, Pu), insertion (In), and articulated, deformable or moving (Ar, Df, Mv). Means over the 54 variants: 40.8, 33.0 and 29.8.

[Original paper](https://arxiv.org/abs/2610.23479v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · 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 · HexaShell: A Thin Harness for Exploring the Limits of VLM Agents as Robot Coding Agents · Original paper figure · Extracted the figure area from page 21 of the original PDF.

## Why a robot is harder for a coding agent than a repository

A coding agent improves a repository by reading the code, running it, reading the error and editing the code, and the edit then stays in place. HexaShell asks whether the same loop can run on a physical robot, and where it breaks down once the agent sees only camera images.

Vision language models are known to judge metric distances poorly, so a pixel alone is not enough to command a motion. The authors therefore build their measurement from camera geometry instead of from a learned depth estimate.

RoboDojo caps each task by a count of action steps, and observations and reasoning cost nothing while every executed step costs one. Extra camera views therefore compete with the task itself for the same step budget. Without tools, the same model reaches 22.5% on RoboDojo, which is the baseline the tools have to beat.

## The harness, the tools and the repair loop

Its observation directory holds three 640×480 RGB images, the intrinsics and world pose of each camera, the two tool centre point poses and the joint angles, and no depth image.

It times the joint path under the robot's official limits and samples it at the benchmark's 25 Hz action rate.

A tool is a directory with a Python file that declares sub-commands and a run function over an API, plus an interface file that is appended to the manual. That API exposes joint angles, poses, the three calibrated RGB images and the motion primitives, but tools cannot import the simulator or read object poses. Two tools, pick and table\_plane, form a shared pool that the loop never edits.

A delivery check reverts any edit that leaves files incomplete, stops a tool from loading, or names the task or its objects in the interface text, and up to five edits are allowed per layout. After the tenth layout the tool set is frozen and tested again with no optimizer, on the development layouts and on ten new layouts.

## From pixels to positions by constraints

A pixel and the camera calibration define a ray in the world frame, and a ray alone does not give a position. Every measurement therefore adds one more constraint, and the tools use three kinds of constraint built from OpenCV geometry.

Across the three camera pairs the measured table heights agree within 1 mm, between 0.7646 m and 0.7656 m.

Those moves consume action steps from the task's limit, which is the price of measuring without depth.

## Results across the 42 RoboDojo tasks

These are frozen retests on ten new layouts per task, which the tools were not built on.

VPP2 is the highest learned policy on the leaderboard, at 32.26% success and a progress score of 39.26 in its leaderboard entry.

HexaShell leads on Memory with 65.0%, against at most 55.6% for the other systems, and on Open with 50.0%, against at most 31.0%.

## Triangulation against a depth network

The comparison keeps the harness, loop and model fixed and changes only how the tools obtain 3D positions.

The exact McNemar test gives p\<0.001 for this paired difference. The largest gains are on push T, from 4 to 10 of 10 layouts, imitate sorting sequence, from 1 to 8, and play Xylophone, from 0 to 6.

Depth Pro and two versions of MoGe reduced the head error to 20 to 31 mm but left 21 to 72 mm at the wrists. Grasps and placements need about a centimetre, and geometry has no comparable floor when its assumption holds, namely a known plane or a point seen in two views. Rendered depth is still 10.6 points higher than triangulation, and most of that gap lies in tight insertion.

## What a second view costs in steps

Successful episodes use a median of 70.0% of the step limit with triangulation, against 63.1% with the depth network. On the other 240 layouts the counts are 113 and 96.

Within the 180 viewing layouts the discordant pairs are 22 against 5, with p=0.002.

The cost concentrates where the tools must measure what earlier tools took as fixed, such as an egg carton at 40% of its steps and the slot for a coin at 16%, and none of those tasks succeeds.

## Which physical contact limits success

Each task receives a physical label for the contact that success requires and a decision label for what must be decided beyond geometry. The physical labels are rigid pick, place or stack, pushing, insertion, articulated or tool use, deformable or fluid, and moving objects, and the decision labels are none, symbols or language, and memory.

Pushing reaches 92.5% and rigid manipulation 50.0%, while moving objects reach 40.0% and deformable material 33.3%. Articulated objects reach 7.5% and tight insertion 8.3%, and 7 of the 12 insertion variants are at zero.

VPP2 has the opposite profile: 24.7% on pushing and 30.0% on rigid manipulation, but 28.1% on insertion, 49.4% on deformable material and 21.6% on articulated objects. The gain over the same model without tools is largest where measured geometry computes the action, at 33 points for pushing, 13 for rigid manipulation and 26 for memory.

Without tools, the same model reaches 72% on fold clothes, against 50% with HexaShell, so a tool that fixes one interpretation and one planned motion loses to a step-by-step agent there.

## How failed episodes end

The authors read a declared failure as a gap in perception or in the task's specification, and an exhausted budget as a gap in execution.

## Repairs that fixed how tools measure

The RGB runs took 769 optimizer rounds, and 530 of them followed a failure.

The optimizer traced the refusal to a stereo area count over occupied grid cells, which gives smaller areas for distant cameras, and replaced it with the summed footprint of each pixel on the plane.

## Repairs that fixed timing, grasps and stopping

In round 2 a typed height of 0.78 m let the tool return a turn of 130.6 degrees, and both blocks finished within 5 mm of their targets while the heading check failed. In round 3 the tool measured the height itself, 0.781 m, the swap passed at step 285 of 400, and with frozen tools layout 0 passed in 275 steps.

The optimizer changed rgb\_sphere so that one pixel on the ball is matched in another camera and triangulated, and the radius only filters candidates. The frozen retest passed 6 of the 10 development layouts, and the depth network version passed none.

In match and pick from conveyor the descent was due 0.80 s after the call, but turning and moving the arm took 1.56 s, so the tool aborted twice while the fingers waited above the toy. The optimizer added a check that estimates the cost of each stage before moving, and all 20 tests passed.

In play tic tac toe the first four rings used 1016 steps on layout 0, and waiting for the opponent took 520 of them.

In fold clothes the grasp point on the left sleeve was 1.5 mm from the cloth edge, so the gripper pinched only the cuff and the episode ended at step 453 of 500. On four stored RGB fixtures, the lateral contacts sat only 0.9 to 7.4 mm from the edge despite a nominal 25 mm inset.

Both alternative paths failed inverse kinematics, recovery by hand cost 108 of the 500 steps, and the agent quit at step 449.

Across these cases the optimizer's evidence was mostly numbers, such as step counts and the reasons a tool gave for refusing.

## Limitations

The main limit the paper's results expose is contact: tight insertion reaches 8.3%, and 7 of its 12 variants are at zero. Pouring also falls with RGB observations, from 59 to 95% with rendered depth down to 0 to 10%.

On cloth the tools do worse than the same model without tools: fold clothes reaches 50% against 72% without tools.

The leaderboard entry for the same model without tools uses 50 episodes on one seed per task, so that baseline is not on the same seed design as the tools. Development runs had a 12-hour budget, and the optimizer read notes on the checker for 25 tasks, written from the public task definitions.

The cost of a second view is also not free of step pressure: the viewing moves are counted only when they are base motions followed by a wrist measurement or one of three looking tools, so the figures are lower bounds.

## Paper info

- **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
- **Venue**: arXiv · Preprint
- **First published**: 2026-10-16
- **Added**: 2026-10-20
- **Updated**: 2026-10-16
- **Version**: v1
- **arXiv**: 2610.23479
- **Category**: cs.RO
- **Original paper terms**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **What we show**: Paper info, commentary and permitted figures from the original paper

[Original paper ↗](https://arxiv.org/abs/2610.23479v1) · [PDF ↗](https://arxiv.org/pdf/2610.23479v1)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## 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, keeps the harness thin: it only turns the agent's commands into robot motion. The agent drives a robot with two arms through one command line. It sees three RGB cameras and knows their calibration. After each failed attempt, the agent reads the log, finds the cause, and writes or fixes small programs called tools. In this way it keeps what it learns as code, as a coding agent does when it fixes a failing test. The tools may use only what the robot observes. They use triangulation to find where objects are, relative to each other and to the gripper. If two cameras see the same point, the point lies where the two camera rays meet. If a point lies on a known plane, such as the table or the top of a block, it lies where its ray meets that plane. When the head camera is not enough, the robot moves a wrist camera to get a second view. We build the tools on only ten layouts of one seed per task, then freeze them and test them on ten new layouts of the same seed. We use Codex with GPT-6-Astra at medium reasoning effort. On all 42 RoboDojo tasks, HexaShell reaches a success rate of 39.7% and a progress score of 48.0, averaged in the same way as the leaderboard. This is a new state of the art on RoboDojo. The limit is contact, not reasoning: pushing reaches 92.5% and memory tasks 65.0%, but tight insertion only 8.3%. When the agent fails, it usually sees the failure but cannot make the motion work. We open source the tools evolved so far at https://github.com/HexaFuture/HexaShell.

## Quote from the paper

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 (2026). HexaShell: A Thin Harness for Exploring the Limits of VLM Agents as Robot Coding Agents. arXiv:2610.23479v1. https://arxiv.org/abs/2610.23479v1

**BibTeX**

```
@misc{gao2026hexashell,
  title = {{HexaShell: A Thin Harness for Exploring the Limits of VLM Agents as Robot Coding Agents}},
  author = {Hongcheng Gao and Alex Zhou and Jay Zhu and Zelin Zheng and Shijia Ge and Xiping Li and Di Wu and Yazhe Wang and Jianshu Zeng and Xuan Shangguan and Yongli Wang and Yexing Wan and Lingyu He and Zhiqi Jia and Sihang Wu and Xiao He},
  year = {2026},
  eprint = {2610.23479},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.23479v1}
}
```

## Other paper commentary

- [RT-2: Vision-Language-Action Models Transfer Web Knowledge to Robotic Control](https://refivu.com/en/papers/01f24caf-5337-46f9-abb9-a961b79018a1-rt-2-vision-language-action-models-transfer-web.md)
- [Can VLMs Diagnose and Recover from VLA Manipulation Faults?](https://refivu.com/en/papers/121caf8a-c8eb-4636-a58d-15ea45e3872a-can-vlms-diagnose-and-recover-from-vla-manipulation.md)
- [Escapingthe instruction blackhole of vision-language-action policies via optimal-transport wormholes](https://refivu.com/en/papers/177245e4-e8e1-4c15-9743-cffb0dddb3d3-escapingthe-instruction-blackhole-of-vision-language-action.md)
- [EcoVLA: Environment-Aware Adaptive Pruning with Interleaved Inference Orchestration for Vision-Language-Action Models](https://refivu.com/en/papers/3000b3ed-c8fb-42c9-9475-14c3c795b3ff-ecovla-environment-aware-adaptive-pruning-with-interleaved.md)
- [LaST$\_0$: Latent Spatio-Temporal Chain-of-Thought for Robotic Vision-Language-Action Model](https://refivu.com/en/papers/9076f3fe-d775-4018-bb2e-9232cc25a6f6-last-0-latent-spatio-temporal-chain-of-thought.md)
- [When Repair Accuracy Misleads: Training a VLM on Its Own Failures](https://refivu.com/en/papers/875ef8df-0b84-431d-bb7d-8f512170c313-when-repair-accuracy-misleads-training-a-vlm-on.md)
- [Prefix-Tuning: Optimizing Continuous Prompts for Generation](https://refivu.com/en/papers/01cf041e-b71c-444b-8b44-e94ac976a9db-prefix-tuning-optimizing-continuous-prompts-for-generation.md)
- [WebGPT: Browser-assisted question-answering with human feedback](https://refivu.com/en/papers/b41258c0-ce1e-478c-ad2b-6bccd936ae34-webgpt-browser-assisted-question-answering-with-human.md)
- [Reflexion: Language Agents with Verbal Reinforcement Learning](https://refivu.com/en/papers/a572f458-b121-4d38-bfc9-7a77309a3aba-reflexion-language-agents-with-verbal-reinforcement-learning.md)
- [SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shot](https://refivu.com/en/papers/98e70bdf-a832-4686-b3f8-e3eefd5887c4-sparsegpt-massive-language-models-can-be-accurately-pruned.md)
- [GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints](https://refivu.com/en/papers/11792bcd-8c73-4a2d-8b43-c855c3d7ad48-gqa-training-generalized-multi-query-transformer-models-from.md)
- [Fast Transformer Decoding: One Write-Head is All You Need](https://refivu.com/en/papers/65f892e7-2a21-4ce7-9e89-c75f7ec6b23c-fast-transformer-decoding-one-write-head-is-all.md)

## Terms in this paper

- [Success rate](https://refivu.com/en/terms/0964df1dc5eb-success-rate)
- [Codex](https://refivu.com/en/terms/1afc2735b086-codex)
- [progress score](https://refivu.com/en/terms/a6afb5f4eac0-progress-score)
- [RoboDojo](https://refivu.com/en/terms/41ddfe5fdbfb-robodojo)
- [cuRobo](https://refivu.com/en/terms/a16cde2fb91e-curobo)
- [GPT-6-Astra](https://refivu.com/en/terms/f811afb3ecfd-gpt-6-astra)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/987b0722-81e4-41f3-8104-a1d8a65def66-hexashell-a-thin-harness-for-exploring-the-limits)
