How to Use Antigravity in Other Tools: T3 Code and Editor Setup
Using Google Antigravity in T3 Code and external editors via the official ACP runtime, auth options, and caveats.
agy acp: Zed, JetBrains & Neovim GuideOn December 1, 2026, Google updated the Antigravity Terms of Service and FAQ to explicitly allow third-party editors via agy acp and headless agy -p—while guaranteeing that Antigravity policy actions will not touch your broader Google account.
On December 1, 2026, Google revised Clause 6 of the Antigravity Terms of Service and its official FAQ to draw a clear, developer-friendly boundary: running the unmodified Antigravity runtime through supported interfaces—including wrapping it in a third-party editor over Agent Client Protocol (agy acp), scripting headless agy -p, or calling agy as a subagent from another coding harness—is explicitly permitted.
Just as important for day-to-day peace of mind, Google wrote blast-radius isolation directly into the Terms. Violations of Antigravity rules can suspend only your Antigravity access (with an appeal path) and will have no impact on your broader Google account—meaning Gmail, Drive, and Photos stay untouched.
Bottom line: agy acp is a built-in JSON-RPC over stdio ACP server inside the official agy CLI binary. It lets Zed, JetBrains IDEs, Android Studio, Xcode, VS Code (via a community extension), and Neovim run the full Antigravity agent—reusing your local login, tools, MCP servers, and permission rules—without switching to the Antigravity IDE. One official catch: Gemini models work in every ACP client, while third-party models (Claude and GPT) are only offered to JetBrains IDEs, Android Studio, Zed, and Xcode. If you want unrestricted Claude, GPT, and open-weight models in Neovim, OpenCode, or Claude Code, pair agy acp for Gemini with a standard API plan like CodingPass.
agy acp actually is: a protocol boundary, not a model proxyDevelopers hearing about agy acp for the first time often assume it exposes an OpenAI-compatible HTTP endpoint backed by a consumer Google subscription. Architecturally, it does the exact opposite.
As documented in Google's ACP CLI reference, agy acp is a subcommand baked directly into the official agy binary. It speaks ACP protocol version 1 over stdin and stdout and identifies itself as Antigravity ACP Server. You do not run it manually as a daemon; your editor spawns agy acp as a subprocess whenever you open a thread.
Because the full agent loop remains inside Google's unmodified runtime, the editor only renders the UI layer while inheriting everything you already configured for agy:
agy login, permission rules, MCP servers, skills, rules, and hooks so editor sessions behave identically to terminal sessionsLow, Medium, High, Extra, Max) directly as native client dropdownssession/load, session/resume (reopening a thread without replaying history), session listing and closing, and multi-root workspace folderssession/cancelIn our view, the rapid sequence of ACP fixes in CLI v1.5.13 through v1.5.16—followed immediately by the December 1 Terms rewrite—signals that Google treats agy acp as a first-class distribution surface alongside the desktop app and VS Code extension, not a side experiment.
In late November 2026, developer feeds lit up over fears that using Antigravity could trigger a full Google account ban. Although Google DeepMind clarified that the viral suspension was a false positive tied to an inactive account activating a trial—not Antigravity—Google used the moment to codify exactly what third-party setups are safe.
Clause 6 of the December 1 Terms draws a clean architectural line: wrapping the unmodified harness is allowed; stripping it down to a raw model proxy or scraping its OAuth tokens is banned.
| Setup or workflow | Status (Dec 1 Terms) | Why |
|---|---|---|
Running agy acp inside Zed, JetBrains, Xcode, Neovim, or third-party UIs | Permitted | Wraps the unmodified official agy runtime over ACP with each user's own account |
Calling agy -p from scripts, CI, or another harness (Claude Code, Codex) | Permitted | Official headless mode or subagent delegation; Antigravity still runs its own agent loop |
Customizing agy with MCP servers, skills, rules, hooks, or plugins | Permitted | Explicitly listed as supported extension mechanisms in Clause 6 |
| Extracting Antigravity OAuth tokens into external tools or OAuth bridges | Prohibited | Breaches Clause 6(a): using Antigravity credentials outside the official runtime |
Repurposing agy as a raw model proxy for an external agent loop | Prohibited | Breaches Clause 6(b): bypassing or stripping down the Antigravity harness |
| Sharing, pooling, or reselling personal consumer accounts | Prohibited | Breaches Clause 6(c) and trips multi-account anti-abuse checks |
In our view, that distinction highlights a widening strategic split among frontier labs. Anthropic has tightened enforcement against third-party tools reusing consumer OAuth credentials—plugins like opencode-claude-auth routinely hit 400 Third-party apps now draw from extra usage even when developers only want to keep their preferred terminal UI (see our request-capture breakdown).
Both labs want to keep control of their agent loop, system prompts, and safety guardrails. Rather than fighting a cat-and-mouse war over client headers and token shims, Google is using ACP as the official boundary: keep whatever editor or control plane you like, as long as the unmodified agy process owns the agent loop underneath.
agy acp and connect your editorConfirm your installed CLI includes acp and print its absolute path (desktop IDEs such as JetBrains and Xcode often launch subprocesses without your interactive shell PATH):
agy --versionwhich agyagy acp --helpIf you have already signed in during an interactive agy session, agy acp reuses those cached credentials automatically. On a headless remote host or over SSH, run terminal authentication once:
agy acp --loginIf no credentials are cached, agy acp returns error -32000 Authentication required and advertises five official auth methods to compatible clients: oauth-personal (personal Google account), oauth-business (Gemini Enterprise), gemini-api-key (GEMINI_API_KEY), agent-platform (formerly Vertex AI, via ADC plus GOOGLE_CLOUD_PROJECT and GOOGLE_CLOUD_LOCATION), and terminal-login.
Open your Zed config (zed: open settings file) and add Antigravity under agent_servers. You can pass extra flags such as --sandbox or --process-per-session right after "acp":
{ "agent_servers": { "Antigravity": { "type": "custom", "command": "agy", "args": ["acp", "--sandbox"] } }}Open the Zed Agent Panel, click +, and select Antigravity under External Agents.
~/.jetbrains/acp.json using the absolute path from which agy:{ "agent_servers": { "Antigravity": { "command": "/usr/local/bin/agy", "args": ["acp"] } }}which agy into Command (Xcode does not expand ~), and set Arguments to acpformulahendry.acp-client extension and register command: "agy", args: ["acp"] under acp.agentscodecompanion.nvim)In Neovim, CodeCompanion.nvim supports custom ACP subprocesses by extending an existing ACP adapter. Point commands.default at agy acp and set auth_method to "oauth-personal" (or "gemini-api-key"):
require("codecompanion").setup({ adapters = { acp = { antigravity = function() return require("codecompanion.adapters").extend("gemini_cli", { name = "antigravity", formatted_name = "Antigravity", commands = { default = { "agy", "acp" }, }, defaults = { auth_method = "oauth-personal", }, }) end, }, }, interactions = { chat = { adapter = "antigravity", }, },})If a client fails to connect, inspect the server logs at ~/.gemini/antigravity-cli/log/acp-*.log, or append --log-file /tmp/agy-acp.log to args for a dedicated trace file.
agy acp, standalone agy CLI/App, and CodingPass standard APIsagy acp does not replace either the native Antigravity clients or a standard multi-model API plan. Each covers a different layer of a modern coding stack:
| Dimension | agy acp (in-editor) | Standalone agy CLI / Antigravity App | CodingPass standard API (Claude Code / OpenCode / Codex) |
|---|---|---|---|
| Integration model | Editor spawns agy acp subprocess over JSON-RPC stdio | Native terminal TUI, desktop app, or standalone IDE | Standard Base URL + API key for any custom-provider agent |
| Model access | Gemini in every client; third-party models only in JetBrains, Android Studio, Zed, and Xcode | Full Gemini 4 family (Orchestrator, Argon, Neon, Carbon) plus eligible partner models | 25 models (Claude, GPT, open-weight) with no editor allowlist |
| Billing and quota | Google AI Pro / Ultra (5-hour rolling quota) or Gemini API key | Same Google AI quota pool shared with agy acp | Metered at official API rates against a fixed monthly allowance from $10/mo; no surprise charges |
| Main advantage | Stay in your daily editor while staying strictly within Dec 1 Terms Clause 6 | Full native features: Worktrees, Remote Control, Swarm, and Orchestrator UI | Zero OAuth workarounds, cross-vendor model switching, unified team billing |
If your day-to-day editor is Zed or JetBrains and your main focus is Gemini 4, agy acp is a clean zero-overhead upgrade. When your workflow also depends on Claude Opus 5.5, Sonnet 5.5, GPT-6.2, or open-weight models inside Claude Code, Codex, or OpenCode—without client allowlists or OAuth shims—pointing those tools at CodingPass gives you 25 models under one predictable monthly allowance (see All models and Usage limits).
| Workload / scenario | Recommended choice | Why or trade-off |
|---|---|---|
| Daily coding in Zed, JetBrains, Android Studio, or Xcode | Configure agy acp | Native inline diffs and permission cards, plus allowlisted access to both Gemini and eligible partner models |
| Neovim developer wanting Gemini 4 on a Google AI plan | codecompanion.nvim + agy acp | Runs the unmodified official binary with zero OAuth scraping; note that non-allowlisted clients receive Gemini models only |
| Delegating long-context tasks from Claude Code or Codex to Gemini 4 | Call headless agy -p as a subagent | Explicitly permitted under Dec 1 Terms Clause 6 without running any proxy |
| Worktrees, mobile Remote Control, or heavy Orchestrator sessions | Antigravity App or standalone agy CLI | Full first-party feature set, including Orchestrator (Argon) for large refactors |
| Multi-repo work needing Claude, GPT, and open-weight models in any editor | agy acp + external agents on CodingPass | Keeps Gemini 4 on your Google AI plan while covering Claude, GPT, and open-weight models via standard API keys |
agy acp in Zed, JetBrains, or Neovim risk my Google account?No. Google's December 1, 2026 Antigravity Terms (Clause 6) and FAQ explicitly allow wrapping the unmodified Antigravity runtime via ACP or third-party UIs using your own account. The updated Terms also state that even if an Antigravity policy violation occurs, enforcement is limited to suspending Antigravity access (with an appeal path) and does not affect Gmail, Drive, or the rest of your Google account.
agy acp, but not in Neovim?Per Google's official ACP documentation, Gemini models are exposed to every ACP client, whereas third-party models included in Antigravity plans are restricted to JetBrains IDEs (including JetBrains Air), Android Studio, Android Performance Analyzer, Zed, and Xcode. To use Claude or GPT inside Neovim or custom terminals, connect a standard API key or CodingPass instead.
--process-per-session or an absolute binary path to agy acp?Use an absolute path from which agy whenever a GUI editor like JetBrains or Xcode fails to spawn agy, since desktop apps frequently skip your shell PATH. Add --process-per-session to args whenever your editor configures HTTP MCP servers—Google's ACP docs note that per-session worker isolation is required for editor-managed HTTP MCP servers to work properly.
CodingPass Go starts at