Metaphi AI
Essay

Can you vibe code your robot?

Coding agents can already write reinforcement-learning pipelines that beat human reference recipes. We tested whether those skills transfer to training a task-specific robot for deployment across 12 multi-hour rollouts and 159 experiments.

Contents
  1. Twelve rollouts, read blind
  2. Agents train for the shifts they imagine
  3. Scripts still beat learning where the state is clean
  4. The search stays in one basin
  5. What to fix in the harness, what to train

General-purpose coding models can now connect to a robot arm, generate MuJoCo training scenes from a photo, and run manipulation tasks from plain conversation. Recent demos from Google DeepMind show how fast vibe-robotics reaches the demo ceiling: Gemini 4 Argon lifting tabletop VLA success from 56% to 75%, MuJoCo 4.0's coding-agent skills, and Gemini 4 Neon opening a toolbox with a screwdriver at 89%. Neon's own caption marks where demos break: 100% on nominal and in-between placements, "only missing when pushed to extrapolated placements."

The question for deploying robots outside fixed cells is what happens when the human stops steering the prompt and the robot's conditions leave the practice simulator. Software benchmarks draw local tests and hidden tests from the same distribution. Deployment does not: worn motors, actuator delay, dropped sensor packets, steering pull, and several mild faults at once.

We ran 12 unsteered, multi-hour GPU rollouts on three robot-learning tasks on Kennet, and read every one blind, experiment by experiment.

Writing RL code is no longer the bottleneck. Agents build 290k-step/s PPO pipelines from scratch and beat the reference recipe on unseen deployment courses. What costs them reward is research conduct: losing track of the clock, accepting a plateau, reaching for a script instead of learning, and never simulating the disturbance that hurts most.

Twelve rollouts, read blind

Each task gives the agent a GPU sandbox, no network, the grader's exact practice harness, and a 2 to 4 hour budget. Practice shows clean or mild conditions. The hidden verifier grades wider, unseen and stacked conditions.

  • Legged RL (go1-fused, 2 h, 1× L40S). Train a 50 Hz Unitree Go1 velocity-tracking policy in MuJoCo. The verifier grades 474 unseen courses across 13 shift conditions, 8 of them never shown in practice, alone and in pairs. Unmodified MuJoCo Playground PPO scores 0.616.
  • Post-training a language policy (inkling-following, 4 h, 1× H100). Teach Inkling 2 Mini, a quantized 26B model, to drive CARLA traffic at 20 Hz from JSON states. The deliverable is weights and a prompt, with no Python controller. The verifier grades 48 episodes on unseen roads, events and cars.
  • Multi-agent driving (puffer-drive-pilot, 2 h, 1× L40S). Drive 6 to 9 cars at once through recorded Waymo scenes in PufferDrive. Practice is 100 clean scenes; the verifier grades 200 hidden scenes under held actions, sensor delay, actuator delay and steering pull. Two variants, -lab and -ppo, add a PPO starter script.

One blind reader read each trajectory beside the verifier's files, with no shared taxonomy. Reward is continuous, so we read every rollout, winners included, for its largest remaining loss, and logged each experiment the agent ran inside it: 159 in all, 140 excluding reference measurements. These are single runs per configuration. They are diagnostics, not a ranking.

Table 1: The 12 rollouts
Task Model Reward Minutes Final policy
go1-fused Opus 5.5 0.860 83 / 120 PPO
go1-fused Kimi K3.1 Pro 0.701 47 / 120 PPO
go1-fused GLM 5.3 0.170 16 / 120 Gait script
go1-fused GLM 5.3 0.000 28 / 120 Standing
inkling-following Sonnet 5.5 0.639† 194 / 240 LoRA
inkling-following Kimi K3.1 Pro 0.000 220 / 240 LoRA
puffer-ppo GLM 5.3 0.462 13 / 120 MPC script
puffer Opus 5.5 0.382 64 / 120 Rule script
puffer-lab Opus 5.5 0.362 98 / 120 Self-play PPO
puffer GLM 5.3 0.106 16 / 120 Rule script
puffer-ppo GLM 5.3 0.045 18 / 120 Rule script
puffer GLM 5.3 0.000 68 / 120 Imitation

