---
title: "Google Antigravity agy acp Guide: Zed, JetBrains, Neovim Setup & Dec 1 ToS Rules"
description: "Google's December 1, 2026 Antigravity Terms rewrite explicitly permits agy acp and third-party UIs wrapping the unmodified runtime—and isolates violations from your Google account. Full setup for Zed, JetBrains, Xcode, and Neovim plus our take on ACP vs OAuth clampdowns."
url: https://codingpass.ai/blog/google-antigravity-agy-acp-agent-client-protocol-guide
language: en
updated: 2026-12-01
---
# 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.

[CodingPass team](https://codingpass.ai/about) Published Dec 1, 2026 Updated Dec 1, 2026 7 min read

On December 1, 2026, Google revised Clause 6 of the [Antigravity Terms of Service](https://antigravity.google/terms) and its [official FAQ](https://antigravity.google/docs/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](https://codingpass.ai/pricing).

## 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](https://antigravity.google/docs/cli/acp), `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.**

| 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`](https://codingpass.ai/blog/opencode-claude-auth-oauth-limits-alternatives) 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](https://codingpass.ai/blog/opencode-claude-third-party-400)).

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 --version
which agy
agy 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](https://codecompanion.olimorris.dev/configuration/adapters-acp) 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:

| 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](https://codingpass.ai/tools/claude-code), [Codex](https://codingpass.ai/tools/codex), or [OpenCode](https://codingpass.ai/tools/opencode)—without client allowlists or OAuth shims—pointing those tools at [CodingPass](https://codingpass.ai/pricing) gives you 25 models under one predictable monthly allowance (see [All models](https://codingpass.ai/models) and [Usage limits](https://codingpass.ai/usage-limits)).

## Scenario decision table

| 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)](https://codingpass.ai/blog/google-antigravity-orchestrator-gemini-4-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 |

## 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](https://antigravity.google/docs/ide/extensions/acp), 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.

Written by CodingPass team

We run CodingPass and test each guide against the latest stable release of the tool before we publish it. Spotted something out of date? Write to [support@codingpass.ai](mailto:support@codingpass.ai).

## Related reading.

Guides

### [How to Use Antigravity in Other Tools: T3 Code and Editor Setup](https://codingpass.ai/blog/how-to-use-antigravity-in-other-tools)

Using Google Antigravity in T3 Code and external editors via the official ACP runtime, auth options, and caveats.

Guides

### [Google Antigravity Orchestrator & Gemini 4 Argon: Hands-On Guide](https://codingpass.ai/blog/google-antigravity-orchestrator-gemini-4-argon)

How Orchestrator pairs Gemini 4 Argon planning with Gemini 4 Hydrogen execution, Pro vs Ultra tiers, and CLI commands.

Guides

### [opencode-claude-auth: OAuth Limits and API Alternatives](https://codingpass.ai/blog/opencode-claude-auth-oauth-limits-alternatives)

Why Anthropic restricts consumer OAuth tokens in third-party clients and how to switch OpenCode to a standard API key.
