Code Generation
~9 min readUpdated: November 2026

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

Solve Vision with Code VBVR-Pro-Bench Coding Agent vs Video Model Comparison

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.

Technical Review: Smoke Monkey Core Architecture Team
Tested on Node.js 18+ & BunTypeScript 5.x
Quick Answer & Executive Definition

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.

Key Architectural Takeaways
Quick Implementation Examplevisual-program-synthesis-agent.ts
visual-program-synthesis-agent.tstypescript
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);
Video Guides

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:

RankSystem / ModelCategoryOverall ScoreVideos Rendered (of 500)Avg Tool CallsMedian Latency (s)
1Codex (gpt-6-astra)Closed Coding Agent0.9235003.222 s
2Claude Code (Fable 5.1)Closed Coding Agent0.8945009.2105 s
3Gemini CLI (Gemini 3.1 Pro)Closed Coding Agent0.89350025.3218 s
4VBVR-Pro-Wan2.2-I2V-A14B (RL)Video Model (RL)0.670—N/A—
5GLM-5 (OpenCode)Open Coding Agent0.57249548.0378 s
6VBVR-Pro-Wan2.1-I2V-14BVideo Model0.562—N/A—
7Kimi K2.5 (OpenCode)Open Coding Agent0.55749841.9336 s
8VBVR-Wan2.2Video Model0.517—N/A—
11MiniMax M2.5 (OpenCode)Open Coding Agent0.45148845.7420 s
14DeepSeek V3.2 (OpenCode)Open Coding Agent0.37847532.9277 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:

  1. 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.
  2. 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.
bash
# Inspect agent-generated visual solvers for runtime measurement vs hardcoded pixel constants
rg -n "cv2\.|findContours|connectedComponents" ./agent_outputs/*.py

Prefer 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.

Google Search Questions & Answers

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 guides

Build with Smoke Monkey Harness

Zero dependencies. 24 built-in tools. Human-in-the-loop safety. 100% open source under the MIT License.

npm install smoke-monkey-harness