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

Requests and the commands they lead to
You askThe 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

  1. Open the design and **AI Chat**. Under **Kit edits**, choose **Live** or **Draft**.
  2. Describe the screen or component and what must stay unchanged, for example existing component names.
  3. 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**.
  4. Check the result in the Layers list and the **Design** panel, and use **Present** to try new prototype links.
  5. 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

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.