Skip to content
13 changes: 9 additions & 4 deletions editor/agent.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ The editor agent makes changes directly in your current branch.
## Open the agent

{/* vale Mintlify.FirstPerson = NO */}
Click **Ask agent** in the editor toolbar, or press <kbd>Cmd</kbd> + <kbd>I</kbd> (macOS) or <kbd>Ctrl</kbd> + <kbd>I</kbd> (Windows).

To close the panel, click the **X** button in the panel header or press <kbd>Cmd</kbd> + <kbd>I</kbd> again.
Click **Ask agent** in the editor toolbar, or press <kbd>Cmd</kbd> \+ <kbd>I</kbd> (macOS) or <kbd>Ctrl</kbd> \+ <kbd>I</kbd> (Windows).

To close the panel, click the **X** button in the panel header or press <kbd>Cmd</kbd> \+ <kbd>I</kbd> again.

{/* vale Mintlify.FirstPerson = YES */}

## Send a message
Expand All @@ -35,9 +37,10 @@ Example prompts:
Click the paperclip icon in the chat box, or drag and drop files onto the panel. The agent reads attached files as context for your request.

Supported file types:

- **Images**: JPG, PNG, GIF, WebP, SVG
- **Documents**: PDF
- **Code and text**: `.js`, `.ts`, `.jsx`, `.tsx`, `.mdx`, `.md`, `.json`, `.yaml`, `.html`, `.css`, Python, Go, Rust, Ruby, Java, Swift, C, C++, SQL, shell scripts, and more
- **Code and text**: `.js`, `.ts`, `.jsx`, `.tsx`, `.mdx`, `.md`, `.json`, `.yaml`, `.html`, `.css`, Python, Go, Rust, Ruby, Java, Swift, C, C\+\+, SQL, shell scripts, and more

Maximum size: 5 MB per file. Maximum: 10 files per message.

Expand All @@ -49,6 +52,8 @@ In visual mode, select text on a page. A floating toolbar appears over the selec

As the agent edits your pages, a **Changed files** panel appears in the chat. Expand it to see a list of every file modified in the session. Click any file to open it in diff view and compare the agent's changes against the original.

Hello there

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stray placeholder in agent docs

Low Severity

The editor agent page now includes a standalone Hello there line between Review what the agent changed and What the agent can do, which reads like draft or test text and will show up in published docs with no purpose.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit c814575. Configure here.


## What the agent can do

### Edit pages
Expand Down Expand Up @@ -97,4 +102,4 @@ Click the clock icon in the panel header to see your previous chat sessions. Cli

## AI instructions

To give the agent persistent guidance like voice rules, terminology, or formatting conventions, configure AI instructions in [Editor settings](/editor/settings#ai-instructions). The agent follows these instructions on every request without you needing to repeat them.
To give the agent persistent guidance like voice rules, terminology, or formatting conventions, configure AI instructions in [Editor settings](/editor/settings#ai-instructions). The agent follows these instructions on every request without you needing to repeat them.
Empty file added untitled-page.mdx
Empty file.