HTML, Photo, Vector and Design
Ask the agent to build screens and components in .kdesign files
In the Design kit the agent adds frames, auto layout, components, variables and prototype links, runs design checks, and exports frames as PNG, JPEG, SVG or PDF.
Updated
By Kition Docs
Verified against Kition Desktop 0.1.1 (0532c350) on 2026-12-02
How the agent works in Design
The agent edits a .kdesign file with the kit's own commands, about five hundred of them: frame.add, shape.*, text.add and text.set to create; node.set to change any property (fills, corner radius, padding, gap, sizing); layout.* for auto layout; component.* and instance.*; style.* and variable.*; proto.* for prototype links; page.*. It reads the pages, layers and selection first, finds the command it needs, runs a batch of steps, renders the result to look at it, and can export layers as PNG, JPEG, SVG or PDF to a new file.
The kit's guide for agents (agent/guide.md) tells it never to guess ids, to name pages and layers instead of changing what you are looking at, to set padding and gap on an auto layout frame instead of moving its children, and, after a conflict with your edits, to read again and retry without undoing your changes. The design check reports, among others, missing components or images, broken prototype links, text that overflows, low contrast and colors not bound to a variable. The agent fixes those only when you ask.
Example requests
| You ask | The agent runs |
|---|---|
| "Space the cards 24 px apart" | `node.set` with a gap of 24 |
| "Make this frame a horizontal stack with 16 px padding" | `layout.add`, then `node.set` for the padding |
| "Make the button a component and place three instances" | `component.add`, then `instance.place` |
| "Add a Dark mode to the theme colors" | `variable.addMode`, then `variable.set` |
| "Link Sign in to the Home screen" | `proto.interaction.add` |
| "Change the headline to Welcome back" | `text.set` |
| "Fix what the check found" | The design check, then the fix it suggests |
| "Export the hero frame as a 2x PNG" | An export of that frame to a new `.png` |
Live or Draft, and review
- Open the design and **AI Chat**. Under **Kit edits**, choose **Live** or **Draft**.
- Describe the screen or component and what must stay unchanged, for example existing component names.
- In Draft mode, choose **Review** when the draft is ready. The review compares "Document now" with "With the draft merged" and counts objects added, changed and removed; then **Merge** or **Discard**.
- Check the result in the Layers list and the **Design** panel, and use **Present** to try new prototype links.
- Undo takes a merge back in one step. **Version history** in the tab menu, or **File › Show version history**, restores an earlier state.
Limits
The agent works on .kdesign files only; import a .fig or .sketch first. It cannot share or publish outside your workspace. The kit is a Preview, so prototyping, Inspect and vector editing have the same partial support for the agent as in the editor.
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
Design interfaces in .kdesign files and import .fig and .sketch
The Design kit (Preview) builds interface designs with frames, auto layout, components, styles, variables and prototypes in .kdesign files, and imports .fig and .sketch files into them.
Export a .kdesign as PNG, JPG, SVG, PDF or .fig
Design exports layers and frames as PNG, JPG, WebP, SVG, PDF or XML from per-layer export settings or the Export dialog, with scale presets, SVG options and PDF print marks.
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.