Agents & MCP
How agents work in Nox
An agent does not get a copy of your design. It works in the document you have open, while you work in it too, and you see each change as it lands. What it did is marked on the canvas, counted in the pill and listed in History, and stays yours to accept or take back. This article explains that loop, so that you can let an agent make large changes without losing control of the file.
Beside you, in the open document#
The agent reaches the document in front in Nox. It starts by asking where you are: get_context tells it the pages, the page shown, what you have selected and where your view is. So "this card" and "the selection" mean what you have selected.
Nothing is locked while an agent works. You can go on editing, and your view does not move unless the agent asks Nox to show you something (focus_nodes).
Tools that measure, draw and export work on the page that is shown. To work on another page an agent shows it first (show_page), and you see the page change.
A turn, and its review#
What an agent changes within a minute of its last change is one turn. While it works, the pill at the bottom of the canvas says so, by the agent's name: Claude Code is working · 14 changes. A moment after its last change, the pill becomes the review bar:
3 made · 2 changed · 1 removed ‹ › Revert all Accept
On the canvas, what the turn made or changed has a soft warm tint and a thin outline until you decide. If part of the turn is on another page, the pill says where: on “Specs”, or on 3 other pages.

- Look at the marked layers on the canvas.
- If the turn has several parts, press ‹ and › in the pill to go through them. Nox shows each part, selects it and says which it is: 2 of 7 · Card · changed.
- Press Accept (or Return) to keep the turn. The marks go.
- Or press Revert all (or ⌘Z) to take the whole turn back, however many tool calls it was.
Accept and Revert all are for the whole turn. If you edit the document yourself between two of the agent's calls, the calls before and after are two steps, taken back one at a time.
An agent is called by the name its client gives when it connects (Claude Code, Claude Desktop, Gemini CLI, or what another client calls itself), and Claude asked from the pill is Claude. An agent whose client gives no name is Agent.
History: whose change it was#
Open History on the rail. While an agent's turn waits, History has a dot on it.
- Changes lists every step since the file was opened, newest first: You, the agent by its name, or File, how long ago, and what it was (Changed Banner, Made Badge, or counts). Click a row, or Show, to select what it touched.
- Revert appears on the last change of each hand that still stands. Use it to take back the agent's last step after you have accepted it. ⌘Z alone undoes your own steps, not an accepted turn of an outside agent.
- Versions holds the whole document as it was at chosen moments. The plus keeps one now. Restore goes back to one, as a step of your own that ⌘Z takes back. A right click on a version has Compare with Now…, Rename… and Delete.
Nox keeps a version named Before Claude by itself, before an agent's first change of a sitting. A sitting ends after ten minutes without a change by the agent, and the newest ten of these versions stay in the file. If a long session goes wrong, restore that one.
Undo by the agent#
An agent can take back its own work, and only its own.
That last change made the card too tall. Undo it.
The agent calls undo:
{}
The reply is {"undone": 1}. With {"redo": true} it makes the step again, and steps takes back more than one.
undo never takes back your changes. Where you have changed the same layers since, your values stand, and the reply says how many were kept.
Before a large change, ask the agent to keep a version first. It calls versions:
{ "keep": "Before restyle" }
To make several changes land as one step, all or none, an agent uses batch. See Agent recipes.
What an agent can see#
- The document in front: its pages, layers and every property of them, variables, styles, components, comments and kept versions.
- Where you are: the page shown, your selection and your view.
- Pictures it asks for:
render_previewdraws one node and returns the picture, so the agent can look at its own work. - Files it is given a path to: an icon folder to bring in, a picture to fill a shape with, a screenshot to compare. A file brought in is copied into the document.
What an agent cannot see or do#
- It cannot see your screen, or the Nox window itself. It sees the document through the tools.
- It cannot work on a document that is not in front in Nox.
- It cannot take back your changes, and it cannot accept its own turn. Review is yours.
- It writes files only by exporting, to a path it names, and does not replace a file that is there unless it asks to overwrite.
- Without Nox Pro it can do nothing: every tool call is refused.
Next#
- Prompting for high-end designs
- Agent recipes
- Claude inside Nox: the same review, asked from the pill.