Skip to content
Visual Studio - IDE ExtensionsideIDE ExtensionsGet StartedVisual Studio - IDE Extensions IDE Extensions Get StartedIDE Extensions

The Antigravity for Visual Studio extension brings Google’s agentic engineering platform to Windows and .NET developers working with complex enterprise solutions and multi-project MSBuild architectures.


Ensure that you meet the following prerequisites before installing the extension:

  • Visual Studio: Visual Studio 2022 (version 17.14 or later) or Visual Studio 2026 on Windows 10 or 11.
  • Antigravity entitlement: A valid Google Account with any Antigravity plan (including the free tier) or a Gemini Enterprise entitlement.

Complete the following steps to install the Visual Studio extension:

  1. Open Visual Studio 2026.
  2. In the top menu, navigate to Extensions > Manage Extensions.
  3. In the search box in the top-right corner, enter Google Antigravity.
  4. Select the official Google Antigravity extension published by Google and click Download.
  5. Close all Visual Studio instances to allow the VSIX installer to complete the installation.
  6. Reopen Visual Studio. The Antigravity tool window opens automatically on first launch, docked as a tab next to Solution Explorer. To open it later, navigate to View > Other Windows > Antigravity, or press Ctrl + \, Ctrl + Alt + L.

Antigravity in Visual Studio


Antigravity uses a unified sign-in across all surfaces. Learn more about authentication and entitlements:


The extension integrates with Visual Studio’s native windows and solution model:

  • Antigravity tool window: The chat window where you converse with the agent. Dock it anywhere, like any other Visual Studio tool window. Antigravity restores your last active conversation for each solution when you restart Visual Studio.
  • Antigravity Settings tool window: A separate, dockable settings window that keeps its state across restarts.
  • Solution sync: Antigravity uses the folder of the open solution (or your Open Folder workspace) as the agent’s workspace, and follows along when you switch solutions or folders, asking first if a chat is in progress.
  • Output window: Choose Google Antigravity in the Output window to see extension logs, or Google Antigravity Language Server to stream logs from the background server.

Antigravity shortcuts in Visual Studio are chords that start with Ctrl + \. Press Ctrl + \, release both keys, then press the second key combination.

ActionShortcut
Open or close the Antigravity tool window, adding the active file or selection as contextCtrl + \, Ctrl + Alt + L
Start a new conversationCtrl + \, Ctrl + Shift + L
Approve a pending agent stepCtrl + \, Alt + Enter
Reject a pending agent stepCtrl + \, Shift + Alt + Enter
Interrupt the running agentCtrl + \, Esc

When the agent edits files, Antigravity shows each change as an inline or side-by-side diff in Visual Studio’s native diff viewer so you can review it:

  • Accurate diffs: Changes are computed with Visual Studio’s hierarchical diff engine, with word-level comparison and normalized line endings (CRLF and LF).
  • Batch controls: Use the Accept All and Reject All bar to apply or discard the agent’s edits. Files under review stay read-only until you decide.
  • Artifacts: Artifacts such as implementation plans (for example, after you run /plan) and walkthroughs open in Visual Studio document tabs.

In the Antigravity tool window, you can track the parent agent and any child subagents it starts, such as the built-in research and self subagents or your own custom subagents. Each subagent can share its parent’s workspace (inherit), work in an isolated Git worktree (branch), or share directory storage (share). Review the evidence each agent gathers in its artifacts.

In the Antigravity Settings tool window, you can control how much the agent does on its own:


Connect the agent to databases such as BigQuery, Spanner, AlloyDB, and Cloud SQL for SQL Server, and to tools such as GitHub, Atlassian, Linear, and Notion, through MCP servers:

  • MCP Store: Browse and install supported MCP servers from the built-in MCP Store.
  • Configuration file: Add servers manually in ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json in your workspace (that workspace only).

Credentials for MCP servers stay on your machine, and the agent asks for your approval before it calls an MCP tool, unless you change that in your permission settings.