CodeReel: Accelerating Code-to-Video Agents with Exact Frame Reuse and Blocking-Aware Scheduling
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Coding agents make videos by writing and refining programs in a build--inspect--edit loop. A finished film costs a median of 2.85 in model calls and 11 minutes, over a third of that time in builds that block the agent. We find that much of this time is avoidable, for two reasons. First, 37.5% of the frames of a session's later films were drawn before, many shifted in time or inside an edited scene. Second, half of the builds stop at a check, where the agent needs only the verdict, but which builds stop is unknown until the checks finish. We present CodeReel, a training-free execution layer behind agents' existing commands. Exact frame reuse keys each frame by its drawing commands, regardless of its position in time, and reuses each frame whose key recurs. Blocking-aware scheduling runs the checks first and starts the render alongside them, at idle priority, unless the session's recent builds make a pass unlikely. Scheduling spends CPU to answer sooner and reuse returns it; exact keys let later versions use frames rendered for a failed one as the agent thinks. We introduce EditLoop, a benchmark of replayable agent sessions whose films are checked against renders from scratch. On it, CodeReel cuts the agent's wait by 36.3% against Rebuild, a warm pipeline with parallel rendering, and by 57.9% against Sequential, today's step-by-step pipeline. On time-shifting edits its reuse renders 43.9%, close to the 43.0% whose pixels are new, while Manim-style caching renders 99.8%. With real agents, the median wait per build is 0.62x Rebuild's in Claude Code, on topics never used in development, and 0.67x in Codex CLI. The gain holds for five models and two frameworks.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 31 of its 71 references that are in the map. Submitted 17 Nov 2026, announced 18 Nov 2026.
Builds on
31 of 71 references.
Closest ancestors · 4
Same direction, newest first
- 2026SpecBox: Speculative Sandbox Scheduling for Efficient LLM Agent Serving27 Jul
- 2026TraceLab: Characterizing Coding Agent Workloads for LLM Serving29 Jun
- 2026AgentCgroup: Understanding and Controlling OS Resources of AI Agents10 Feb
- 2025Justitia: Fair and Efficient Scheduling of Task-parallel LLM Agents with Selective Pampering19 Oct
Other references · 27
- 2026DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligencecited by 1,363
- 2024Timestep Embedding Tells: It's Time to Cache for Video Diffusion Modelcited by 324
- 2023An LLM Compiler for Parallel Function Callingcited by 217
- 2024Real-Time Video Generation with Pyramid Attention Broadcastcited by 180
- 2025From Reusing to Forecasting: Accelerating Diffusion Models with TaylorSeerscited by 164
- 2024FasterCache: Training-Free Video Diffusion Model Acceleration with High Qualitycited by 144
- 2024Adaptive Caching for Faster Video Generation with Diffusion Transformerscited by 121
- 2025AutoPresent: Designing Structured Visuals from Scratchcited by 74
- 2025BlenderGym: Benchmarking Foundational Model Systems for Graphics Editingcited by 48
- 2025VISTA: A Test-Time Self-Improving Video Generation Agentcited by 46
- 2024The Scene Language: Representing Scenes with Programs, Words, and Embeddingscited by 41
- 2024BlenderAlchemy: Editing 3D Graphics with Vision-Language Modelscited by 38
15 more
- 2021Skip-Convolutions for Efficient Video Processingcited by 33
- 2025TheoremExplainAgent: Towards Video-based Multimodal Explanations for LLM Theorem Understandingcited by 30
- 2025Paper2Video: Automatic Video Generation from Scientific Paperscited by 28
- 2022DeltaCNN: End-to-End CNN Inference of Sparse Frame Differences in Videoscited by 24
- 2024Lazy Diffusion Transformer for Interactive Image Editingcited by 21
- 2024Conveyor: Efficient Tool-aware LLM Serving with Tool Partial Executioncited by 18
- 2023Eventful Transformers: Leveraging Temporal Redundancy in Vision Transformerscited by 16
- 2025MoVer: Motion Verification for Motion Graphics Animationscited by 16
- 2025MoReGen: Multi-Agent Motion-Reasoning Engine for Code-based Text-to-Video Synthesiscited by 8
- 2026Accelerating Diffusion-based Video Editing via Heterogeneous Caching: Beyond Full Computing at Sampled Denoising Timestepcited by 6
- 2026See Before You Code: Learning Visual Priors for Spatially Aware Educational Animation Generationcited by 2
- 2026Timeline-Bench: Evaluating Agents on Realistic Video-Editing Tasks, from Raw Footage to Final Cutcited by 2
- 2026Code2Video-Compass: A Comprehensive Benchmark for General-Purpose Code-Based Video Generation across T2V, I2V, and V2Vcited by 2
- 2026AgentPerfBench: A Benchmarking and Evaluation Suite for Inference Performance of Agentic LLMscited by 1
- 2026Reels-RSI: Program-Level Self-Improvement for Code-Rendered Explainer Videoscited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026VideoWeaver: Evaluating and Evolving Skills for Agentic Long Video Generation
- 2026Video-Coder: Reinforcing Agentic Coding for Video Generation
- 2026VIVID: A Visual Harness for Agentic Video Editing
- 2026CliffCompaction: Cost-Efficient Compaction for Long-Horizon Coding Agents
- 2026FRAMEWORKERS: A Dynamic Multi-Agent Framework for AI-Generated Video Production
- 2026Coda-DaVinci: Reimagining Video Generation with Code2Video
- 2026WeVisCut: The Whole Editing Room in One Agent From Narration to Long-Form Video
- 2026Analyzing and Mitigating Cost-Inefficient Behaviors in Coding Agents