How to build a video agent with OpenFilm

How to build a video agent with OpenFilm

GitHub Open Source
openfilm/openfilm

Turn any coding agent into a video editor that lets you tweak every frame via CSS and HTML overrides.

Repository snapshot

  • Repository: openfilm/openfilm
  • Language: TypeScript
  • License: MIT
  • Stars: 8 272
  • Forks: 811

Daily open-source picks: GitHub Open Source on Telegram

What it is

OpenFilm is a framework that turns standard coding agents into video editors. Instead of treating video as a black-box binary file, it treats a project as a folder containing a film.html file. This file uses web technologies—CSS, JS, and HTML—to define tracks, clips, and timing. Because the project is essentially a web page, you can inspect and modify it using standard developer tools.

Why it matters

Most AI video tools are opaque; you prompt them, they render a file, and if you want a change, you have to re-prompt and hope for the best. OpenFilm changes this dynamic by introducing an overrides system. When an agent generates a scene, your manual edits (like moving a text element or changing a color) are stored as overrides. This means the agent can continue to build on the project without wiping out your specific tweaks.

Key features

  • Treats video projects as web pages using film.html for layout and timing.
  • Supports manual overrides for text, color, and position that persist through AI regeneration.
  • Integrates with existing coding agents like Claude Code or Codex for automated asset assembly.
  • Provides four distinct editors: Screening, Edit, Canvas, and Color.
  • Exports timelines compatible with professional tools like DaVinci Resolve and Premiere Pro.

Quick start

To add the OpenFilm skill to your existing coding agent (requires Node 22.2+ and ffmpeg), run the following command:

npx skills add openfilm/openfilm

Who should try it

This is for developers who are already comfortable with coding agents and want to bring that same workflow to video production. If you are tired of fighting AI generators that don't allow for precise, granular control, this provides a way to maintain that control without sacrificing the speed of AI generation.

Verdict

A solid choice for devs who want to treat video like code. It is highly effective if you are comfortable working with web-based project structures. If you prefer traditional non-linear editors (NLEs) and want to avoid the overhead of managing code-based projects, you might find this approach adds unnecessary complexity.

Continue exploring

Get the next pick in Telegram: Follow GitHub Open Source

Curated from the repository README and metadata. No hands-on test is claimed; evaluate it in a sandbox before production use.

Report Page