Enterprise governance
Operates under your existing Google Cloud Terms of Service with centralized administrative controls.
To deploy Google Antigravity using models hosted directly within your organizationâs Google Cloud infrastructure, you can integrate with Gemini Enterprise. Every session runs under Google Cloudâs enterprise security controls, data residency guarantees, and the Google Cloud Terms of Service.
Supported products: Antigravity 2.0 Antigravity CLI Visual Studio Code Visual Studio JetBrains (Preview) Zed (Preview) Xcode (Preview)
You can connect Antigravity to Gemini Enterprise in two ways:
roles/discoveryengine.agentspaceUser Identity and Access Management (IAM) role for consumption-based billing.agy), and Antigravity IDE extensions. No separate per-user Antigravity license is required.By connecting Google Antigravity to your Google Cloud project, your organization gains:
Enterprise governance
Operates under your existing Google Cloud Terms of Service with centralized administrative controls.
Data residency and security
Satisfies private networking (VPC Service Controls). Regional data residency constraints apply to first-party Gemini models; third-party model inference runs in global, us, and eu locations (in-country regions are not supported; see Anthropicâs Supported countries and regions).
After installing Antigravity 2.0, the Antigravity CLI (agy), or a supported IDE extension, choose your organizationâs authentication method to connect to Gemini Enterprise:
Google Antigravity uses a single sign-on (SSO) flow that automatically detects your assigned license tier:
agy (or /login) in the Antigravity CLI, or open your IDE extension.global, us, or eu; saved to ~/.gemini/antigravity-cli/settings.json in the CLI), or pass agy --project PROJECT_ID when launching the CLI.Bring Your Own Identity (BYOID) uses Workforce Identity Federation (WIF) to let your organization authenticate through an external identity provider, such as Okta, instead of a standard Google Account:
locations/global/workforcePools/POOL_ID/providers/PROVIDER_ID) provided by your organizationâs administrator.For headless environments and automated terminal workflows, Antigravity supports authentication using Google Cloud Application Default Credentials (ADC) across the Antigravity CLI, Antigravity 2.0, and Antigravity IDE.
Generate local Application Default Credentials for your project using the Google Cloud SDK:
gcloud auth application-default login --project {GCP_PROJECT}
Verify that your credentials file exists (on Linux and macOS, ~/.config/gcloud/application_default_credentials.json).
Enable ADC for your surface:
AGY_ADC_AUTH=true before running agy (run unset AGY_ADC_AUTH to sign out):
export AGY_ADC_AUTH=true
AGY_ADC_AUTH=true, or set "enableAdc": true in ~/.gemini/config/config.json:
{
"userSettings": {
"enableAdc": true
}
}
quota_project_id in the ADC file, (2) GOOGLE_CLOUD_QUOTA_PROJECT environment variable (CLI only), or (3) the metadata server project ID (for service accounts).GOOGLE_CLOUD_LOCATION (CLI) or the location field in the ADC file (Antigravity 2.0 / IDE), defaulting to global.Antigravity in Gemini Enterprise supports included first-party Gemini models and administrator-enabled third-party partner models:
| Model | CLI / API Identifier | Enterprise |
|---|---|---|
| Gemini 3.8 Flash | gemini-3.8-flash | â |
| Gemini 3.7 Flash | gemini-3.7-flash | â |
| Gemini 3.6 Flash | gemini-3.6-flash | â |
| Gemini 3.1 Pro | gemini-3.1-pro-preview | â |
| Claude Sonnet 5.5 (thinking) | claude-sonnet-5-5-<level>* | â ** |
| Claude Opus 5.5 (thinking) | claude-opus-5-5-<level>* | â ** |
| Claude Sonnet 4.6 (thinking) | â | â |
| Claude Opus 4.6 (thinking) | â | â |
| GPT-OSS-120b | â | â |
* Available at four thinking levels (<level>): low, medium (default), high, and max (for example, claude-opus-5-5-high or claude-sonnet-5-5-max).
** Third-party partner models require administrator opt-in in the Google Cloud Console and are billed by token consumption. First-party Gemini models are enabled by default and draw from pooled edition seat credits ($10/month Standard, $15/month Plus).
Once enabled for your project, models appear in your client shortly after your administrator enables them:
Low, Medium (default), High, and Maxâand each level appears as a separate entry in the model picker (for example, Claude Opus 5.5 (High)). Higher levels give the model more room to reason on complex tasks, but use more tokens.agy): Start a session with --model or switch mid-session with the /model slash command:
agy --model claude-opus-5-5-medium
agy --model claude-sonnet-5-5-medium
You can also specify a base model ID and use the --effort flag (or /effort mid-session, requires agy v1.2.11 or later) to set the reasoning level (low, medium, high, max):
agy --model claude-opus-5-5-medium --effort high
agy --model claude-sonnet-5-5-medium --effort max
When you select Anthropic Claude Opus 5.5 or Anthropic Claude Sonnet 5.5 in Antigravity, your selected third-party model executes all primary reasoning, planning, tool orchestration, and code generation turns.
Antigravity uses a hybrid execution architecture: lightweight first-party Gemini models continue to run in the background to handle high-frequency client-side coordinationâsuch as context management and summaries. These background models consume first-party tokens, which can incur charges.
Autonomous tool execution in Antigravity supports human-in-the-loop
confirmation when using either first-party Gemini models or administrator-enabled
third-party Anthropic models (claude-opus-5-5 and claude-sonnet-5-5):
agy): Keep interactive tool permissions and --sandbox=true enabled (seatbelt on macOS, bubblewrap on Linux), or use read-only plan mode (--mode plan) before approving edits. Configure policies with /permissions or /config.To set up Gemini Enterprise subscriptions, follow the official Google Cloud onboarding guide.
Gemini Enterprise DocumentationComplete the following steps to provision your Google Cloud project and enable API access:
Select or create a Google Cloud project: Select an existing project or create a dedicated project for your teamâs Antigravity workloads.
Go to GCP Project SelectorVerify Cloud Billing: Ensure that Cloud Billing is active for your selected Google Cloud project. You can inspect your projectâs billing status in the Google Cloud Console.
Open Google Cloud Billing ConsoleEnable the API: Enable the Gemini Enterprise API (aiplatform.googleapis.com) to allow Antigravity clients to connect to your projectâs model endpoints.
Enable third-party partner models (optional): To allow developers to use Anthropic Claude Opus 5.5 or Anthropic Claude Sonnet 5.5, enable third-party models in Gemini Enterprise > Settings > AI developer tools in the Google Cloud Console.
Antigravity CLI, Antigravity 2.0, and IDE extensions support multi-region deployment endpoints to satisfy regional data residency requirements:
| Region | Location ID | Supported capabilities |
|---|---|---|
| Global | global | Text generation, code inference, multimodal, image generation |
| US (Multi-region) | us | Text generation, code inference, multimodal |
| EU (Multi-region) | eu | Text generation, code inference, multimodal |
For full endpoint specifications, consult the Deployment endpoints documentation.
If your organization restricts outbound developer traffic using corporate
firewalls, proxies, or context-aware access rules, allowlist the following
endpoints over TCP port 443 for Antigravity 2.0, Antigravity CLI (agy), and Antigravity for IDEs:
| Service and protocol | Allowed hostnames (TCP port 443) |
|---|---|
| AI Developer Tools Orchestration (Standard HTTPS) | businessaicode.googleapis.com |
| AI Developer Tools Orchestration (Mutual TLS) | businessaicode.mtls.googleapis.com |
| Discovery Engine â Global, US, EU (Standard HTTPS) | discoveryengine.googleapis.comus-discoveryengine.googleapis.comeu-discoveryengine.googleapis.com |
| Discovery Engine â Global, US, EU (Mutual TLS) | discoveryengine.mtls.googleapis.comus-discoveryengine.mtls.googleapis.comeu-discoveryengine.mtls.googleapis.com |
Request and response logging
Audit model interactions and maintain enterprise compliance records for your Gemini Enterprise instance. Learn more
VPC Service Controls (VPC-SC)
Enforce private networking security perimeters by adding the Gemini Enterprise API (aiplatform.googleapis.com) to your VPC-SC perimeter. Learn more
Review the following solutions for common sign-in and license issues:
When contacting Google Cloud Support, include the diagnostic log file from your most recent session:
~/.gemini/antigravity-cli/cli.log
~/Library/Logs/Antigravity/language_server.log
Explore the following resources to learn more: