Skip to content
BT. Open to select work
← All case studies04 / 12 · Multimodal creation

Multimodal creation

Video Editing Agent

Describe the edit. Let the agent build the composition.

01 / DirectionA prompt and source mediaThe editor starts with intent, footage, images, or audio—not a blank timeline.
02 / Agent workspacePlan, write, inspect, retryGemini reasons over the media while LangGraph carries the editing thread forward.
03 / RenderA revisable Remotion compositionGenerated React becomes a playable video and remains code that the agent can change.

01 /
The starting point

Most “AI video editor” ideas stop at suggestions. The useful version has to understand the supplied media, make timing and composition decisions, produce a real edit, and stay coherent when the user asks for a second revision. I built this project around that full loop rather than around a one-shot generation.

02 /
What I built

Each editing project owns its uploads, generated code, outputs, conversation, and checkpoint database. The browser combines chat, asset management, event updates, and output playback. Behind it, a FastAPI service runs the agent and exposes guarded project-scoped file tools so one session cannot wander into another workspace.

01Understand

Gemini can inspect video, images, and audio as part of the same request that drives the edit.

02Orchestrate

LangGraph manages the reasoning and tool loop, with SQLite checkpoints plus bounded recent and summarized context.

03Compose

The agent writes Remotion React components, making timing, layout, transitions, and graphics explicit in code.

04Render

Server events report progress while the finished output returns to the same browser workspace for review.

03 /
The engineering decision

The central decision was to treat an edit as a program. A rendered video is the artifact, but the Remotion composition is the durable working state. That gives the agent something precise to inspect and revise instead of repeatedly regenerating an opaque media file. It also makes specialist editing guidance reusable through workspace skills for animation, sequencing, captions, charts, media handling, and voiceover.

The product idea

The conversation gives direction. The composition holds the edit.

04 /
Reliability work

Agentic editing creates long-running, failure-prone work. The implementation adds capped uploads, prompt-rate controls, restricted file paths, render progress events, persistent checkpoints, rolling summaries, and a bounded history export. These are unglamorous details, but they are what make iteration possible beyond a single demo prompt.

WorkspacePer projectAssets, code, memory, and outputs stay together.
CompositionCode-firstRemotion keeps every edit inspectable and revisable.
FeedbackLive eventsRender and agent progress return to the web interface.

05 /
Evidence & boundaries

The recorded demo shows the working request-to-render experience. The repository also contains the web application, agent loop, project-scoped tools, Remotion base project, editing skills, and deployment configuration. It demonstrates an implemented system; it does not imply large-scale adoption or measured editing accuracy.

Inspect the repository ↗Ask Brook about the architecture ↗

Keep exploring

Maya

Next case study →Ask about this work ↗