Working with the agent
Chat with the agent, attach files and Library guides, review its changes as versions, and send it errors with Fix It.
Click Agent in the activity bar (⇧⌘A, Ctrl+Shift+A on Windows), or open the chat beside your code in the editor with ⌘J (Ctrl+J).
Send a messageLink to this section
Describe what you want and press Enter (Shift+Enter for a new line). While the agent works or a build runs, your next messages wait in Up next; ⌘Enter (Ctrl+Enter) sends one now, interrupting the agent. Stop ends a turn; files it already changed are kept.
- Attach files: the paperclip, or drag files into the chat.
- Library: attach guides and DSP recipes so the agent follows them (see The Library).
- Screenshot: Attach for Agent in Plugin Controls attaches a picture of your plugin's window.
Every change is a versionLink to this section
Each reply that changes code makes a version (v1, v2…). Click N files changed to see the files, or the version badge to see the changes. Restore goes back to an earlier version. See Versions.
With Auto Build on, each new version builds and reloads into the preview.
ContextLink to this section
Context in the chat header shows how full the agent's memory of this chat is: Good, Fair or Low. At Fair or Low, Clear starts a fresh context; your chat history stays.
Fix It and Ask AgentLink to this section
| Button | Where | What it does |
|---|---|---|
| Fix It | Failed local build, failed cloud build, plugin crash | Sends the error to the agent (after the current turn, if one is running) |
| Ask Agent | Validation results (including the Freqlab Standard), Real-time Check findings, probe catches | Drafts a message for you to send |
| Ask to Fix | Problems panel, failing tests | Drafts a message about that problem |
| Ask About Selection (⌘I, Ctrl+I) | Selected code in the editor | Drafts a message with the code, or Explain, Refactor, Write Tests or Fix Issues |
Settings, Agents, Chat sets which view Fix It opens, and whether it shows in the editor.
If something goes wrongLink to this section
Errors show as a card with what happened, a button that fixes it, and Copy Details. A turn with no output for 30 minutes stops by itself.