UC Berkeley has AI agents write and test robot code in simulation

In short

What the lab says it has

The work comes from Ken Goldberg's AUTOLab at UC Berkeley with NVIDIA, including Spencer Huang, NVIDIA's director of robotics engineering. Goldberg presented it at the Conference on Robot Learning that week.

Berkeley frames robot control as two old camps. In model-based robotics, engineers write the software for perceiving objects, planning motion and controlling the arm. That is fast and reliable, but needs a lot of engineering for each task. In model-free robotics, a robot learns from demonstrations (imitation learning). That needs enormous amounts of data and time, the release says. He had earlier argued for a "100,000-year data gap" in robot data.

Agentic robotics, the team says, is a third way between the two, and "doesn't require any additional data". Its output is a readable program that engineers can inspect and fine-tune.

How do AI agents write robot programs?

Step 1, Real2Sim: An agent receives a short video of a robot or human doing the task, a text summary and the robot's specs. It builds a physics simulation, in the Newton engine, that visually matches the video. Step 2, code generation: The Graph-as-Policy harness takes that simulation and the range of task variation. It writes and repeatedly improves a "computation graph": skills such as finding an object, planning a grasp and moving the gripper without collisions, wired together. Step 3, Sim2Real: The graph is exported to ROS2, the widely used robot software framework, and run on real robots. Failures, filmed on video, go back to the earlier steps.

The project page stresses that no agent is needed to run the final code, so no large AI model sits in the robot's control loop. Because the learning is in simulation, thousands of trials can run in parallel and faster than real time, it says. In its Flip Anything case study, a bimanual policy for turning tools face down went from 24.7% to 95.0% success on 24 tools over 36 versions, according to the project page (a late-breaking result).

In the sponge example, the agent was OpenAI's Astra model, given access to the team's simulation interface. In one real trial the robot pushed the bar over because it had not inferred the bar's mass. The failure video became new evidence: the agent revised the simulation and the program. Goldberg: "This is when I got goosebumps."

What the paper measured

The GaP preprint (arXiv:2607.05369, 6 July 2026, CC BY 4.0) is the only part of this we could check against numbers. Its authors test eight benchmark tasks, four in simulation and four on real robots, against baselines. These are the authors' own results.

The authors also report 121/130 successful USB-C cable insertions (0.93). On a crate-washing task, GaP succeeded 143 times in 150 against 148 of 150 for an expert hand-engineered graph, with similar cycle times (179.13 s against 176.47 s). The paper says GaP's reliability and throughput approach the hand-tuned baseline's, not beat it.

Two ablations stand out. Replacing the graph with a single AI writing raw Python scripts dropped success to zero, and so did merging the specialised authoring agents into one model. The paper also says that VLA models (large vision-language-action policies) fell as low as 0.20 success when object positions varied, while GaP held up.

25/25 GaP real grocery-order trials, against 8/25 for TipTop; 121/130 USB-C insertions succeeded; 24.7% to 95.0% Flip Anything, over 36 versions; 500 per hour industry speed the paper says GaP is well below

Caveats

The paper's own limits section says reliability "is not yet at industry levels" and that run times are well below the industry standard of 500 units an hour (7 seconds each). In the crate-washing run, GaP completed 18.33 successes an hour. The benchmarks are mostly quasi-static pick-and-place, and deformable objects, dynamic forces and moving targets need more work.

The benchmark and the code

VABAR, the Variational Automation Benchmark, covers six task classes (tool sorting, tool hanging, gear meshing, syringe packing, cable insertion, cable routing) at two difficulty levels, with a 33-skill library, on the Newton engine. "Variational automation" means a fixed workcell where objects vary in shape and position within known bounds. The page lists code as of 9 November. Berkeley says the open-source code is built on NVIDIA Isaac. We did not find a licence on any page we read; the GitHub repo we opened holds only the website.

Where things stand

Berkeley calls it a "paradigm shift"; Goldberg compared the feeling to the web's release in 1993 and ChatGPT in 2022. That is his view. What is checkable is narrower: an arXiv preprint with real-robot results on eight benchmark tasks, a benchmark and code that others can now try, and an industrial claim from one partner. Independent replication is the next test.

Terms in plain English

Official channels of BAIR, UC Berkeley: Website · LinkedIn · X

Sources

Sources

Related stories

More from Robot Learning

All stories from Robot Learning