Solve Vision with Code: Coding Agents vs Video Models on VBVR-Pro

Solve Vision with Code (arXiv:2611.34813) benchmarks coding agents directly against video generation models on the 500-task VBVR-Pro-Bench visual reasoning suite. Given identical first frames and prompts, Codex (0.923), Claude Code (0.894), and Gemini CLI (0.893) beat the top RL-trained video model (0.670) by over 0.22 points via depictive program synthesis.
Solve Vision with Code: Coding Agents vs Video Models on VBVR-Pro: Solve Vision with Code (arXiv:2611.34813) benchmarks coding agents directly against video generation models on the 500-task VBVR-Pro-Bench visual reasoning suite. Given identical first frames and prompts, Codex (0.923), Claude Code (0.894), and Gemini CLI (0.893) beat the top RL-trained video model (0.670) by over 0.22 points via depictive program synthesis. Designed as a zero-dependency, open-source TypeScript architecture under the MIT License with native Model Context Protocol (MCP) support and deterministic phase state machines.
- 0.923 vs 0.670 Visual Reasoning Score: Codex (gpt-6-astra), Claude Code (Fable 5.1), and Gemini CLI (Gemini 3.1 Pro) clear 0.893–0.923 vs 0.670 for the top RL video model.
- Open-Weight Agents Beat Base Video Models: GLM-5 (0.572) and Kimi K2.5 (0.557) outperform nearly all video generation models in the 500-video suite.
- Depictive vs Propositional Synthesis: Distinguishes transferable vision-navigating scripts from fragile hard-coded coordinate scripts.
- Deterministic Video Rendering via Code: Emits verifiable frame sequences scored by exact rule-based evaluators without pixel hallucination.
import { createAgent } from '@smoke-monkey/harness';const visualCoder = createAgent({agentId: 'depictive-vision-coder',provider: 'anthropic',model: 'claude-sonnet-4-5',workspacePath: process.cwd(),permissions: {read_file: 'allow',write_file: 'allow',run_command: 'ask',},});async function solveVisualTask() {const res = await visualCoder.run('Inspect input_frame.png using Python OpenCV/PIL measurements, infer obstacle grid geometry ' +'programmatically (depictive strategy—no hardcoded pixel constants), and render shortest-path solution video to out.mp4.');console.log('Program Synthesis Result:', res.summary);}solveVisualTask().catch(console.error);
Watch: Related Video Guides
I Built a Real "Reasoning" Layer for AI Coding Agents
Solve Vision with Code: Coding Agents Are Stronger Visual Reasoners Than Video Models
What Is Solve Vision with Code? Testing Symbolic Code Against Pixel Diffusion
Video generation models are frequently pitched as 'native visual reasoners' because transformations unfold directly in pixel frames. Researchers from UCL, NTU, USC, UCSD, CMU, and UC Berkeley (arXiv:2611.34813) put that assumption to a controlled head-to-head test on VBVR-Pro-Bench, a 500-instance suite spanning 100 task families across five cognitive categories: Abstraction (25), Perception (39), Spatiality (17), Transformation (19), and Knowledge (20).
Both model classes received the exact same first frame and prompt, one attempt per task, and identical rule-based video scoring. Instead of denoising pixels, coding agents inspected the input frame via Python scripts and wrote programs to render the answer video—exceeding the top RL-tuned video model by more than 0.22 points across all three frontier coding agents.
VBVR-Pro-Bench Leaderboard: Closed & Open-Weight Coding Agents vs Video Models
The leaderboard exposes both a massive capability edge for program synthesis and stark token-efficiency gaps between closed and open-weight agent scaffolds:
| Rank | System / Model | Category | Overall Score | Videos Rendered (of 500) | Avg Tool Calls | Median Latency (s) |
|---|---|---|---|---|---|---|
| 1 | Codex (gpt-6-astra) | Closed Coding Agent | 0.923 | 500 | 3.2 | 22 s |
| 2 | Claude Code (Fable 5.1) | Closed Coding Agent | 0.894 | 500 | 9.2 | 105 s |
| 3 | Gemini CLI (Gemini 3.1 Pro) | Closed Coding Agent | 0.893 | 500 | 25.3 | 218 s |
| 4 | VBVR-Pro-Wan2.2-I2V-A14B (RL) | Video Model (RL) | 0.670 | — | N/A | — |
| 5 | GLM-5 (OpenCode) | Open Coding Agent | 0.572 | 495 | 48.0 | 378 s |
| 6 | VBVR-Pro-Wan2.1-I2V-14B | Video Model | 0.562 | — | N/A | — |
| 7 | Kimi K2.5 (OpenCode) | Open Coding Agent | 0.557 | 498 | 41.9 | 336 s |
| 8 | VBVR-Wan2.2 | Video Model | 0.517 | — | N/A | — |
| 11 | MiniMax M2.5 (OpenCode) | Open Coding Agent | 0.451 | 488 | 45.7 | 420 s |
| 14 | DeepSeek V3.2 (OpenCode) | Open Coding Agent | 0.378 | 475 | 32.9 | 277 s |
On Perception (0.960 Gemini CLI vs 0.488 top video model) and Abstraction (0.964 Codex vs 0.741), deterministic image inspection and symbolic geometry wipe out visual hallucination.
Depictive vs Propositional Programs: How Visual Agents Actually Reason
Inspecting 500 generated scripts revealed two distinct coding strategies:
- Depictive Programs: Write general computer-vision routines (e.g., color segmentation, contour/grid detection, BFS shortest path) that measure the input image at runtime and generalize across arbitrary test instances.
- Propositional Programs: Hard-code coordinates or object counts inferred visually by the VLM directly into drawing primitives (e.g.,
grid_number_sequence), which deliver pixel-exact results for one frame (1.000) but fail to transfer if geometry shifts.
# Inspect agent-generated visual solvers for runtime measurement vs hardcoded pixel constants
rg -n "cv2\.|findContours|connectedComponents" ./agent_outputs/*.pyPrefer Depictive Verification in Multimodal Agents
When delegating spatial, chart, or layout reasoning to a Smoke Monkey agent, instruct it to extract coordinates via OpenCV/PIL scripts rather than eye-balling pixel offsets in text.
Frequently Asked Questions
Q:How much better are coding agents than video models on VBVR-Pro-Bench?
Codex (0.923), Claude Code (0.894), and Gemini CLI (0.893) all outperform the strongest RL-trained video model (VBVR-Pro-Wan2.2-I2V-A14B at 0.670) by 0.223 to 0.253 overall.
Q:Do open-weight coding agents also beat video generation models?
GLM-5 (0.572) and Kimi K2.5 (0.557) beat every non-RL video model on VBVR-Pro-Bench, though they require 42–48 tool calls and 336–378 seconds median runtime compared to Codex's 3.2 calls and 22 seconds.
Q:What is the difference between a depictive and a propositional visual program?
A depictive program reads and measures the input frame programmatically at runtime to recover a transferable algorithm, whereas a propositional program hardcodes values observed from a single image.
Q:Where do video models still beat coding agents on VBVR-Pro-Bench?
In Transformation tasks, the RL video model scores 0.840 compared to open-weight coding agents (0.546 on GLM-5), though closed coding agents (0.908–0.933) still lead every category.
Related Alternatives & Comparisons
Related Architecture Guides
View all guidesBest Open Source Coding Agents in 2026: Free, Local & Fully Hackable Harnesses
MCP Server Security Best Practices: Hardening Model Context Protocol Agents in 2026
Open Source Coding Agent Harness: Build a Forkable, Local AI Engineering Runtime
Build with Smoke Monkey Harness
Zero dependencies. 24 built-in tools. Human-in-the-loop safety. 100% open source under the MIT License.