← All experiments

No. 064 · Week 49 · Kieran Klaassen · Exploring

One command for a whole edit

Everycut's agent could do each piece of an edit when asked. /lfg has it do all twelve in order on a raw recording, and ask me nothing.

Can an agent take a raw recording to a cut worth watching in one go, without asking me anything?

The first video I took through it. /lfg stopped partway, and the same skills finished the edit one at a time.

Editing a video with an agent still meant I was the one editing. I asked for the retakes to go, waited, asked for the zooms, waited, asked for the sound. The agent did the work and I kept the list. /lfg gives the agent the list: twelve stages, in order, with nothing asked on the way and one report at the end. On its first real recording it ran out of steps before the end, and I finished the edit with the same skills, one at a time.

The same word as for code

For code I already have this. Compound Engineering, our plugin for coding agents, has a command called lfg, short for let's go, that takes a request all the way to done, hands-off. I wanted the same for a video.

Everycut's agent had the pieces. Remove the retakes, propose the zooms, level the voices: each one is a tool it can call. What it did not have was the order, or permission to keep going without me.

Seven skills became fourteen

The agent learns how to edit from skills. A skill is a page of rules for one kind of work, such as cutting or mixing, that the agent is handed when it starts that work. It had seven.

On December 2 I asked whether Scarlet, Matthew Berman's open-source AI video editor, had skills ours lacked. It has nineteen, and its licence lets anyone reuse them with credit. I typed: "adapt them to our tool and add anything missing to ours."

Six came over as new skills: waits, screen framing, b-roll, colour, transitions and captions. Six of ours got longer. Where the two disagreed, Everycut's rule stayed. Scarlet leaves about a tenth of a second between two pieces of speech it joins, and Everycut leaves half a second. Scarlet forbids generated pictures as b-roll, the footage laid over a speaker. Everycut can make them, so for now our skill puts them last and only when you ask.

The same day I asked for "a /lfg skill too that will orchestrate all other skills." That made fourteen.

An editor that is told to do less

/lfg is a page that puts the other pages in order. Before each stage the agent is told to read that stage's skill, do the work and run the skill's own check, because "a later stage built on a broken join carries the break with it."

A lot of what those pages say is to hold back. "Every cut needs a reason you could say in one sentence." The laugh after a punchline stays, because "the laugh is the beat." Transitions get their own stage and their own skill, and the rule for that stage is "As a rule none."

If I mutter "use the second take" while recording, the cutting skill calls that a note to whoever edits, and says the line never plays.

The review skill opens with "You made the cut, so you are the worst judge of it." It then lists how to spot a machine-made edit: a zoom or a punch-in on nearly every sentence, every pause the same length, cuts at an even beat, a sound effect on every cut. Where the agent finds one, "the fix is often to take out something you added."

Let's go, with brakes

Hands-off is fine with me as long as undo takes all of it back. So before the stages, the page tells the agent how to work.

It is told to do only what undo reverses, and to start by saving a version of the edit as it stood, so the two can be put side by side. It is told to spend none of my money: no generated picture, clip, voice, music or sound effect, with a placeholder where one would have helped. It is told to start no export, share nothing and replace nothing made by hand. Those last ones hold unless the message I type with /lfg asks for them.

Where a skill says to propose and wait, it is told to choose what the skill would recommend and say what it chose. Where it is in doubt, it should take the careful side, cut long, and pin a note at that place. A stage with nothing to do should be skipped and named in the report. Where a step fails, it should leave a note and go on with what does not depend on it.

These are instructions on a page. Nothing in the app enforces them. Whether the agent keeps to them is part of what this run tests.

The twelve stages

StageWhat the skills ask for
1ReadThe whole edit and the whole transcript. What I already cut stays cut.
2StoryA brief, an order and an ending. If I named a length, whole passages go here, before any tightening.
3CuttingRetakes first, then stumbles and false starts, the lines that were not for the viewer, then dead air.
4WaitsWhat is left of installs, builds and loading plays fast. Speech is never sped up.
5The screenZooms on what is done and read, and the screen or the camera for each stretch.
6Picture movesA slightly tighter frame where a cut makes a talking head jump. Camera switches where there are several.
7B-rollA placeholder where a picture would help, filled only from what the project already has.
8ColourOnly with several cameras, or a file recorded flat and grey for grading later.
9TransitionsAs a rule none. One only at a real change of chapter.
10The mixClean only what is heard, level the voices, put the music under them, then the loudness of the whole.
11CaptionsMend misheard names and numbers. Turned on in the picture only if I asked, or for a short.
12ReviewA technical check, the tells of a machine-made edit, then a read as a first-time viewer.

One report

The page asks for one report at the end, short enough to read in a minute:

  • The length before and after, and the story in one sentence.
  • One line per stage with the numbers its tools gave, and the stages it skipped.
  • What it chose where a skill would have asked, so I can choose otherwise.
  • The places to watch first, by their times: the joins it is least sure of, the busiest stretch of moves, where music comes in.
  • What is left for me: the placeholders, the notes, anything that would have cost money.
  • What it could not check. "You cannot hear, and a look at frames is not watching."

The first run

I recorded a video outside, almost twenty minutes of it, and typed /lfg.

It did not finish. The pane answered: "The agent was still working after 40 steps. Ask it to go on." The app stops an agent after 40 steps, and twelve stages do not fit in 40 steps. So there was no one go and no one report.

I went on with the skills by name, which is the thing /lfg was meant to save me. /mixing put my saved voice chain on the voice and brought the whole from -22.3 to -14.1 LUFS, on its target of -14. It wrote, "I cannot hear the mix directly, so please listen to these three spots," and gave three times. I asked for new music, and it generated a track for $0.60, which /lfg on its own is told never to do. /story came back with three orders to choose from.

Then I asked in my own words to clean up the voice. It took the edit from 19:54 to 17:43, tightened 84 long pauses, cut the stumbles it listed one by one, crossfaded all 118 joins and named the four tightest for me to play first. /colour found that the light changes at 15:21, where I move from sun into shade, and made a look for each side.

I also told it to keep my camera on the picture everywhere, and to add an ending card, because the recording stops when my computer died.

Where it stands

It is in Everycut 0.2.34, on the Mac.

/lfg is a page of text, and no code runs or counts its stages. The first run found the first thing the page cannot fix: the step limit sits in the app. The skills under it did the edit in the video above when I called them one at a time.

What I still do not know: whether it gets through all twelve stages once the limit is out of the way, whether it keeps to its own rules, and how much I change after it.