arXiv(opens in a new tab)cs.ROOct 2026Cited by 5 papers on PaperVantage

Manuscript Offprint

arXiv:2610.23479

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, Di Wu, Yazhe Wang, Jianshu Zeng, Xuan Shangguan, Yongli Wang, Yexing Wan, Lingyu He, Zhiqi Jia, Sihang Wu, Xiao He

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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.

HexaShell: From Robot Failures to Reusable Tools

Physical coding with an unmodified coding agent

42 tasks / dual-arm manipulation

Task inputs

Head view (RGB)

Left wrist (RGB)

Right wrist (RGB)

Text instruction

3 RGB views

TCP poses

observations only

Acting agent

Codex + GPT-6

read, code, execute

Thin harness

robo

motion translation

no task logic

tools persist across episodes

Robot rollout

on failure

Reusable tools

perception

execution

updated tools

Optimizer agent

diagnose

write / repair tools

check

Freeze & retest

same model, with tools

22.5% → 39.7%

+17.2 percentage points

✓ No simulator, no key

✓ Tools persist across episodes

✓ Only frozen retests scored

Where tools help

1 Rigid manipulation

2 Planar Alignment

3 Tool use

4 Clutter robustness

Where they fall short

5 Contact-rich deformables

Figure

Figure

Figure 1. HexaShell turns robot failures into reusable tools. A coding agent operates a robot with two arms through a thin harness and sees RGB images only. After a failure, an optimizer agent diagnoses the episode and writes or fixes tools that use only what the robot observes. Both agents are Codex with GPT-6-Astra at medium reasoning effort. Bottom: where tools help (rigid, planar, tool use, clutter) and where they fall short (cloth).

Figure

HexaFuture

HexaShell (ours) VPP2 PhysicalRSI Awomo-0.5 Simate-beta Rex-M1 Preview Liber-0 Preview GPT-6 Astra, no tools

(a) success rate

Figure

(b) progress score

Figure 2. RoboDojo comparison on the leaderboard's metrics: success rate (a) and progress score (b). Overall is the leaderboard's score, the mean of its five task types (Generalization: mean of its standard and cluttered variants). HexaShell uses GPT-6-Astra at medium reasoning effort, RGB images only and frozen tools, tested on ten new layouts of each task, which the tools were not built on (Sec. 4.1). GPT-6-Astra is the same model without tools [69]. Systems are ordered and shaded by Overall success rate.

1 Introduction

Robot manipulation leaderboards have been led by learned policies. Vision language action models and world action models learn from large sets of demonstrations and output the robot’s actions directly [4, 7, 35]. Agents built on vision language models have now started to compete. On RoboDojo [14], the model we use reaches 22.5% without tools of its own, choosing gripper targets through a fixed harness written by the benchmark’s authors [69].

Coding agents suggest another route. In a software repository, a coding agent reads the code, runs it, reads the error and fixes the code, and the fix stays. Recent work has begun to let coding agents write and revise robot tools and programs [25, 26, 34, 40]. We ask how far a coding agent can go when it works on a robot in the same way, and where it stops. Our system, HexaShell, keeps the harness thin. The agent gets one command, robo, three RGB images with their calibration, and a manual of one page. The harness turns commands into joint motion and does nothing else. What the agent learns is kept as tools, small programs that add commands to robo and may use only what the robot observes. An acting agent tries a layout with the current tools. After a failure, an optimizer agent of the same model reads the episode as it would read a failing test, writes or fixes a tool with its unit tests, and the layout is tried again (Fig. 3). Both agents are Codex with GPT-6-Astra at medium reasoning effort.

The hard part is turning pixels into positions. In a repository, everything the agent works on is text it can read exactly. On a robot, the agent sees objects as pixels, but every command needs a position in the world, to about a centimetre for a grasp. Vision language models are known to judge such distances poorly [9, 16]. The standard observation has no depth. A monocular depth network can estimate depth from one image, but on RoboDojo scenes Depth Anything V2 [65] is off by a median of 41 mm at the head camera and about 100 mm at the wrists, even after we fix its scale with the table. Our tools use triangulation instead. The cameras are calibrated, and the robot knows where its wrists are. A point that two cameras see lies where their rays meet, and a point on a measured plane, such as the table, lies where its ray meets that plane [27]. When one view is not enough, the robot moves a wrist camera to get another. This is active perception [3], and on a benchmark it has a price: the motion uses action steps, and every task has a step limit.

We build the tools on ten layouts of each task, freeze them, and test them on ten new layouts. On all 42 tasks, HexaShell reaches 39.7% success and a progress score of 48.0 on the leaderboard's metric, a new state of the art on RoboDojo (Fig. 2). It does best where the right action follows from measured geometry, and it stops at contact: tight insertion stays low. The paper makes three contributions.

  • A thin harness and a short repair loop for robot coding agents. The harness gives an unchanged coding agent one command line to the robot and makes no decisions for it. All that the agent learns is kept as small tools with unit tests, which the next episode loads. After a failure, a second agent of the same model edits one tool and the same layout runs again. A repair round takes a median of 6.3 minutes, and no robot data, training or change to the

Figure

HexaFuture

model is needed (Sec. 3).

  • The finding that triangulation locates objects more reliably than a depth network, and so lifts what a VLM agent achieves on a robot. The model picks a pixel on the target, and the tool turns it into a position. With the same harness, loop and model, on the same layouts, triangulation scores 8.7 points higher than Depth Anything V2; paired by layout, it wins 57 layouts and loses 23 (Tab. 1). Its second views cost at least 3.6% of the executed steps, and on the layouts where the robot moved a camera to look, triangulation succeeds 39 times against 22 (Sec. 4.5).

• A map of the current limits of VLM agents in the physical world. Over 420 retest episodes, success follows the contact a task needs, not what the agent must read or remember. Pushing reaches 92.5% and memory tasks 65.0%, but tight insertion only 8.3%. On the development layouts, clutter matters little: with 13 to 18 extra objects, HexaShell keeps 95% of its success. How an episode fails also separates a gap in perception, where the agent claims a success that the checker rejects, from a gap in execution, where it runs out of steps (Secs. 4.3 and 5).

Seven case studies show the loop at work. Each follows a failed attempt through the optimizer’s diagnosis and fix to the next attempt on the same layout (Sec. 6).

References (70)