Integrating AI directly into your development environment can double your coding speed. If Visual Studio Code is your go-to editor, you can now use the official Google Antigravity extension for seamless agent-first development.
Here is a quick, step-by-step walkthrough on how to install, configure, and use Google Antigravity inside VS Code.
Step 1: Install the Google Antigravity Extension
- Open Visual Studio Code.
- Click on the Extensions icon on the sidebar (or press
Ctrl+Shift+X/Cmd+Shift+X). - In the search bar, type
Google Antigravity. - Locate the official extension published by google.com.
- Click Install.
Step 2: Initialize and Arrange the Interface
- Once installed, click the new Antigravity icon added to your sidebar menu.
- The extension will take a few seconds to display “Initializing Antigravity”.
- When prompted to create a project, select “Not now” to jump straight into the main interface.
- (Optional) For a cleaner workspace, drag and drop the Antigravity tab onto your existing chat or sidebar panel to dock it neatly beside your editor.
Step 3: Select Your Preferred AI Model
Google Antigravity provides flexible access to leading AI models directly within your IDE. From the top dropdown menu in the Antigravity window, choose the model that fits your task:
- Gemini 3.5 Flash High
- Gemini 3.1 Pro
- Claude 4.6
- and more
Step 4: Access Antigravity in Existing Project Folders
When opening an existing workspace or project folder, the Antigravity window might be hidden by default.
To bring it back:
- Open your project folder.
- Toggle the sidebar.
- Click the three dots menu (…) next to the chat option.
- Select Antigravity to reopen the interface.
Step 5: Generate Code Using Prompts
You can use plain English prompts to let Antigravity write and edit code files automatically:
- Type a command in the Antigravity chat field (e.g., “Create an HTML file and make a table”).
- Press Enter.
- Antigravity will generate the file (such as
index.html) and write the necessary markup. - Click Accept to commit the changes to your workspace.
- Preview your new file using a tool like Live Server to confirm everything works as expected.
Final Thoughts
Google Antigravity brings agentic AI capabilities directly into Visual Studio Code, letting you generate, inspect, and execute code without ever leaving your editor. Give it a try on your next project to streamline your development workflow!