The AI Chat panel is the primary interface for Studio AI. This article covers all of its features: the toolbar, composing messages, attaching context, chat modes, session history, and more.
Open the AI Chat panel via View > AI Chat or press Ctrl+Alt+I. It appears as a panel on the right side of the Studio.
The toolbar at the top of the AI Chat panel contains the following actions:
Type your question or instruction in the "Ask a question" input at the bottom of the panel. Press Enter to send, or press ↑ to recall a previous message from history.
To address a specific agent, start your message with @AgentName. Once an agent is addressed, it is pinned for the rest of the session — subsequent messages automatically go to the same agent without the @ prefix. To switch agents, type a new @AgentName.
The quality of AI responses depends heavily on the context you provide. You can attach relevant files and selections in several ways.
The AI Chat input field showing the # autocomplete popup with context variable options.

Type # in the chat input to see a list of all available context variables. The most commonly used are:
Using context variables inside your prompt lets you also describe why a file is relevant. All files added via variables appear in the context overview below the chat input field.
You can also drag files from the File Explorer directly into the chat input, or click the paperclip button at the bottom-left of the input area to browse and attach files. You can then type the file name among the project files.
This method does not let you annotate why the file is relevant, but is convenient for quick attachments.
You can attach images to your messages. Use the context variable #imageContext or drag an image file into the chat input. Images pasted inline are displayed as thumbnails at their insertion point; images attached via the paperclip button are grouped below the message text. This is useful for sharing diagrams, schema screenshots, or UI mockups with the agent.
@Coder supports two operating modes that you can switch between using the mode selector dropdown in the chat input area.
Edit Mode (default) - The agent proposes changes and presents them as diffs for you to review before anything is applied. This is the recommended mode for targeted, carefully reviewed modifications.
Agent Mode - The agent operates autonomously: it reads files, writes changes, runs tests, and iterates until the task is complete, without requiring your approval at each step. While working, it displays a visual task list in the chat so you can follow its progress through multi-step implementations. Use this for larger tasks. See AI Code Editing: Reviewing and Applying Changes for details.
When you address an agent with @AgentName, it is pinned for the ongoing session. This means you only need to type the agent name once — all subsequent messages in that session go to the same agent automatically. To switch to a different agent, simply type @NewAgentName.
You can edit a previously sent message in the chat. Click the edit icon next to any previous message, make your changes, and resend.
When you edit and resend a message this way, Studio AI automatically branches the conversation into a new session, preserving the original thread exactly as it was. This makes it easy to explore alternative approaches — for example, trying a different prompt phrasing or changing a requirement — without losing your current work. The original session remains accessible in Session History.
You can initiate a chat message directly from the editor. Right-click on selected code or a file and choose Ask AI (or similar) from the context menu. This pre-populates the chat input with the selected content as context, saving you the manual step of adding #selectedText.

Every conversation is automatically saved and accessible via the Session History icon (
) in the toolbar. Clicking it opens a dialog listing all your saved sessions — both active and archived — which you can review, resume, or delete.
Key details about session history:
For more on AI history and token monitoring, see Viewing Token Consumption and AI History.
When an agent finishes a task, particularly when running in Agent Mode in the background, a notification appears in the Studio. The notification includes the agent name, the session it completed, and a "Show Chat" button that takes you directly to that session to review the result.
You can configure whether each agent sends completion notifications from the AI Configuration view.
The AI Chat panel is the primary interface for Studio AI. This article covers all of its features: the toolbar, composing messages, attaching context, chat modes, session history, and more.
Open the AI Chat panel via View > AI Chat or press Ctrl+Alt+I. It appears as a panel on the right side of the Studio.
The toolbar at the top of the AI Chat panel contains the following actions:
Type your question or instruction in the "Ask a question" input at the bottom of the panel. Press Enter to send, or press ↑ to recall a previous message from history.
To address a specific agent, start your message with @AgentName. Once an agent is addressed, it is pinned for the rest of the session — subsequent messages automatically go to the same agent without the @ prefix. To switch agents, type a new @AgentName.
The quality of AI responses depends heavily on the context you provide. You can attach relevant files and selections in several ways.
The AI Chat input field showing the # autocomplete popup with context variable options.

Type # in the chat input to see a list of all available context variables. The most commonly used are:
Using context variables inside your prompt lets you also describe why a file is relevant. All files added via variables appear in the context overview below the chat input field.
You can also drag files from the File Explorer directly into the chat input, or click the paperclip button at the bottom-left of the input area to browse and attach files. You can then type the file name among the project files.
This method does not let you annotate why the file is relevant, but is convenient for quick attachments.
You can attach images to your messages. Use the context variable #imageContext or drag an image file into the chat input. Images pasted inline are displayed as thumbnails at their insertion point; images attached via the paperclip button are grouped below the message text. This is useful for sharing diagrams, schema screenshots, or UI mockups with the agent.
@Coder supports two operating modes that you can switch between using the mode selector dropdown in the chat input area.
Edit Mode (default) - The agent proposes changes and presents them as diffs for you to review before anything is applied. This is the recommended mode for targeted, carefully reviewed modifications.
Agent Mode - The agent operates autonomously: it reads files, writes changes, runs tests, and iterates until the task is complete, without requiring your approval at each step. While working, it displays a visual task list in the chat so you can follow its progress through multi-step implementations. Use this for larger tasks. See AI Code Editing: Reviewing and Applying Changes for details.
When you address an agent with @AgentName, it is pinned for the ongoing session. This means you only need to type the agent name once — all subsequent messages in that session go to the same agent automatically. To switch to a different agent, simply type @NewAgentName.
You can edit a previously sent message in the chat. Click the edit icon next to any previous message, make your changes, and resend.
When you edit and resend a message this way, Studio AI automatically branches the conversation into a new session, preserving the original thread exactly as it was. This makes it easy to explore alternative approaches — for example, trying a different prompt phrasing or changing a requirement — without losing your current work. The original session remains accessible in Session History.
You can initiate a chat message directly from the editor. Right-click on selected code or a file and choose Ask AI (or similar) from the context menu. This pre-populates the chat input with the selected content as context, saving you the manual step of adding #selectedText.

Every conversation is automatically saved and accessible via the Session History icon (
) in the toolbar. Clicking it opens a dialog listing all your saved sessions — both active and archived — which you can review, resume, or delete.
Key details about session history:
For more on AI history and token monitoring, see Viewing Token Consumption and AI History.
When an agent finishes a task, particularly when running in Agent Mode in the background, a notification appears in the Studio. The notification includes the agent name, the session it completed, and a "Show Chat" button that takes you directly to that session to review the result.
You can configure whether each agent sends completion notifications from the AI Configuration view.