UC Berkeley has AI agents write and test robot code in simulation
In short
- On 9 November 2026 UC Berkeley described "agentic robotics": AI agents write a robot's control program, rehearse it in a physics simulation, read the failures and rewrite it. The robot then runs plain exported code, with no AI agent on board.
- In one example, an agent built a simulation of a sponge wiping ink off a metal bar in under an hour from a short video. The program written against it then worked on a real robot, Berkeley says.
- The method rests on a July 2026 preprint, not yet peer reviewed (Graph-as-Policy, or GaP), which the project page lists as a Conference on Robot Learning spotlight. The team says it is releasing open-source code on NVIDIA's Isaac framework and a benchmark called VABAR; we found no licence stated.
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 project page also lists imperfect physics models, slow coding agents and safety verification as open problems. It says it is not yet known whether this scales to open-ended generalist robots or humanoids. Goldberg himself said not to expect home robots folding laundry yet.
- The sponge result and the Ambi Robotics figure come from Berkeley's release and the company, not an independent test. Ambi Robotics, a Berkeley warehouse-robot company, is quoted as reporting over 15,000 more packages sorted a year per robot, now deployed on 30% of its U.S. fleet.
- The benchmark page's comparison of eight coding models (against a human-written baseline) is the benchmark team's own, in simulation.
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
- Simulation (Real2Sim, Sim2Real): a physics model of the task on a computer; Real2Sim builds it from real video, Sim2Real moves the result to a real robot.
- ROS2: open-source robot software that connects sensors, planners and motors.
- Computation graph: a program drawn as skill blocks joined by arrows, readable by engineers (our wording).
Official channels of BAIR, UC Berkeley: Website · LinkedIn · X
Sources
- Recent advances in AI are creating a 'paradigm shift' for robotics, UC Berkeley News, 9 November 2026
- Agentic Robotics project page, UC Berkeley AUTOLab and NVIDIA
- GaP: A Graph-as-Policy Multi-Agent Self-Learning Harness, arXiv preprint, 6 July 2026
- VABAR: Variational Automation Benchmark, UC Berkeley AUTOLab
Sources
- Recent advances in AI are creating a 'paradigm shift' for robotics
- Agentic Robotics (project page)
- GaP: A Graph-as-Policy Multi-Agent Self-Learning Harness for Variational Automation Tasks
- Variational Automation Benchmark (VABAR)
Related stories
- Sunday says its Memo robot folded laundry 99.8% unaided in 20 homes
- Flexion's FUSE trains new robot skills in simulation in days
- Top AI agent beats authors' code on 28 of 48 tasks, Berkeley says
- Open 450K-example dataset teaches medical AI to reason on images
- AWS makes EC2 servers with 72 NVIDIA Rubin GPUs generally available
- Microsoft and NVIDIA show how Fairwater AI datacenters are built
More from Robot Learning
- Hugging Face's LeRobot v0.7.0 lets you steer robots by typing
- Stanford's BEHAVIOR Challenge sets robots 100 household tasks
- Wiggle and Go lets a robot arm judge a rope with one shake
- AgiBot unveils GO-3 Preview, a robot model built to keep learning
- Unitree releases RobotSkills, an open skill library for AI agents