Skip to content
FlowthreadPublic

About

The open source AI video agent: a film is a folder, a shot is a web page, and your coding agent is the editor.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

301 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

CapyCut

The open source AI video agent.

A film is a folder. A shot is a web page. Your coding agent is the editor.
Built for Teens Hack Houston 2026 — "a more efficient way to live."

Node Films as code Editors Research

Install Docs Issues Stars

CapyCut: an agent makes a film while you watch, then you change it by hand

All source lives in Capycut-Code/.


The problem in one line. Editing eats 8–12 hours per batch of short clips and 60–400 hours of learning before your first good title — yet 81.7% of professional editors surveyed by Avid say the work they most want automated is the mechanical part around the craft. CapyCut automates exactly that part, and keeps the craft yours.

🎬 The agent makes the film

Use Claude Code, Codex, any coding agent, or the one built into the desktop app. It finds footage, writes each shot, and cuts them together while you watch.

👆 Point at anything

A clip, a moment, a range, a spot in the frame, a subtitle line, a card on the canvas. Point, speak, and the agent knows exactly what you mean.

✋ Your edits stay yours

Hand edits save into the clip's overrides, not the page's code. The agent can rewrite the shot and your changes still apply.


Why this exists

Video demand is saturated. Editing capacity is not.

91% of businesses use video — an all-time high 59% make it entirely in-house 82% of marketers report good ROI — down from 93%
Wyzowl, State of Video Marketing 2026 So the editor is usually not an editor Volume rose, quality fell

That last number is the whole argument. More output with less craft is not efficiency — it is churn. Channels flooding feeds with 3–5 automated clips a day collapsed to 0.01% per-video engagement, while creators posting 1–3 well-crafted videos a week sustained 6–8%.

Automation only pays off when it removes the drudgery and leaves the judgement. That is the design constraint behind every decision in CapyCut.

Where the hours actually go

flowchart LR
    A["🎥 Raw footage<br/><b>10 hours</b>"] --> B["🔍 Cull and selects<br/><i>half a day</i>"]
    B --> C["🔊 Sync audio<br/><i>4-8 hrs multicam</i>"]
    C --> D["✂️ Cut and pace<br/><i>the actual craft</i>"]
    D --> E["💬 Captions<br/><i>+40% if multilingual</i>"]
    E --> F["🎨 Colour and titles<br/><i>60-400 hrs to learn</i>"]
    F --> G["📐 4 aspect ratios<br/><i>4-8 hrs per asset</i>"]
    G --> H["🔁 Revisions<br/><i>7-14 days of email</i>"]

    style A fill:#FEE2E2,stroke:#DC2626,color:#7F1D1D
    style D fill:#DCFCE7,stroke:#16A34A,color:#14532D
    style H fill:#FEE2E2,stroke:#DC2626,color:#7F1D1D
Loading

Only the green box is the craft. Everything red is mechanical — and it is what CapyCut removes.

📊 Every figure above is cited, labelled by evidence strength, and where necessary corrected in docs/RESEARCH.md — including the three claims we could not verify and recommend you don't repeat.


How it works

A film is a folder with a film.html: tracks of clips, styled with CSS.

<meta name="viewport" content="width=1920, height=1080">
<section>
  <iframe src="title.html#t=0,4"
          overrides='[{"at":"h1","text":"Aura Pods","style":{"color":"#7fd4ff"}}]'></iframe>
</section>
<section>
  <video src="assets/footage.mp4#t=12,18" at="4"
         style="left: 160px; top: 90px; width: 1600px; height: 700px"></video>
</section>
<section>
  <audio src="assets/music.mp3" volume="0.6"></audio>
</section>

Each shot is a web page whose one function, frame(t), draws any moment with anything a browser can draw — three.js, WebGL, canvas, SVG, CSS, GSAP, video — and always the same picture for the same t. So it renders identically on any machine, the agent can check every frame, and no framework such as Remotion or HyperFrames is needed.

window.film = {
  frame(t) { /* draw the complete picture at t seconds */ },
};

Because the shot is deterministic, the agent can see its own work: render a frame, look at it, and fix it — instead of guessing and regenerating.

