Coding agents beat video models at visual reasoning, study finds

Agents that wrote programs to draw their answers scored up to 0.923 on VBVR-Pro-Bench, against 0.670 for the best video model, though the comparison wasn't rerun head to head.

Illustration of a robot typing on a laptop as colorful geometric shapes stream up from the screen, beside a film reel whose frames are blurred and pixelated. Image: AgenticFeed illustration

Coding agents that wrote programs to draw their answers outscored every video-generation model on a visual reasoning benchmark, according to a preprint posted to arXiv on Nov. 25. OpenAI's Codex, running the gpt-6-astra model, scored 0.923 out of 1 on VBVR-Pro-Bench. The best video model on the benchmark's published leaderboard scored 0.670.

The paper, "Solve Vision with Code," comes from researchers at University College London, Carnegie Mellon University, the University of California and Nanyang Technological University, among other institutions. Dezhi Luo of UCL and Hokin Deng of Carnegie Mellon are listed as corresponding authors.

What the test measures

VBVR-Pro-Bench gives a model a 1024-by-1024 image and a text prompt, then asks for a video that shows a task being carried out. It has 500 instances across 100 task families. A rule-based evaluator scores each video against a known correct answer, with no AI judge involved.

Video models are often tested this way because the reasoning happens in the frames themselves. The authors asked whether a symbolic route works better.

Instead of generating pixels, each coding agent wrote a Python program that rendered the answer video. Image and video generation models were off limits. Each agent got one attempt per instance in a sandbox with a 30-minute limit.

The results

Anthropic's Claude Code, running Fable 5.1, scored 0.894. Google's Gemini CLI, running Gemini 3.1 Pro, scored 0.893. Codex delivered a video on all 500 instances, the authors reported.

The top video model, a version of Wan2.2 trained with reinforcement learning on the benchmark's own task families, scored 0.670. That training used the benchmark's evaluator as its reward signal. Kling Video 3.0 scored 0.392 and Google's Veo 3.1 scored 0.309, according to the paper's leaderboard table.

Open-weight models did worse as agents. Of 23 that could run, GLM-5 led at 0.572. Many of the others failed by never calling a tool or by running out of time, the authors wrote.

Cost varied far more than score. Compared with Codex, Claude Code used about four times as many input tokens and Gemini CLI about 12 times as many. Their scores were lower by only 0.029 and 0.030, according to the paper.

Measuring or memorizing

The authors also sorted the 1,385 programs the closed agents wrote to solve their tasks. "Depictive" programs read the image when they run, measuring regions or locating objects, so they'd work on a new instance of the same task. "Propositional" programs hard-code an answer the agent worked out during its session and only draw it.

Claude Code kept the measurement in the program more often, with 61% of its programs depictive against 35% for Codex, the paper says. Neither style predicted a higher score.

The caveats

The video-model scores come from the benchmark's published leaderboard and weren't rerun by the authors. Daniel Ochoa, writing for the independent AI media site Genativity on Nov. 27, said this makes the headline figure "a cross-run gap rather than a head-to-head one."

Ochoa also argued the result says something about the benchmark. In his reading, it measured whether a pipeline could produce a correct-looking video file rather than whether a video model can reason.

The authors limit their claim to tasks whose answers can be computed from the first frame and the prompt. For those, they wrote, program synthesis "is currently a substantially more reliable route to visual reasoning than video generation."

Source: Preprint, Dezhi Luo (University College London), Hokin Deng (Carnegie Mellon University) and co-authors (independent source), Nov., “Solve Vision with Code: Coding Agents Are Stronger Visual Reasoners Than Video Models”

Additional sources: Benchmark paper, Xu et al. (independent source), 2026, “VBVR-Pro: A Scalable and Verifiable Suite for Native Visual Reasoning”; Code repository, Video-Reason (independent source), accessed Nov. 29, 2026, “VBVR-Pro-Bench”; Analysis, Daniel Ochoa, Genativity (independent source), Nov. 27, 2026, “Coding agents top VBVR-Pro-Bench at 0.92”

Get the AgenticFeed newsletter

A free, regular roundup of the agent stories that matter. No spam, and you can unsubscribe at any time.

Want to reach readers following AI agents? Advertise with AgenticFeed

Next event · 30 Nov, 2026

AWS re:Invent 2026 in Las Vegas

AWS’s annual conference runs Nov. 30 to Dec. 4. Matt Garman’s CEO keynote is on Dec. 1, and the catalog lists more than 2,200 sessions.

The AgenticFeed newsletter

A free, regular roundup of the agent stories that matter. No spam.