Skip to content
Remote Control
Mentions and quoting2-0Antigravity AppFeaturesMentions and quoting Antigravity App FeaturesAntigravity AppAntigravity CLI
Available on:
Antigravity AppAntigravity CLI

Type @ to point the agent at specific files, folders, rules, or past conversations, or quote text that you select, so the agent starts from the right context instead of searching for it. You can also send a message straight to a subagent.

This table compares the Antigravity App and the Antigravity CLI:

ContextAntigravity AppAntigravity CLI
Files and foldersType @ and part of the nameType @ and part of the path
RulesType @, then choose RulesNot available
Past conversationsType @, then choose ConversationNot available
Selected textSelect the text, then click QuoteNot available
Subagent messagesOpen the subagent and use its message boxStart your prompt with @ and the subagent’s name

Type @ in the message box, followed by part of a file or folder name. A bare @ lists only the Rules and Conversation categories. As you type, the menu narrows to matching categories, files, and folders from your project, and to matching artifacts in the current conversation, such as an implementation plan. Matching is fuzzy, so @bkmk finds bookmarks.js. For example, typing @ru lists the Rules category, the routes folder, and matching files:

The @ menu above the Antigravity App message box after typing @ru, listing the Rules category followed by the routes folder and the users.js, tags.js, bookmarks.js, and auth.js files, each with its folder path

Press ↑ or ↓ to highlight a result, and then press Enter or Tab to select it, or click it. The mention appears in your prompt as a chip with its icon and name. To start a mention without typing @, click Add Context (+) in the message box and select Mentions.

The agent receives the full path of each file or folder that you mention, so it knows exactly which one you mean and reads it when it needs to.

Choose Rules in the @ menu, or type @rules:, to list all your workspace and global rules, whatever their trigger. Each row shows the rule’s name and the start of its text. Keep typing to filter by name. Select a rule to add its full text to your message.

Mentioning a rule is how you apply rules that use the manual trigger, which Antigravity never loads on its own, such as a release checklist that you only need occasionally.

Choose Conversation in the @ menu, or type @conversation:, to list your recent conversations. Keep typing to search past conversations by title and by what you and the agent wrote, for example @conversation:rate limiter. Press Esc to close the list.

Select a conversation to add it to your prompt as a chip with the conversation’s title. The agent can then look up what you discussed and decided there, so you don’t have to restate earlier work.

Quote part of an agent response to ask a follow-up about exactly that text. When you select text in a response, a popup shows Quote and its keyboard shortcut:

A bullet point in an Antigravity App response selected, with a Quote Ctrl+L popup below the selection; the user message above it contains a bookmarks.js file chip

  1. Select text in an agent response.
  2. Click Quote in the popup, or press Cmd+L or Cmd+I on macOS, or Ctrl+L or Ctrl+I on Windows and Linux.
  3. Type your follow-up in the message box and send it.

The quoted text appears as a chip in the message box, and the agent receives the full quoted text along with your message.

When you select text in a file or diff in the side panel, or in an artifact such as an implementation plan, the popup shows Comment and Quote. To add the selection to the message box as a chip, click Quote, or press Cmd+L or Cmd+I on macOS, or Ctrl+L or Ctrl+I on Windows and Linux. What the chip shows depends on where you selected the text:

  • Files and diffs: The chip shows the file name and line range, such as bookmarks.js #L13-17. The agent receives the file path and the line numbers.
  • Artifacts: The chip shows the artifact name and the start of the selected text. The agent receives the selected text.

To leave a review comment on the selection instead, click Comment.

Select output in the integrated terminal and click Quote to add it to the message box as a terminal chip, such as terminal:bash. For example, quote an error message to ask the agent about it.

To send a running or idle subagent a message directly, select the subagent in the conversation to open it in the side panel, and then type in the subagent’s own message box. Your message goes to that subagent instead of the parent agent. Subagents don’t appear in the @ menu, and you can’t message a subagent that was killed. For more about subagent states, see Custom subagents.

Mentioning a file or folder doesn’t paste its contents into your prompt. This table shows what the agent gets for each kind of context. In the Antigravity CLI, you can add only files and directories.

You addThe agent receives
A file or folderIts full path. The agent reads it when it needs to.
A line rangeThe file path and line numbers, not the selected text. The agent reads those lines when it needs to.
A ruleThe rule’s full text.
A past conversationThe conversation’s title and ID. The agent reads that conversation’s saved transcript when it needs details.
Quoted textThe text that you quoted.
Terminal outputThe output that you selected (up to the last 8 KB) and the terminal’s name.