sequenceDiagram
    autonumber
    actor You
    participant Agent as Coding agent
    participant Film as film.html
    participant Shot as frame t pages
    participant UI as Studio UI

    You->>Agent: Cut a 15-second trailer, on the beat
    Agent->>Film: read the timeline
    Agent->>Shot: write or rewrite shot code
    Agent->>Shot: render frame(t), then look at it
    Shot-->>Agent: JPEG or a sheet of frames
    Note over Agent: sees the result,<br/>fixes what is wrong
    Agent->>Film: commit the cut
    Film-->>UI: live, as it happens
    You->>UI: point at a moment, circle the frame
    UI-->>Agent: mark 1 at 6.2s, this region
    Agent->>Shot: surgical fix
    Note over Shot: your overrides<br/>survive the rewrite
Loading

Your changes stay yours. When you change something inside a shot by hand — text, colour, position, size — CapyCut saves it in the clip's overrides rather than in the page's code. The agent can rewrite the page and your changes still apply. The full format is in SPEC.md.


Editors

Each editor is a different way to work on the same film, and in every one you and the agent work together. CapyCut ships four. More official editors are in development — simple enough for anyone to pick up, and professional workbenches for those who want them. Editors follow the Community's open standard, so anyone can build and share one.

flowchart TB
    subgraph F["one film - one folder"]
        direction LR
        FH["film.html<br/><i>the timeline</i>"]
        SH["scenes/*.html<br/><i>frame(t) shots</i>"]
        AS["assets/<br/><i>linked in place</i>"]
    end

    F --> S["<b>Screening</b><br/>watch full size,<br/>point and circle"]
    F --> E["<b>Edit</b><br/>full timeline,<br/>export or hand off"]
    F --> C["<b>Canvas</b><br/>plan before pixels"]
    F --> K["<b>Color</b><br/>scopes, wheels, LUTs"]

    S -.->|"marks 1 2 3"| AG(("agent"))
    E -.-> AG
    C -.-> AG
    K -.-> AG
    AG -.->|"edits the same files"| F
Loading
Editor What it's for The one thing it does best
Screening Watching the film full size Click a moment, drag a stretch, or circle part of the frame — the agent knows what you're pointing at
Edit A full timeline of clips, text, captions, voice-over and sound Move, scale and restyle anything inside a shot; export video or hand the timeline to Final Cut Pro, Premiere Pro or DaVinci Resolve
Canvas A board for planning, with notes, images, clips and voices side by side Generate each with your services, then send them to the timeline in order
Color Grading every clip with scopes, wheels and curves Camera log footage or .cube LUTs — what you preview is what you export

All four share one library: your own footage in folders, linked rather than copied and found again when you move it, alongside CapyCut's free music, sound effects, voices and stickers.


Install

🖥️ Desktop app

Everything you need comes with it, down to a built-in agent. Works with Claude Code or Codex if you already use them.

cd Capycut-Code
pnpm install
pnpm dev:desktop

Packaging targets macOS (.dmg) and Windows (nsis). This repository has no published releases yet — build from source.

⌨️ Your own coding agent

Needs Node 22.2+ and ffmpeg.

npx skills add openfilm/openfilm

Then just ask for a film:

Make a 20-second launch video for my CLI, with music.

openfilm doctor    # check what this machine has

From source

Everything lives in Capycut-Code/.

cd Capycut-Code
pnpm install          # installs deps and builds Studio's editor
pnpm dev              # Studio, in the browser
pnpm test             # unit tests
pnpm typecheck        # TypeScript, both apps

The CLI

openfilm open [folder | url]   # make or open a film in Studio
openfilm look [what] [t|a-b]   # frames, contact sheets, loudness, flash detection
openfilm render [a-b]          # render to MP4 / WebM / MOV
openfilm skills                # the ways this project can be made
openfilm skill add <url>       # add a skill from GitHub
openfilm doctor                # diagnose this machine
openfilm update                # newest CapyCut from npm

openfilm look is how the agent checks its own work: it renders frames and sheets, measures loudness against a target, and flags white flashes, frames unlike their neighbours, long stills and black.


What makes it different

Most AI video tools are black boxes that hand you a flattened MP4. CapyCut is the opposite by construction.

