Editing is compilation
An AI-native video-editing operating system: describe intent in natural language, and a Claude-powered agent plans, compiles, and renders the result — while every edit remains structured data, versioned and reversible.
TypeScript · Node 24 · Claude CLI · MCP · FFmpeg · Remotion · Next.js
The setup
Professional video production demands manual NLE skill; AI video tools are cloud toys that hide every decision. Neither treats an edit as what it actually is: a structured, reviewable, reproducible artifact.
OpenVideo’s thesis: editing is compilation. Intent becomes a plan, the plan becomes a versioned Edit Decision Document — a video AST — and only the compiler pipeline turns that document into frames.
The model may reason freely. It may only act through a validated document.
The machine
The hard parts
On the record
The invariant that makes the system trustworthy is a typed boundary: the model authors and patches the Edit Decision Document; deterministic tools execute it. The contract is the validated EDD, never free-form shell output — edd_apply_patch validates every change before it touches disk 1. Hallucination cannot render, because rendering only reads the document.
Everything downstream is compiler engineering. The EDD lowers to an intermediate representation, then to a content-addressed execution DAG, which makes re-renders incremental and reproducible. The render layer keeps two paths healthy — Remotion for React-composed captions and graphics, FFmpeg for media — with a PNG-sequence fallback selected by health check, because the native compositor crashed in the proof of concept and again, independently, during the build 2.
The build discipline is written into the repository: unit-test pure logic offline, exercise the real binaries in integration, and never claim something works without having run it. The project maintains its own memory folder so that future AI collaborators inherit prior decisions and previously fixed bugs 3. It is early — a single Director agent, an alpha feature set — and it is the most ambitious thing in this issue.
The numbers
| Measure | Value | Source |
|---|---|---|
| Design record | 32-section PRD · 25 deep-dives · 13 ADRs | docs/, PRD |
| Agent surface | 8 typed MCP tools | packages/mcp-server |
| Reproducibility | git-backed projects; every edit = validated patch + commit | PRD §12, §17 |
| Auth model | reuses the user’s Claude subscription — no API key | ADR-0002 |
Errata & Failures
The docs outran the build
For a stretch, the architecture set described a system that did not exist yet. The correction was a standing rule: the PRD is the source of truth for intent, the code for behavior — when they disagree, fix the wrong one rather than assuming either is right.
The compositor that kept crashing
Remotion’s native compositor failed twice, independently, months apart. The PNG-sequence path is therefore the default-assumed-healthy render route until there is new evidence — a fallback promoted to a policy.
■ References