Ask the AI agent to change your site
Ask for a change in your own words, point at what you mean with @, approve what needs approval, and accept or undo what the AI did.
On this page 4 sections
The AI agent changes your site when you ask. It is the Agent tab in the right panel, beside Properties. Open it by choosing the tab, with ⌘J (Ctrl+J on Windows), or with Ask the agent in the command palette (⌘K, Ctrl+K on Windows).
Ask
Write what you want in the box at the foot of the panel, in your own words: "Ask for a change, or type @ to point at something". Type @ to point at a page, a section, a component, a collection, a language or a breakpoint, or at the selection. You can attach files with +.
Each request shows as a work log: the plan, every step, the checks and what it cost. A request that usually costs a lot, or that your workspace may not have enough credits for, shows its cost first in a dialog titled Start this request?. Choose Start to begin, or Cancel.
Plans, questions and approvals
- The agent shows its plan in the work log and goes on with it. There is no plan for you to approve first.
- A step that needs your approval, such as restoring a version or publishing, stops the request and asks Approve or Don’t approve. If you don’t approve, the request stops and that step doesn’t happen.
- You can stop a request while it works. What it changed so far stays in your site.
When a change lands
In the editor, the agent writes into what you have open: main, or the branch you are on. Its changes are in your site at once, as it makes them, and there is nothing to accept. Try something risky on a branch first if you want to look before it reaches main (see "Try a change on a branch").
When a request ends, a message says "The AI changed your site." with Undo AI change; the button is in the agent panel too. It takes back everything that request changed, as one step. See "Restore a version and undo the AI's changes".
Only a few jobs wait for your review: an import of a site, and the first draft of a site that already has pages (see "Start a site with AI"). They are built apart, on a branch of their own, and the changed layers are outlined on the canvas. Accept changes puts them in your site; Discard changes drops them. In the agent panel, Main and AI changes switch the canvas between your site and the AI’s changes, and Back to main leaves the review. A review waiting for you is marked Waiting for your review.
The AI can make mistakes. Check its changes before you publish.
Credits
Every request uses Xeek credits. If you don't have enough, the panel says so with Get more credits, or tells you to ask an owner or admin of the workspace. See "Xeek credits and credit packs".