One-shot AI generators Traditional NLE CapyCut
Fixing one wrong line Regenerate everything Re-cut by hand Edit the text
Learning curve to a title Minutes, but no control 60–400 hours Write a web page
Pointing at what's wrong Describe it in words and hope Click it Circle it
Your manual tweaks Wiped on next generation Yours alone Survive agent rewrites
Output Flattened MP4 Locked project Video, or FCPXML / XML / OTIO
Your footage Uploaded to someone's cloud Local Local, linked in place
Extending it Closed Plugin silos Open folder standard

What professional editors say they want

From Avid's 2026 survey of American Cinema Editors members — people who edit for a living:

Finding Value
Named repetitive "around the edit" work as their top automation target 81.7%
Want AI to compress non-creative hours to reclaim storytelling time 75.8%
Say AI must live inside the tools they already use 67.5%
Insist AI is valuable only when it enhances creative intent 86.7%
Cite ethics, copyright or media security as their #1 barrier 49.2%

CapyCut is a direct answer to all five: an agent in your existing files, doing the clerical work, leaving the craft, keeping media local, and exporting to the tools you already own.


Community

The Community is an open standard for everything you can add to CapyCut, and anyone can build for it.

flowchart LR
    P["<b>Plugins</b><br/>new editors<br/>and connectors"] --> CC(("CapyCut<br/>Community"))
    S["<b>Skills</b><br/>a way of making<br/>a kind of film"] --> CC
    A["<b>Assets</b><br/>music, SFX, transitions,<br/>stickers, templates"] --> CC
    X["<b>Examples</b><br/>complete projects<br/>to remix"] --> CC
    CC --> U(("your<br/>CapyCut"))
Loading

Each is a plain folder. Add one from the Community window, or build your own: make a plugin, write a skill, share assets, or share a finished film as an example.


Hackathon: Teens Hack Houston 2026

Theme fit, rubric mapping and the 6-minute pitch

Theme: "A more efficient way to live" — confirmed by organiser Steven Xu. It asks for something that saves time, reduces friction, or eliminates frustration in everyday life. Not an enterprise tool.

Theme word CapyCut
Saves time ~80% of editing time removed by shifting from manual timeline work to review-and-direct
Reduces friction One folder, one format, one agent — no render-farm round trip, no app switching for colour
Eliminates frustration No 60–400 hour curve before your first title; no wiped work when the AI regenerates
Everyday life Runs on a normal laptop; 4K stays on your disk; the desktop app ships with an agent

CapyCut makes the computer do the editing, and the person do the directing.

Where the 30% and 25% are won

Criterion Weight The move
Functionality / Build Quality 30% Run the real build live. 3-track, 11-clip timeline, built in front of them
Value & Impact 25% Open on the verified pain numbers, close on the theme sentence
User Experience 20% Circle a region on the frame — judges instantly see a non-editor directing
Creativity / Originality 15% "A film is a code repo" is the whole idea, in five words
Presentation 10% Only 10% — a plain video of a working build beats a beautiful video of a broken one
🦫 Capybara 0% A sticker on the Canvas board. Free shout-out

6-minute blueprint

Time Beat On screen
0:00 Problem — 91% use video, 8–12 hrs per batch, 60–400 hrs to learn Stat cards vs. a running timer
0:45 Idea — a film is a code repo; film.html + frame(t) CapyCut beside its own source
1:30 Live co-edit — agent plans, writes, checks its own frames Timeline building live
3:00 Point + protected edits — circle → mark ① → revise → your edit survives The differentiator
4:15 Canvas, colour, handoff — plan, grade, export to Resolve 🦫 on the board
5:10 Payoff — ~80% of the grind gone, craft intact Repo card, close

Full evidence, per-claim citations, and the corrections list: docs/RESEARCH.md.


Contributing

Report bugs in Issues with the report from Settings → Developer → Copy report. Security issues: nahhitsreal@gmail.com.

pnpm test && pnpm typecheck     # before you open a PR

CapyCut — a film is a folder, a shot is a web page, and the agent is the editor.
Third-party components and their licences: THIRD_PARTY_NOTICES.md

About

The open source AI video agent: a film is a folder, a shot is a web page, and your coding agent is the editor.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages