Agents & MCP

Claude inside Nox

You do not need a separate agent to have Claude work on a design. The pill at the bottom of the canvas asks Claude directly, with your own Anthropic API key. Claude gets the same tools a connected agent has, and what it changes is marked and waits for your review in the same way. There is no chat panel: you ask in the pill, and the answer is the change on the canvas.

Asking Claude from the pill is part of Nox Pro.

The pill#

The pill sits at the bottom of the canvas, in the middle. At rest it reads Ask Claude, or find a command.

The pill at rest, at the bottom of the canvas
The pill at rest, at the bottom of the canvas
By hand
  1. Press ⌘K, or click the pill. It opens into a field.
  2. Type what you want. The first row under the field reads Ask Claude: … with your words.
  3. Press Return to ask.

The same field finds commands and layers by name. If what you typed is the start of a command's name, the command is listed first and Ask Claude: … last. Use the arrow keys to choose.

You can also right click on the canvas and choose Ask Claude… to open the pill for what is selected.

Your API key#

Nox calls the Claude API itself, with a key of your own. Get one from your Anthropic account. It begins with sk-ant-.

By hand
  1. Choose Nox › Claude API Key… (or type Claude API key… in the pill).
  2. Paste your key into the field. It is typed unseen and never shown again.
  3. Press Keep.

If you ask before a key is kept, the same sheet appears with Keep and Ask, and your question goes on once the key is saved.

  • The key is kept in this Mac's Keychain and nowhere else. It is not written into a document.
  • What you ask goes from this Mac straight to Anthropic. Usage is billed to your Anthropic account.
  • To change the key, open the sheet again and type another. With a key kept, the sheet also has Remove Key.

If the pill says Claude did not accept the API key, open Nox › Claude API Key… and replace it.

Ask for a change to the selection#

Claude starts each request by looking at where you are: the page shown and what you have selected. So "this", "these" and "the selection" mean what is selected. Select first, then ask.

Make this card's button full width and 44 high, and give the note more contrast.
Duplicate this row four times down, 12 apart, with different titles.
Check this frame and fix what you find. Tell me what you changed.

Be as specific as you would be with any agent: sizes, colors and spacing in numbers. Prompting for high-end designs applies here unchanged.

While Claude works, the pill reads Claude is thinking…, then Claude is working · 3 steps, with what it is saying as it writes it. Press Stop, or Escape on the canvas, to stop it. Stopping takes back what it did so far.

Review what it did#

When Claude is done, the pill becomes the review bar. Claude's own sentence about the change is on top, and under it the counts and the buttons:

1 made · 2 changed     ‹  ›   Revert all   Accept

What changed is tinted on the canvas until you decide.

By hand
  1. Press ‹ and › to go through the parts of the change, if there are several.
  2. Press Accept (or Return) to keep it.
  3. Or press Revert all (or ⌘Z) to take all of it back.

A change you asked for from the pill is your own step. After you accept it, ⌘Z still takes the whole of it back, in its place among your other steps, however many tool calls it was.

If Claude answers without changing anything, the pill shows the answer with OK.

With an agent

Inside Nox, Claude uses the same tools as an outside agent. For the third prompt above it calls check_design on the selected frame:

{ "root": "100:1" }

It then fixes each finding with update_nodes, and looks at the result with render_preview. See Agent recipes for the whole loop.

A conversation, and starting anew#

Ask again within fifteen minutes of Claude's last answer and the conversation goes on, so "make it larger" means what was just made.

A conversation begins anew by itself:

  • after fifteen minutes,
  • after a request that was stopped, failed or refused,
  • once it has grown long.

To begin anew at once, press ⌘K and choose New conversation with Claude. Do this when you move to an unrelated task: a long conversation costs more for each request and says less about the document as it now is.

If you reverted Claude's last change, the next request tells it so. Claude also looks at the document again before it changes anything, so it works from the design as it stands, not from what it remembers.

The pill or a connected agent?#

Claude in the pillA connected agent
Set upAn API keyCopy MCP Setup
Where you askIn Nox, ⌘KIn the agent's own window
Best forA change to what you are looking atLong tasks, and work that touches your code
After Accept⌘Z takes it backHistory › Revert takes it back

Both need Nox Pro, and both leave the review to you.