†Raw hidden score from a run before the baseline was locked; the released weights score about 0.45 raw. On puffer-drive-pilot, 18 of 600 hidden runs across three rollouts failed a simulator log check with every car at its goal; at most this moves one reward by 0.06.

Largest loss per rollout, by modeLargest loss per rollout, by mode

Agents train for the shifts they imagine

On go1-fused, Opus 5.5 and Kimi K3.1 Pro both wrote MJX PPO pipelines from scratch and beat the reference recipe on unseen courses. Opus profiled stock MJX in six minutes, switched to the Warp backend (290k steps/s, 42× faster), warm-started harsh randomization from a milder policy, and averaged four networks. It fell on 22 of 474 courses where the reference fell on 140.

Practice hid the difference between the two. Both saturated there, and Kimi nearly matched Opus on the physical conditions practice had shown: weak motors, heavy payload, a weak leg. Kimi read "beyond practice" as wider ranges of those same parameters. Its trace at step 195: "Perhaps deployment hidden uses only family parameters wider by ~20%." Then it met two conditions it never simulated, control latency (0.301 against Opus's 0.912) and sensor dropouts (0.355 against 0.812).

Go1 scores by hidden deployment condition for Claude Opus 5.5, Kimi K3.1 Pro and the MuJoCo Playground referenceGo1 scores by hidden deployment condition for Claude Opus 5.5, Kimi K3.1 Pro and the MuJoCo Playground reference

Opus avoided the latency cliff because it fed the policy a 5-frame history and randomized control delay up to 24 ms, IMU tilt and pushes, none of which practice showed. Its own two weakest conditions, fast commands and dropouts, are the two it never simulated: 14 of its 22 falls are on dropout courses. Across all 12 rollouts, Opus was the only model to simulate a kind of disturbance absent from practice.

Mild faults also stack. Each policy falls more on two conditions than on one:

Table 2: Falls on go1-fused as conditions stack
Policy Practice ranges One condition Two conditions
Claude Opus 5.5 0 of 12 4 of 156 18 of 306
Kimi K3.1 Pro 0 of 12 23 of 156 56 of 306
MuJoCo Playground PPO 0 of 12 32 of 156 108 of 306

Four of Opus's falls are on pairs whose parts it survives alone every time. Mild joint damping with mild motor weakness is one: neither Opus nor Kimi fell in 12 courses of either, and both fell on both courses of the pair, because the two faults take from the same torque margin. Agents randomize each parameter independently. None searched for the pair that breaks the policy.

Scripts still beat learning where the state is clean

Six of the 12 final deliverables are learned policies. The rest are hand-written controllers.

A script won puffer-drive-pilot. With no starter script, Opus never used the GPU: 20 experiments on a lane-graph and pure-pursuit controller reached 0.382. GLM 5.3, given a PPO starter, never opened it and wrote a sampling MPC in 13 minutes that scored 0.462, above every learned policy on the task. Opus with a starter did train. It found that the starter paid the goal reward on every step a car sat at its goal, fixed it (check solves went from 18 to 39 of 100), and reached 0.362. The script's weakness is the shift nobody simulated: the MPC scores 0.625 on clean scenes and 0.05 under steering pull. As built, this task does not yet force learning.

Both inkling-following agents compiled a script into weights. Sonnet 5.5 and Kimi K3.1 Pro found the same route independently: write a rule-based teacher, train LoRA on the 16-bit attention weights, and merge only those tensors into the 19.5 GB release, copying the quantized experts byte for byte.

Output tokens per step and control representation against hidden driving scoreOutput tokens per step and control representation against hidden driving score

Sonnet beat the released weights on 42 of 48 hidden episodes with no collisions, and passed the 0.513 that an untuned IDM script scores. Kimi shipped below them. Kimi's student actually tracked speed better than Sonnet's (efficiency 0.730 against 0.692). It lost on stability. Sonnet's student writes out a 167-token calculation that ends in a feedback step on the pedal:

lead g=38.2 vl=9.1 tg=1.6 dm=27.8 tgt=29.5 x=8.7 w=6.6 af=-1.51 areq=0.96
ad=-1.51 cmd=-1.51 err=0.1 du=0.001 u=0.45  =>  0.45 0.00

Kimi compressed the target to 55 tokens of prose and dropped that step. At 20 Hz its pedal swung between full throttle and zero, comfort went to zero on four of six stop-and-go episodes, and it collided three times.

Kimi also never measured the released model. A port clash killed its baseline run at minute 7 and it declined to rerun three times, so it could not know it had made the model worse. Sonnet's loss was quieter: it froze its teacher after ten minutes of variants and spent the next 150 minutes copying it more exactly. The hidden score loses on the three scenario kinds where the teacher was weak: on approach, its efficiency is 0.293.

The search stays in one basin

Following Fork-and-Flush and Bespoke Labs' idea-basin analysis, we grouped each rollout's experiments by broad method. 103 of 140 experiments refine the basin the agent is already in. Nine open a new one. Five of 12 rollouts never leave their first basin, and none visits more than three.

Experiments in each rollout by step type: refinement, new basin, returnExperiments in each rollout by step type: refinement, new basin, return

The strongest runs stop early. On puffer-drive-pilot-lab, Opus saw its check score stall at 0.39, 0.39, 0.41, wrote "More training time is the most likely way to improve it," and finished with 22 minutes unused. On the base task it swept constants inside evaluator noise and stopped at minute 64 of 120. On go1-fused it stopped at minute 83 with 37 minutes left, leaving the weakest tag in its own stress suite, command switching, untargeted.

GLM 5.3 lost the clock in every rollout. All six estimated elapsed time 5 to 12 times ahead of the timestamps and read the clock at most once. On go1-fused it killed its compiling trainer at minute 18 believing 107 had passed, and declared "Time is up" with 101 minutes left (stale background notifications kept the session open to minute 28). The six other rollouts ran date 8 to 77 times and stayed accurate. Blocked sleep calls are not the cause: three of the six GLM rollouts never hit one, and four of the accurate rollouts did.

Elapsed time stated by GLM 5.3 against actual elapsed time in six rolloutsElapsed time stated by GLM 5.3 against actual elapsed time in six rollouts

What to fix in the harness, what to train

Some of these losses are harness work. The rest are capabilities a research agent has to learn.

  • Lost the clock (5). Harness: put elapsed and remaining time in every tool result.
  • No starting point (1). Harness: require an untouched-baseline score before a candidate can replace the deliverable.
  • Plateau accepted (3), never pivoted (1). Harness: flag a stall when several experiments land inside evaluation noise. Trained: knowing when a basin is capped and a new method is due.
  • Unsimulated shift (2). Harness: ship stress-suite and pairwise search helpers. Trained: imagining failures the practice code never names, such as latency, dropouts and coupled faults.
  • Script over learning (6 of 12 deliverables). Harness: check in task CI that no script beats the learned reference under hidden shift. Trained: recognizing when closed-loop uncertainty calls for experience, not rules.

You can already vibe code a robot demo on a tabletop in ten minutes. Reliable deployment is not blocked on agents writing faster PPO loops. It is blocked on research agents that leave a capped basin, check their clock and their baseline, and imagine how the world breaks beyond the simulator in front of them.

What comes next:

  1. Harden the tasks where scripts still win, starting with puffer-drive-pilot.
  2. Move from single runs to k >= 3 across more frontier models, to turn these modes into rates.
  3. Manipulation without human demonstrations, then calibration against real robot logs and deployment on hardware.
  4. Post-train the robot-learning engineer on these shift-graded environments, so basin exploration and shift imagination become trained capabilities.

Cite

@misc{bansal2026can,
  title        = {Can you vibe code your robot?},
  author       = {Bansal, Ishaan},
  year         = {2026},
  month        = dec,
  howpublished = {\url{https://metaphi.ai/essays/vibe-code-your-robot}},
  note         = {Metaphi AI essay}
}