查看中文版 →

Deutsche Version ansehen →

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

Ver versión en español →

Log in
Blog · Setup guides

Google Antigravity agy acp: Zed, JetBrains & Neovim Guide

On 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.

What agy acp actually is: a protocol boundary, not a model proxy

Developers 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:

  • Shared credentials and config: Reuses your cached agy login, permission rules, MCP servers, skills, rules, and hooks so editor sessions behave identically to terminal sessions
  • Model and thinking-level pickers: Exposes your account's models and five thinking levels (Low, Medium, High, Extra, Max) directly as native client dropdowns
  • Full session lifecycle: Supports session/load, session/resume (reopening a thread without replaying history), session listing and closing, and multi-root workspace folders
  • Rich turn controls: Streams inline diffs, live tool calls, Allow/Deny permission cards, native slash commands, pasted images and unsaved editor buffers (fixed in CLI v1.5.13), native elicitation forms for subagent questions (fixed in v1.5.16), mid-turn steering, and clean session/cancel

In 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.

The strategic story: Google opens the harness via ACP while Anthropic locks down OAuth

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.

Permitted vs prohibited Antigravity setups under Google's December 1, 2026 Terms Clause 6
Setup or workflowStatus (Dec 1 Terms)Why
Running agy acp inside Zed, JetBrains, Xcode, Neovim, or third-party UIsPermittedWraps 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)PermittedOfficial headless mode or subagent delegation; Antigravity still runs its own agent loop
Customizing agy with MCP servers, skills, rules, hooks, or pluginsPermittedExplicitly listed as supported extension mechanisms in Clause 6
Extracting Antigravity OAuth tokens into external tools or OAuth bridgesProhibitedBreaches Clause 6(a): using Antigravity credentials outside the official runtime
Repurposing agy as a raw model proxy for an external agent loopProhibitedBreaches Clause 6(b): bypassing or stripping down the Antigravity harness
Sharing, pooling, or reselling personal consumer accountsProhibitedBreaches 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.

Hands-on setup: verify agy acp and connect your editor

1. Verify the binary, absolute path, and login

Confirm 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):

Terminal
agy --versionwhich agyagy acp --help

If 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:

Terminal
agy acp --login

If 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.

2. Zed

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":

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

Open the Zed Agent Panel, click +, and select Antigravity under External Agents.

3. JetBrains IDEs, Android Studio, and Xcode

  • JetBrains IDEs (IntelliJ IDEA, PyCharm, GoLand, WebStorm): Install or enable the AI Assistant plugin, then register Antigravity in ~/.jetbrains/acp.json using the absolute path from which agy:
~/.jetbrains/acp.json
{  "agent_servers": {    "Antigravity": {      "command": "/usr/local/bin/agy",      "args": ["acp"]    }  }}
  • Android Studio: Install Google Antigravity directly from the built-in ACP Registry—no manual JSON needed
  • Xcode: Go to Xcode > Settings > Intelligence > Agents > Add an Agent, paste the absolute path from which agy into Command (Xcode does not expand ~), and set Arguments to acp
  • VS Code: Google's primary path is the official Antigravity VS Code extension; if you specifically want ACP, install the community formulahendry.acp-client extension and register command: "agy", args: ["acp"] under acp.agents

4. Neovim (codecompanion.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"):

init.lua
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.

Comparing agy acp, standalone agy CLI/App, and CodingPass standard APIs

agy 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:

Comparison of agy acp, standalone agy CLI/App, and CodingPass standard API plans
Dimensionagy acp (in-editor)Standalone agy CLI / Antigravity AppCodingPass standard API (Claude Code / OpenCode / Codex)
Integration modelEditor spawns agy acp subprocess over JSON-RPC stdioNative terminal TUI, desktop app, or standalone IDEStandard Base URL + API key for any custom-provider agent
Model accessGemini in every client; third-party models only in JetBrains, Android Studio, Zed, and XcodeFull Gemini 4 family (Orchestrator, Argon, Neon, Carbon) plus eligible partner models25 models (Claude, GPT, open-weight) with no editor allowlist
Billing and quotaGoogle AI Pro / Ultra (5-hour rolling quota) or Gemini API keySame Google AI quota pool shared with agy acpMetered at official API rates against a fixed monthly allowance from $10/mo; no surprise charges
Main advantageStay in your daily editor while staying strictly within Dec 1 Terms Clause 6Full native features: Worktrees, Remote Control, Swarm, and Orchestrator UIZero 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).

Scenario decision table

Recommended setup by editor and multi-model coding workload
Workload / scenarioRecommended choiceWhy or trade-off
Daily coding in Zed, JetBrains, Android Studio, or XcodeConfigure agy acpNative inline diffs and permission cards, plus allowlisted access to both Gemini and eligible partner models
Neovim developer wanting Gemini 4 on a Google AI plancodecompanion.nvim + agy acpRuns 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 4Call headless agy -p as a subagentExplicitly permitted under Dec 1 Terms Clause 6 without running any proxy
Worktrees, mobile Remote Control, or heavy Orchestrator sessionsAntigravity App or standalone agy CLIFull first-party feature set, including Orchestrator (Argon) for large refactors
Multi-repo work needing Claude, GPT, and open-weight models in any editoragy acp + external agents on CodingPassKeeps Gemini 4 on your Google AI plan while covering Claude, GPT, and open-weight models via standard API keys

FAQ

Does running 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.

Why do Claude and GPT models appear in Zed and JetBrains via 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.

When should I pass --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.

Boarding

Keep your editor, avoid vendor lock-in.

CodingPass Go starts at /mo across models via standard API keys in Claude Code, Codex, and OpenCode. No surprise charges, cancel anytime.

  • Request ID on every response
  • Full refund if you've used 5% or less
  • No surprise charges
Choose GoOpenCode setup guide

$10/mo until you cancel.