Ravindra BagaleCourses & study guides Track your progress
AI CODING ASSISTANTS · CHAPTER 2 · SETUP

How to Set Up Google Antigravity in IntelliJ IDEA (Step by Step)

Gemini Code Assist for individuals stopped serving IDE requests on 18 June 2026. Google’s replacement path is Antigravity. JetBrains IDEs (IntelliJ, PyCharm, WebStorm, and more) get Antigravity through JetBrains AI → Settings → Agents — IDE version 2026.2.1+.

In short: upgrade to a JetBrains IDE 2026.2.1 or later, open JetBrains AI → Settings → Agents, search Antigravity, Install, then sign in with a Google Account that has an Antigravity plan (free tier included per Google docs) or follow your admin’s Gemini Enterprise steps (Enterprise JetBrains support is Preview).

Why Antigravity in IntelliJ

WHY

Java/Kotlin teams that used Gemini Code Assist in JetBrains need a current install path. Antigravity is the product Google points individuals and Gemini Enterprise users to after the Code Assist individual IDE cutoff.

What you need

WHAT
  • JetBrains IDE 2026.2.1+: IntelliJ IDEA, PyCharm, WebStorm, GoLand, CLion, Rider, and more — Antigravity docs list 2026.2.1 as the floor.
  • Antigravity entitlement: Google Account with an Antigravity plan (docs say including free tier) or Gemini Enterprise (JetBrains enterprise auth is Preview).
  • Not the old Gemini Code Assist individual login: Login with Google for the old individual Code Assist IDE path ended 18 Jun 2026.
  • Related VS Code lesson: Same migration story: Antigravity in VS Code.

How setup flows

1 · Upgrade IDE 2026.2.1+ 2 · JetBrains AI → Agents Settings 3 · Install Antigravity search + Install 4 · Sign in Google / Enterprise / API 5 · First coding task review diffs

Install steps

HOW
  1. Help → About: confirm build is 2026.2.1 or newer. Upgrade from JetBrains Toolbox if needed.
  2. Open JetBrains AI → Settings → Agents (path from current Antigravity JetBrains docs).
  3. Search Antigravity → click Install.
  4. Sign in when prompted. Individuals: personal Google Account / Antigravity plan.
  5. Company Preview path: admin gives GCP project + region; use Gemini Enterprise / business auth as documented.
  6. Open the Antigravity / agent side panel and try a small ask on one file.

Settings

  1. Re-open JetBrains AI → Settings → Agents if you need to repair or update the agent.
  2. If menus differ slightly by IDE skin, search Settings for “Agents” or “Antigravity”.
  3. PyCharm / WebStorm: repeat Install in that IDE — agents are per IDE install.

Configuration / auth shapes

Individual-style auth object (from Antigravity docs)
{
  "auth": {
    "type": "oauth-personal"
  }
}
  1. Docs also show oauth-business (Gemini Enterprise + GCP project/location), gemini-api-key, and Preview agent-platform / ADC shapes — copy from official docs, do not invent fields.
  2. Never commit API keys or ADC JSON into Git.

First task (5 minutes)

SAFE FIRST PROMPT

Explain this selected Kotlin function in simple words. Suggest one unit test. Do not read local.properties or any secret files.

  1. Select one method only.
  2. Ask for a plan before multi-file edits.
  3. Accept diffs only after you understand them.
  4. Run your tests in the IDE.
Old / newStatus (verify on Google docs)
Gemini Code Assist for individuals in IDEsStopped serving requests 18 Jun 2026
Antigravity JetBrains extensionSupported path; IDE 2026.2.1+
Gemini Enterprise on JetBrainsAuth documented as Preview
Gemini Code Assist Standard/EnterpriseSeparate sunset — plan move to Gemini Enterprise / Antigravity with your admin
Rule: UI labels and Agent settings paths can move. Prefer antigravity.google docs over old “Gemini Code Assist JetBrains” blog posts.
  • Do not paste customer data into cloud agents.
  • Enterprise Preview features need admin approval.

Quick quiz

1. Minimum JetBrains version Antigravity docs list?

2026.2.1+.

2. Where do you install the agent?

JetBrains AI → Settings → Agents → search Antigravity → Install.

3. What happened to Gemini Code Assist for individuals in IDEs?

Stopped serving requests on 18 June 2026; migrate to Antigravity.

4. Is Gemini Enterprise JetBrains auth fully GA in the docs?

Documented as Preview — follow your admin.

Save tokens and money

SMART AI USE

Start with one file. Prefer local Ollama for private drills; use Antigravity when you need Google’s agent stack.

Save these cards

INTERVIEW CARDAI Coding

Antigravity in IntelliJ?

JetBrains AI → Agents → install Antigravity.
IDE 2026.2.1+; replaces individual Gemini Code Assist IDE path.
Ravindra Bagale · ravindrabagale.com/ai-coding
COMPARISON CARDAI Coding

Antigravity IJ vs VS Code

Both: Antigravity family after Code Assist individual cutoff.
IntelliJ: Agents settings install; 2026.2.1+ floor.
Ravindra Bagale · ravindrabagale.com/ai-coding
REVISION CARDAI Coding

Antigravity IJ in 4

Upgrade IDE 2026.2.1+.
Agents → Install Antigravity.
Sign in.
Review every diff.
Ravindra Bagale · ravindrabagale.com/ai-coding