This is about the standalone official ACP server (agy_acp_server / antigravity-acp in the ACP Registry), not the Antigravity IDE and not the agy CLI.
Staff confirmed on this forum that connecting to this binary is the supported path for ACP clients (Zed, etc.). Clients that spawn a new process per conversation pay a 15–25s tax before the first prompt. The IDE does not, because its agent process is already running.
Environment
- Windows 11 x64
- Official zip:
https://dl.google.com/agy-extensions/releases/windows/agy-acp-server-agy_acp_server_1.1.1-windows-x86_64.zip agy_acp_server.exe431 MB +localharness_external.exe131 MBagentInfo.version=agy_acp_server_1.1.1- Auth:
oauth-personalin~/.gemini/antigravity-acp/settings.json ~/.gemini/config/mcp_config.jsonis empty (this is not MCP)
ACP Registry is still 1.1.1 (published 2026-09-03). agy CLI is at 1.2.5 and the IDE is at 2.14.0; those are different products. There is no 1.1.2 / 1.2.x ACP zip on dl.google.com.
Reproduction
The binary is a PyInstaller onefile that unpacks python310.dll (Python 3.10.4) into %TEMP%\_MEI* on every start (antigravity-cli#921).
--help alone, with no ACP handshake:
google.api_core FutureWarning: You are using a Python version (3.10.4) ...
Entry point for the AGY ACP Server.
Two consecutive runs: 16452 ms and 16747 ms. This is not a one-time SuperFetch miss.
Then the full ACP path (stdio initialize → session/new → session/set_config_option for model):
| Step | Wall time | What it is |
|---|---|---|
process.start → Starting AGY ACP Server |
15–16 s | PyInstaller extract + google.api_core import. The initialize RPC itself is near-instant after that log line. |
OAuth refresh + loadCodeAssist |
~1.5 s | Every new process |
session/new |
3.7–4.9 s | Starts localharness_external. Official server ignores model/mode metadata on session/new and always opens gemini-3.7-flash-high. |
SetModel 3.7 → 3.8 |
3.3–5.4 s | Stopping Agent session → Starting Agent session |
| Total before first prompt | 23–25 s | |
| First short prompt after that | 1.6–3 s | Gemini still sees ~10k prompt tokens, cachedContentTokenCount: 0 |
| Second prompt on the same process | ~1.9 s |
Same machine, Grok ACP: initialize 153–449 ms, session/new 433–546 ms.
Why Desktop feels instant
A new chat in the Antigravity IDE is fast because language_server / the agent runtime is already alive. ACP clients that follow the protocol (spawn → initialize → session/new) pay the PyInstaller unpack every time.
Pi’s official ACP provider already documents this: session setup is allowed up to two minutes for slow first-run initialization. Linux unpacks to ~1.8 GB.
Ask
- Ship a Windows onedir / persistent extract (or stop using PyInstaller onefile).
--helpshould not take 16 seconds. This is the bulk of the tax and it is 100% local. - Honor model/mode on
session/newso clients do not have to kill and restart the harness to leave the defaultgemini-3.7-flash-high. - Keep ACP releases in step with
agyCLI. CLI is at 1.2.5; ACP is frozen at 1.1.1. Several ACP-only bugs already filed here and on GitHub (502/SSL in bundled Python, SSH OAuth, ARM TCMalloc that CLI already fixed,doneChcheckpoint after restart) have no staff reply.
Happy to attach full stderr traces (Starting AGY ACP Server, Access token expired. Refreshing silently..., Stopping Agent session / Successfully switched).