Film, Motion, CAD and Scene

Animate a .kmotion project with the AI agent

The agent builds and animates Motion compositions with the kit's own commands: layers, effects, layer styles, text presets, keyframes and camera moves, then checks the result and can render it to a new MP4.

Updated

By Kition Docs

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

How the agent works in Motion

The agent reads and changes a project through the motion_* tools: motion_inspect (the open composition, its layers with ids, in and out points, what is animated, design advice, and with a preview a frame or a contact sheet), motion_commands (finds a command and its parameters), motion_run (runs command steps), motion_query and motion_batch (the object model), motion_check (missing footage, broken parents and mattes, type that reads poorly on video), motion_create (a new .kmotion) and motion_export (renders the active composition to a new .mp4).

Times are seconds, and the agent names the layer and the time of each keyframe, so your current time and selection stay as you left them. A run that fails part-way is taken back as a whole.

Ask the agent to animate

  1. Open the `.kmotion` project, open **AI Chat**, and @-mention the project or use **Add context › Add current document**.
  2. Choose **Kit edits**: **Live** to edit the open project directly, **Draft** to review the result first.
  3. Describe the piece: its size and length, the text, the colours and how things should move.
  4. The agent adds layers, animates them, previews frames and runs the check. Ask it to render when you are happy; the movie is written as a new file next to the project.
  5. In Live, press Cmd/Ctrl+Z to undo an agent edit. In Draft, choose **Review**, then **Merge** or **Discard** in the banner.

Example requests

Requests and the commands they lead to
You askThe agent runs
Make a 4-second title card that says Kition on a dark background`comp.settings`, `layer.newSolid`, `layer.newText`
Give the background a gradient and the title a soft glow`effect.apply` (Gradient Ramp), `layer.style.add` (outer glow)
Bring the title in with a blur slide`layer.applyTextPreset`
Fade the title out at 2 seconds`prop.addKey` on `transform/opacity` at 2 s
Turn it into a 1080 × 1920 vertical promo`comp.settings` with the new width and height
Push the camera in on the price`camera.move` with a push preset
Fix what the check finds`motion_check`, then the fix it names, such as `layer.setParent`
Render it as Title.mp4`motion_export` to a new `.mp4`

Live, Draft and review

In Live "The agent edits open kit documents directly; you can undo its edits." The agent's undo takes back its own steps only; yours stay. In Draft the banner reads "The agent's draft is ready for review", and the review shows "Document now" beside "With the draft merged" with counts of objects added, changed and removed. "Undo takes a merge back in one step."

Every write names the revision it read. If you changed the layer it relies on while it worked, the write is refused instead of written over your change. An export never replaces a file: when the name is taken, a numbered name is used.

Note

The agent follows Motion's agent guide (agent/guide.md in the kit), which covers easing, text presets, light, camera moves and the check codes. Its first line about the tool prefix says effect; the tools are named motion_*.

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.