The problem
Producing a legal presentation meant listening through attorney narration, finding the corresponding exhibits, and placing each visual on a timeline by hand. Changing a cut meant keeping track of which version a reviewer had seen.
What I built
I built the first agent with the OpenAI Agents SDK to turn scripts and case materials into editable presentations. For the next generation, I used Codex CLI, Trigger.dev, Remotion, and FFmpeg to edit recorded narration and preserve a versioned project alongside each review video.

How it works
Locate the spoken cue
A reviewer submits narration, exhibits, and editing notes. The worker uses a timed transcript when one is supplied and transcribes the recording when it needs one.
Place the evidence
The agent reads the transcript and exhibits, chooses where each insert belongs, and builds timed visuals. Remotion and FFmpeg render the composition with the original narration underneath.
Verify and revise
Code checks that the video decodes and the inserts land within the timeline. The reviewer gets a playable draft and editable source. A revision starts from the selected version and preserves the earlier cut.
Engineering decision
I gave the agent responsibility for editorial choices and kept verification in application code. Each insert carries a source reference and a frame range, so a reviewer can trace what appeared on screen back to the recording or exhibit.
What changed
The agent cut hours of manual editing to minutes for case presentations used by law firms. Editors spend that time reviewing the sequence and refining individual inserts, with earlier drafts available for comparison.