VibeVideoAgent: Closing the Perceptual Loop for Code-Driven Video Generation
Xuanyu Zheng, Luoyuan Zhang, Yancheng Long, Haoyang Xu, Muxi Diao, Yuzhe Chen, Kaiyu Jiang, Bin Wen and 1 others
KlingAI Research
Published November 25, 2026 · on the feed November 26, 2026 · ▲ 60 · arXiv 2611.34237
The abstract
Code-driven video generation asks a coding agent to write and run rendering programs. This gives exact control over typography, data visualizations, synchronized audio, and multi-shot scenes, and it leaves an editable project behind. A program that exits cleanly can still render overlapping labels, a camera aimed away from its subject, broken object interactions, or narration that drifts out of sync, and none of these raise a runtime error. Feeding rendered frames and audio back into the coding session bloats its long-horizon context, while critiquing only the finished full-resolution render turns early design mistakes into costly rewrites. We introduce VibeVideoAgent, a training-free framework that lets coding agents inspect their drafts throughout production. Multimodal perception runs in short-lived contexts kept apart from the coder and returns compact, grounded Findings. Seven primitives operate on a unified multi-clock representation of assets and drafts: they explore media from coarse to fine, verify quoted requirements with evidence from every required modality, compare a draft with a reference or an earlier revision on separate clocks, and measure stream signals locally. A lightweight staged protocol has the agent test its riskiest decision on a minimal preview first. On all 239 VibeVideoBench tasks, with matched agent runtimes and a fixed perception model, VibeVideoAgent improves holistic audiovisual quality (L3) for Claude Opus 5.5 (4.03 -> 4.43, while L2 rubric compliance rises from 98.87% to 99.35%), GPT-6 Astra (4.03 -> 4.27), and Claude Sonnet 5.5 (3.97 -> 4.10), with the largest gains in audio-visual synchronization (up to +0.56). Controlled ablations show that each component contributes, and trajectory audits show that the granularity of code edits governs the trade-off between rubric adherence and perceptual quality.
The Brief
3:04A short podcast summary of the paper. Written and voiced by AI.
Transcript
VibeVideoAgent. Closing the Perceptual Loop for Code-Driven Video Generation. By Xuanyu Zheng and eight others, from Kling AI Research. Published on the twenty-fifth of November.
Code-driven video generation hands the job to a coding agent, which writes rendering programs and runs them. The appeal is control. Typography, data visualizations, synchronized audio and multi-shot scenes can all be specified exactly, and when the work is done an editable project is left behind. The weakness is that a program can exit cleanly and still produce a bad video. Labels can overlap. A camera can be aimed away from its subject. Objects can interact in broken ways, or the narration can drift out of sync with the picture. None of these raise a runtime error, so the agent never hears about them.
The obvious fixes each carry a cost. Feeding the rendered frames and audio back into the coding session bloats a context that already has to stretch over a long horizon. Waiting to critique only the finished, full-resolution render means that a mistake made early in the design is discovered late, and fixing it becomes a costly rewrite.
VibeVideoAgent is a training-free framework that lets a coding agent inspect its drafts throughout production, not just at the end. The central move is separation. Multimodal perception does not happen inside the coder's session. It runs in short-lived contexts kept apart from the coder, and what comes back is compact and grounded: the authors call these Findings. The coder gets to know what is wrong with its draft without carrying the frames and audio that revealed it.
The perception side is built from seven primitives, all operating on one unified multi-clock representation of the assets and the drafts. They explore media from coarse to fine. They verify quoted requirements using evidence from every modality a requirement involves. They compare a draft against a reference, or against an earlier revision, keeping each on its own clock. And they measure stream signals locally.
On top of that sits a lightweight staged protocol. Before committing to a full production, the agent tests its riskiest decision on a minimal preview first, so the choice most likely to go wrong is checked while it is still cheap to change.
The evaluation covers all two hundred and thirty-nine tasks of VibeVideoBench, with agent runtimes matched and the perception model held fixed. For Claude Opus five point five, holistic audiovisual quality, scored as L3, rises from four point zero three to four point four three. L2 rubric compliance also rises, from ninety-eight point eight seven percent to ninety-nine point three five percent.
The other agents gain too. GPT-6 Astra moves from four point zero three to four point two seven, and Claude Sonnet five point five from three point nine seven to four point one zero. The largest gains are in audio-visual synchronization, up to zero point five six. Controlled ablations show that each component contributes. Trajectory audits add one more observation: the granularity of the code edits governs the trade-off between sticking to the rubric and achieving perceptual quality.
The framing here is a loop that a clean exit code cannot close. A rendering program can be correct as software and wrong as a video, and VibeVideoAgent answers that by giving the coder eyes and ears that report back in short, grounded notes rather than raw media, applied early on small previews rather than late on the final cut.
Paper Quest · 7 chapters · about 40 min
Play this paper
Learn it by doing: make the calls the authors made, guess the result before you see it, and defend it in a viva graded on your own words. Chapter 1 is right here.
Chapter 1 🧩 · The problem
Every quest starts with a wall. Here it is a program that runs perfectly and renders a broken video.
Your coding agent writes a program that renders a video. The program exits cleanly, yet labels overlap and the narration drifts out of sync, and no runtime error tells the agent.
The road ahead
- 1 · The problem ~7 min A video program can run without errors and still look or sound wrong, and the obvious ways of showing the agent its output each cost too much.
- 2 · What came before ~3 min
- 3 · The key idea ~8 min Let separate short-lived checkers look at drafts during production and send the coder only short, located reports, testing the riskiest choice early.
- 4 · Choose your own research ~3 min
- 5 · Build the method ~8 min The agent renders a draft, has it inspected outside its own context, acts on the short Findings, and compares the fixed draft with the earlier one.
- 6 · The experiment ~6 min You’ll guess: Across the coding agents tested, in which quality dimension did VibeVideoAgent bring its largest gains?
- 7 · The viva ~5 min Three questions from the examiners, answered in your own words. Win it for the paper’s trophy.
Free, with Google or an email address. Your stars and progress are kept.