Film, Motion, CAD and Scene

Edit a .kfilm video project with the AI agent

The agent edits Film projects with the editor's own commands: it places and cuts clips in frames, lays music and sound on the beat, adds captions, previews frames and checks for gaps or offline media, live or in a draft you review.

Updated

By Kition Docs

Verified against Kition Desktop 0.1.1 (0532c350) on 2026-12-02

How the agent works in Film

The agent does not drive the screen. It reads the project and runs Film's commands through the film_* tools: film_inspect (the items, the open sequence, its tracks and clips, and with a preview a frame or a contact sheet), film_commands (finds a command and its parameters), film_run (runs command steps), film_query and film_batch (the object model), film_check (what is wrong), and film_create (a new .kfilm). The same commands drive the editor's menus, so whatever the agent does, you can do and undo by hand.

The agent names what it acts on and when: track V1, clip 9, 3.5 seconds into the sequence. It does not move your playhead or change your selection to aim a command. If a step fails, the whole run is taken back. Film's agent has no export tool: render the movie yourself with Export MP4.

Ask the agent to edit a project

  1. Open the `.kfilm` project in its tab, then open **AI Chat**. @-mention the project, or use **Add context › Add current document**.
  2. In the composer, set **Kit edits** to **Live** to let the agent edit the open project directly, or to **Draft** to have it work on a copy you review first.
  3. Write the request with times and tracks where you can ("cut V1 at 3.5 s", "music under the whole edit").
  4. Watch the steps in the timeline of the chat. The agent previews the frames it changed and runs the check before it finishes.
  5. In Live, press Cmd/Ctrl+Z in the editor to take an edit back. In Draft, the banner says "The agent's draft is ready for review": choose **Review**, then **Merge** or **Discard**.

Example requests

Requests and the commands they lead to
You askThe agent runs
Start the sequence with two seconds of dark blue`item.newColorMatte`, then `timeline.place` on V1 at 0 s
Cut V1 at 3.5 seconds`timeline.razor` with the step's time at 3.5 s
Close the black gap on V1`film_check` reports `film.gap`; its fix `sequence.closeGap`
Add a cross dissolve at the second cut`sequence.applyVideoTransition` at that cut
Lay the music under the whole edit and dip it under speech`audio.bed` with ducking against dialogue
Cut the shots on the beats of the music`audio.detectBeats`, `timeline.place` snapped to beats, `transition.beatCut`
Add karaoke captions for these lyrics`caption.add` with word times, then `caption.setStyle` for the highlight
Show me the frame at 12 seconds`film_inspect` with a preview, drawn by `file.render`
Why does one clip show an offline slate?`film_check` reports `film.offline-media` or `film.missing-media`

Live, Draft and your own edits

In Live "The agent edits open kit documents directly; you can undo its edits." In Draft "you review it and merge or discard it": the review shows "Document now" beside "With the draft merged" and counts the objects added, changed and removed, and "Undo takes a merge back in one step." Each edit the agent makes is also kept in the document's version history as "Edited by the agent".

The agent does not write over your work. Every write names the revision it read; if you changed the clip or the time it relies on in the meantime, the write is refused and the agent reads the project again. Sounds and the music bed are pinned to frames, so ask for picture changes before sound.

Note

Film's agent guide (agent/guide.md in the kit) is what the agent reads about Film: its time units, tracks, previews, beat editing and every check code.

Version and sources

This guide describes Kition Desktop as of source 0532c350, checked on 2026-12-02. Connected actions also depend on the configured model provider or service. If your installed version is older, some controls may differ.

Related pages

Ready when you are.

Kition is the open pro suite for AI: 16 professional kits and an agent in one free desktop app, for macOS, Windows and Linux.