查看中文版 →

Deutsche Version ansehen →

Открыть русскую версию →

Ver versión en español →

Log inChoose a plan
Blog · Setup guides

How to Use Antigravity in Other Tools

Wrapping the headless CLI or scraping local OAuth tokens in third-party harnesses still risks account restrictions. The supported route is Google's official ACP runtime—built directly into T3 Code and available via agy acp in editors like Zed and JetBrains.

If you have a Google AI subscription or Antigravity access, you may want to stay in your usual editor or multi-agent workspace instead of switching into the Antigravity IDE every time you reach for Gemini. Historically, wrapping the headless CLI or extracting local OAuth tokens for third-party harnesses risked account bans.

In September 2026, T3 Code creator Theo announced Antigravity support via PR #9348. He noted that multiple DeepMind employees confirmed Google does not ban personal subscriptions for third-party clients—provided they run Google's official, unmodified ACP executable with native Google sign-in.

GitHub PR #9348 titled feat(providers): add Google Antigravity via the official ACP agent
T3 Code integrates Antigravity through Google's official ACP executable. Source: @theo, September 3, 2026.

Bottom line: You have two official paths to use Antigravity outside its own IDE. For a turn-key multi-agent workspace with mobile remote access, use T3 Code. To stay inside your existing editor, point an ACP-compatible client such as Zed or JetBrains at agy acp. Unofficial CLI wrappers and credential proxies remain off-limits.

Option 1: Use Antigravity in T3 Code

If you already juggle Claude Code, Codex, and Gemini, T3 Code is the quickest setup. It ships Antigravity as a built-in provider with its own managed runtime and isolated GEMINI_HOME profile, so it will not interfere with your local agy CLI configuration.

T3 Code model picker showing built-in providers on the left and Antigravity Gemini 3.8 Flash and 3.7 Flash thinking levels on the right
Antigravity listed in T3 Code's model picker. Source: @theo, September 3, 2026.

1. Install the runtime

Open Settings → Providers on desktop or web, select the environment running your project, toggle Antigravity on, and click Install. T3 Code downloads the official archive from Google, verifies its SHA-256 hash and size, and extracts it:

  • Supported platforms: macOS (Apple Silicon and Intel), Linux (x64 and ARM64, glibc and musl), and Windows (x64 and ARM64)
  • Disk space: Reserve at least 1.25 GiB of free space for downloading and staging updates
  • Minimum version: Antigravity 1.5 or newer (1.5.12+ recommended)

If you already maintain the Antigravity CLI on your machine, you can skip the managed download and set Binary path to your local agy executable.

2. Choose an auth method and sign in

Once the runtime is ready, click Sign in. Each Antigravity instance keeps its own credentials and ignores ambient host environment variables such as GEMINI_API_KEY:

Four authentication methods supported for Antigravity in T3 Code
MethodCredentials and flowBest for
Google accountPersonal Google OAuth sign-in in your browserPersonal Google AI subscribers (default)
Gemini EnterpriseBrowser OAuth sign-in plus GCP project and locationEnterprise Gemini seats
Gemini API keyAPI key only, no browser needed (click Connect)Pay-as-you-go API users
Agent Platform / Vertex AIAPI key, or GCP project and location with ADC on the hostGoogle Cloud teams and production setups

If you start sign-in from a phone or another computer while T3 Code runs on a home machine, Google finishes on a page showing a temporary code (or a 127.0.0.1 callback URL). Paste that code or the full redirect URL into the setup field in T3 Code to complete authentication.

3. Models, commands, and usage limits

After T3 Code confirms account access, you can pick Antigravity on any new thread:

  • Models and thinking levels: Google returns the models available on your plan (including Claude and GPT models when included), with a thinking-level selector beside the model picker
  • File approvals and permissions: File reads and writes flow through T3 Code's diff approval UI under Supervised, Auto-accept edits, and Full access modes
  • Slash commands: Supports native /plan, /compact, /clear, /goal, and /logout
  • Usage limits: Open Usage → Limits to check remaining 5-hour and weekly allowances for Gemini and shared Claude/GPT quotas

Option 2: Run agy acp in Zed, JetBrains, or other editors

If you prefer to stay inside your own code editor rather than adopting a separate workspace, the Antigravity CLI ships a built-in agy acp server command.

First verify your CLI supports ACP and sign in:

Terminal
agy acp --helpagy acp --login

Then register agy with ["acp"] as a custom agent server in your editor. In Zed, add this to settings.json:

settings.json
{  "agent_servers": {    "Antigravity": {      "type": "custom",      "command": "agy",      "args": ["acp"]    }  }}

Open Zed's Agent panel and start a thread with Antigravity. JetBrains IDEs, Android Studio, Xcode, and Neovim plugins (such as avante.nvim and CodeCompanion) follow the same pattern, launching agy acp as a subprocess.

Limitations and caveats

Running Antigravity in external tools relies on what the official ACP runtime exposes today, which comes with a few quirks compared to the native IDE:

  • No native conversation rewind: Antigravity cannot rewind its own session state. Using Edit from here in T3 Code starts a fresh Antigravity session and replays the kept turns
  • Empty skill folders in your repo: Starting a session creates empty .gemini/skills and .agents/skills directories in the workspace (Git ignores empty folders, so they stay out of commits)
  • Different global skills path: Antigravity reads ~/.gemini/config/skills or ~/.gemini/antigravity-cli/skills, not ~/.agents/skills. Project-level skills load in order from .gemini/skills, .agents/skills, and .agent/skills
  • Read-only subagent view: T3 Code displays Antigravity subagent batches with each child's role and recent steps, but you cannot message or steer individual subagents
  • Extra footprint: If you only use Google models and already like the Antigravity IDE, adding T3 Code costs at least 1.25 GiB of disk space plus extra background memory for little gain

A quick word on ACP

Both T3 Code and Zed connect to Antigravity through the Agent Client Protocol (ACP), an open standard backed by Zed Industries and JetBrains. Think of it as LSP for coding agents: the editor or control plane spawns the agent as a subprocess and exchanges JSON-RPC 2.0 messages over stdio (or HTTP and WebSockets for remote hosts) to stream replies, render diffs, and request tool permissions.

ACP sits alongside MCP rather than replacing it—MCP connects agents to tools and data, while ACP connects editors and workspaces to agents. Alongside Google Antigravity, the official ACP Registry already lists Claude Agent, Codex, Cline, Gemini CLI, GitHub Copilot, and OpenCode.

For more on how T3 Code combines Claude Code, Codex, and Antigravity in one workspace, see our T3 Code guide.

Boarding

Switch models, keep your allowance.

Claude and GPT metered at official API rates. No surprise charges, cancel anytime.

  • Request ID on every response
  • Full refund if you've used 5% or less
  • No surprise charges
Choose GoClaude Code Guide

$10/mo until you cancel.