HTML, Photo, Vector and Design
Ask the agent to retouch and export .psd images
In the Photo kit the agent works on named layers with the editor's own commands: adjustment layers, masks, type, filters, resizing and export, live or as a draft.
Updated
By Kition Docs
Verified against Kition Desktop 0.1.1 (0532c350) on 2026-12-02
How the agent works in Photo
The agent edits an image through Photo's own commands, the same ones its menus run; the catalogue has several hundred, from layer.* and filter.* to image.*, select.* and text.*. It reads the image first (its size, color mode, bit depth and layers), looks up the command it needs instead of guessing an id, runs a few steps at a time, then runs the kit's check and looks at a rendered preview. It can also write a PNG, JPEG, TIFF or WebP of the image as a new file; it never replaces an existing file.
The kit's guide for agents (agent/guide.md) adds rules that make requests safer: coordinates are pixels from the top-left of the canvas; a layer is named by its id or a unique name; a command is aimed at a region rather than at whatever happens to be selected; and the check reports layers outside the canvas, empty or hidden layers, and substituted fonts. Name the layer you mean in your request, it removes guesswork.
Example requests
| You ask | The agent runs |
|---|---|
| "Change −30% to −40% on the sale layer" | `text.edit` on that type layer |
| "Make the poster teal but keep it editable" | `layer.newAdjustmentLayer.hueSaturation` |
| "Resize to 1080 pixels wide" | `image.imageSize`; for the canvas only, `image.canvasSize` |
| "Crop to the product card" | `image.crop` with the card's rectangle |
| "Cut the badge into a circle" | `select.rect` as an ellipse, then `layer.layerMask.revealSelection` |
| "Add a drop shadow to the headline" | `layer.layerStyle.dropShadow` |
| "Blur the background layer" | `filter.blur.gaussianBlur` on that layer |
| "Add a caption and give me a JPEG" | `text.add`, then an export to a new `.jpg` |
Live or Draft, and review
- Open the image and **AI Chat**. Under **Kit edits**, keep **Live** to watch the agent work on the open image, or choose **Draft** so the image stays as it is until you merge.
- Ask for one bounded change and name the layers it may touch.
- In Draft mode, choose **Review** when "The agent's draft is ready for review" appears. The review shows "Document now" beside "With the draft merged" and counts the layers added, changed and removed. Choose **Merge** or **Discard**.
- Check the Layers panel: an adjustment layer should sit above the layer it changes, and a mask should be on the right layer.
- To go back, undo the merge (one step), ask the agent to undo its change, or restore an earlier version from **Version history** in the tab menu.
Limits
The agent can only use what the kit can do: the editor gaps listed in the get-started guide apply to it too. A colour change to pixels (image.adjustments.*) cannot be taken back later the way an adjustment layer can, so ask for an adjustment layer when you want to keep options open.
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
Edit layered .psd and .psb images in the Photo kit
The Photo kit is a layered image editor that opens and saves .psd, .psb and .kphoto files, with adjustment layers, masks, type, layer styles and filters.
Export a .psd as PNG, JPEG, WebP or TIFF
Photo exports the flattened image as PNG, JPEG, WebP or TIFF from one Export dialog with quality, size and transparency options, and keeps the layered .psd or .kphoto for editing.
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.