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
- Open the `.kfilm` project in its tab, then open **AI Chat**. @-mention the project, or use **Add context › Add current document**.
- 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.
- Write the request with times and tracks where you can ("cut V1 at 3.5 s", "music under the whole edit").
- Watch the steps in the timeline of the chat. The agent previews the frames it changed and runs the check before it finishes.
- 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
| You ask | The 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
Get started with Film: edit video from .mp4, .mov and .webm clips
Film is the video timeline editor in Kition Desktop. It keeps a whole edit in one .kfilm project and can start a project from an .mp4, .mov or .webm clip; this guide covers its panels and the first cuts.
Export a Film sequence to .mp4 (H.264)
Film exports a sequence as an H.264 .mp4 with sound, either in one click or from an Export dialog where you pick the sequence, the range, the frame size, the frame rate and the quality.
Live edits and drafts
Choose whether the agent edits open kit documents live or in a draft, and review, merge or discard the draft it leaves for you.
Chat with the agent
Open AI Chat, start and find chats, point the agent at documents, folders and files, pick a model, and stop a run.
Version history
Kition records versions of kit documents as you work; see an earlier version read-only and restore it as one change you can undo.