openmode

Open source · Free · Runs on your machine

Video editing and rendering for coding agents.

Ask Claude Code, Codex or Cursor to cut, caption and render your video. openmode gives them the tools.

claude mcp add openmode -- npx -y openmode mcp
codex mcp add openmode -- npx -y openmode mcp
{
  "mcpServers": {
    "openmode": {
      "command": "npx",
      "args": ["-y", "openmode", "mcp"]
    }
  }
}
npx -y openmode init

Then ask: “Cut the silences out of interview.mp4, add captions, and make a vertical version.”

Needs Node.js 20 or newer and ffmpeg.

Replay · real commands, real output

The request

Cut a 35-second square trailer of Apollo 11 from NASA’s archive footage, with the real countdown audio and captions.

The agent sees the footage as one image.

openmode look footage/launch.mp4
Contact sheet of ten timestamped frames from NASA's Apollo 11 launch film: the Saturn V on the pad, the engines lighting, and the rocket rising.
Video: 84.21s, 1812x1812, 24 fps, h264, 54.1 MBNo sound.

It writes the edit as a small file.

apollo.json, shortened
{
  "version": 1,
  "format": "1:1",
  "clips": [
    { "src": "footage/launch.mp4",
      "start": 20.2, "end": 54.4, "speed": 2 }
  ],
  "captions": [
    { "start": 14.38, "end": 17.32,
      "text": "Liftoff. We have a liftoff." }
  ],
  "endCard": "Cut by Claude with openmode.ai"
}

It renders a draft in seconds and checks it.

openmode render apollo.json --draft
Contact sheet of ten timestamped frames from the draft: countdown numbers over the rocket, captions during liftoff, then the ladder and the flag on the Moon.
draft: 35.2s, 360x360, 30 fps, 1.1 MB, with soundRendered in 3.08s (h264_videotoolbox)

Every version is kept, so nothing is lost.

openmode versions
v1    2026-11-13 17:49  first draft: countdown, liftoff, flag on the Moonv2    2026-11-13 17:50  liftoff lands on the word; ladder shot before the flag; quieter mixv3    2026-11-13 17:50  vertical version: ladder shot replaces the flag, which the 9:16 crop cut off

Then it renders the finished film.

openmode render apollo.json --final
final: 35.2s, 1080x1080, 30 fps, 11.6 MB, with sound
How Claude cut a trailer from NASA’s Apollo 11 footage. See the edit file.

What it gives an agent

Look

Eyes on the footage.

One image of timestamped frames, plus the length, loudness and silent stretches.

Render

An edit file in, an MP4 out.

Clips, trims, speed, captions and music, or a Blender scene. A draft in seconds, a final at up to 4K.

Versions

Undo for video.

Save, compare and go back to any version.

Seven MCP tools

lookSee a video as one image, with its facts.
render_editTurn an edit file into an MP4.
render_framesTurn numbered frames and sound into an MP4.
render_blenderRender a Blender scene with your own Blender.
versionsSave, list, restore and compare.
edit_schemaThe edit file format, with an example.
statusCheck that ffmpeg is ready.

Free and open source.

No account, no upload, no API key. MIT licence.

Questions

What can an agent do with it?

Look at a video, trim and join clips, change speed, add fades, captions, music and an end card, render a Blender scene, turn a folder of frames into a video, and render an MP4 at up to 4K. It also saves every version.

Which agents does it work with?

Any agent that can use MCP or run a command: Claude Code, Codex, Cursor and others.

What does it cost?

Nothing. It runs on your own computer with your own ffmpeg and Blender, so there is no account, no upload and no API key.

What do I need?

Node.js 20 or newer and ffmpeg. Blender only if you render 3D scenes.

How do I contribute?

Star the repo, open an issue, or add an engine. CONTRIBUTING.md shows how. An HTML engine and GPU rendering are on the roadmap.