# GPT-6 Astra coding agents write robot hand programs that top Bench2Dex

A preprint shows coding agents can write and refine plain Python programs for two-handed robots without human demonstrations. The programs lead two simulated benchmarks, but real-robot reliability is not yet measured.

- Category: Robotics
- Readiness level: III (Open source) on Science Underway's four-step scale, as proposed
- Published: 2026-11-26
- Editor: Stefan Perdal
- URL: https://scienceunderway.com/articles/gpt-6-astra-coding-agents-write-robot-hand-programs-that-top-bench2dex

## The study

PyRUA-Dex: Learning Programmatic Policies for Dexterous Bimanual Manipulation with Coding Agents (preprint, not peer reviewed). arXiv 2611.33144. https://arxiv.org/abs/2611.33144

## At a glance

- What it shows: AI coding agents, practising in a simulator, wrote programs that control two robot hands with many fingers. On two public test suites, these programs did better overall than robot models trained on human demonstrations.
- What it does not show: It does not show how often the programs succeed on a real robot, because no repeated hardware trials were run. The programs also lose to trained models on 11 of 26 tasks, mostly those needing fine control of force.
- Why it matters: Collecting human demonstrations for robot hands is slow and costly. A program that an agent writes once and then runs for free could be a cheaper and easier-to-inspect way to teach robots new skills.

## What the study shows

The researchers, from Peking University, NVIDIA and three other universities, asked a coding agent to learn a robot task once and hand over a program that runs on its own. The agents are GPT-6 Astra running in OpenAI's Codex CLI. The final program is ordinary Python. It reads cameras, joint positions and fingertip touch sensors, and calls no language model while the robot works.

The work happens in two stages, all in simulation. First, eight agents explore one task in parallel, share what works through a common memory, and can rewind the simulator to retry a hard step. A further agent condenses their best attempts into one program. Second, a single agent tests that program on many random scene layouts, finds the step that fails most often, and fixes it. A new version is kept only if it does no worse on layouts no agent has seen.

On Bench2Dex, a public benchmark of 26 two-handed tasks across 12 robot arm and hand combinations, the programs score 72.9 on the leaderboard score. The best trained model, ME-Dex 1.5, scores 70.5. The authors report that the programs succeed in about 61% of episodes and lead on 15 of the 26 tasks.

On DexJoCo, a second benchmark with 11 tasks for Allegro hands, the programs succeed in 81% of episodes when objects, cameras, lighting and textures are all randomised. The strongest trained model, π0.5, manages about 40%. The programs lead on every task.

The authors also compare against the same model, GPT-6 Astra, controlling the robot live in every episode. Within the benchmark's normal step limit, the frozen programs succeed about 2.4 times as often. The live agent needs ten times the steps, and about 34 million tokens per episode, to catch up.

On a real robot with two Franka arms and two 22-joint Sharpa hands, the programs stack cubes, open a box, write 'Dex' with a brush and play piano. Once a shared piano skill exists, the authors say a new piece takes 30 minutes to an hour.

## Our reading

In our reading, the most useful idea here is not the benchmark lead, which is narrow on Bench2Dex. It is the split between a costly learning phase and a free running phase. The agent does its expensive reasoning once, during development. What reaches the robot is code that can be read, tested and versioned like any other software.

The second stage carries most of the gain. Exploration alone scores 59.1 on Bench2Dex. Refinement lifts that to 72.9. The authors explain why: a multi-step task only succeeds if every step does, so one weak step drags down the whole. After exploration, most failed runs stopped at a single step with plenty of time left. Fixing the weakest step first is a simple engineering habit, and it pays off here.

This is a preprint and has not been peer reviewed. The comparisons against trained models use leaderboard entries submitted by many groups, with different setups. The 2.4 times result against the live agent rests on only 78 episodes taken from another group's report.

The rest of the article (what it means, limits, what to watch) is free for members: https://scienceunderway.com/articles/gpt-6-astra-coding-agents-write-robot-hand-programs-that-top-bench2dex

## How this was made

An AI model read the study and wrote this article in the structure Science Underway uses. An editor reviewed it and approved it for publication. Check the original study before you rely on the details.

---
Source: Science Underway, https://scienceunderway.com/. Please link to the article when you cite it.
