Antigravity inside ZCode: a small connector with a real memory boundary
A local Node.js proxy brings the agy CLI into ZCode's custom-provider menu. The useful engineering is in the adapter, the history budget and the permissions it inherits.

One workspace, another model route
Switching a model should not require rebuilding a conversation from scratch. The Antigravity Plugin / Connector for ZCode Harness tackles that practical irritation with a small local adapter: ZCode sends an OpenAI-shaped request to a loopback HTTP server, which turns the conversation into input for the installed agy CLI. The result returns as a chat completion. This is a source-based review of package version 1.0.0 at commit bddf4b37de7f2ccba191513ac5313024bc15ba32, inspected on November 25, 2026. No installation, authenticated model call or cross-platform test was performed. The public repository is the subject, not evidence of an official Google or Z.ai integration. [1] [5]

Follow the request through the converter
The default route is ZCode → http://127.0.0.1:4011/v1 → server.mjs → the local agy executable. The server provides health and model-list endpoints, plus streaming and non-streaming chat-completion responses. It launches agy with a prompt, stream-json output and auto mode, then reads assistant text and the final result. That is useful protocol adaptation, but OpenAI-shaped HTTP does not imply complete OpenAI API compatibility. The handler does not forward every possible request parameter, and the returned stream is primarily text. Treat an application that needs structured tool calls, images or a particular sampling control as a separate compatibility question. [2]
What session memory really means
The README promises full session and chat memory. The implementation gives that phrase a narrower, inspectable meaning: it flattens the messages supplied with each request into labelled text, including system, user, assistant and tool records. Tool-call names and arguments can enter the text, but each argument string is shortened to 400 characters. There is no separate persistent conversation database in these five files. Continuity therefore depends on what ZCode sends and what fits in the adapter's prompt budget. A model switch can receive prior turns when the caller includes them; this is not a promise of unlimited recall or native structured tool execution. [2]
Two limits that should never be confused
The HTTP body limit is 32 MiB. The flattened prompt budget is 80,000 characters, not 80,000 tokens. When history becomes too long, the adapter reserves room for system text and keeps recent non-system turns, dropping older ones. Very long system text is itself shortened using a beginning-and-end selection. These choices address payload and command-line constraints, while trading away context. Analysis: after a long debugging conversation, ask the model to restate the current requirements and verify those against the actual project. A successful HTTP request cannot establish that every earlier constraint survived. [2]
Installation changes configuration and startup
The installer requires an existing agy installation and an existing ZCode provider configuration. It queries live models and falls back to a built-in list when discovery returns none. That fallback is convenience data, not proof an account can use every listed model. Before editing provider_config.json, it makes a timestamped backup. It registers an Antigravity custom provider and enables its model entries. Platform branches create a macOS LaunchAgent, a Linux user-systemd unit or a Windows Startup launcher with a detached process. These paths exist in the source; they are not a verified platform-support matrix. On Linux, service setup errors can leave a written unit with manual startup suggested instead of a running service. [3]
Local transport still carries account authority
The default bind address is loopback, which keeps the normal listener on the local machine. The HTTP handler does not validate a bearer key: the documented agy-local value is a configuration placeholder, not an access-control mechanism. Do not expose this listener as a shared network service on the assumption that the key protects it. A local hop also does not make model inference offline. The connector invokes the signed-in CLI under the local account and requests auto mode. Before using it with sensitive code, understand that CLI's account, data handling, workspace and action permissions. This review did not audit those upstream controls. [2]
A useful first-run checklist, not a test result
Start with disposable material. Check CLI model discovery independently, back up the provider configuration and confirm the listener remains on loopback. The repository's health endpoint can report whether it finds agy, but that does not prove authentication, entitlement or a successful model answer. Compare a short non-streaming turn with a streaming turn; then switch models and check whether a harmless detail from the prior turn is retained. Test a long history separately and inspect what was omitted. Keep tool execution and real repository writes out of this first check. These are proposed acceptance checks, not results claimed by this article. [1] [2]
Removal and licensing need the same precision
The uninstaller removes provider entries and the platform startup artifacts; on macOS and Linux it also attempts to unload or disable the service. The Windows branch removes the Startup file but does not explicitly terminate an already detached proxy. Verify the process and port rather than assuming removal has stopped everything. The checked package.json declares MIT, but the inspected tree contains no standalone LICENSE text. That is a declared license identifier, not a completed license audit. Neither the connector nor this review establishes free upstream usage, quota bypass or guaranteed access to the README's example models. [4] [5]
The verdict: judge the boundary, then the convenience
The attractive part is the small, readable bridge between an existing workspace and an existing CLI. It can make another model route easier to reach without pretending to be a new model. Its limits are equally concrete: history is compressed into text, older context can disappear, local processes inherit real authority and startup automation creates state beyond one chat turn. For an experienced user willing to inspect those boundaries, the repository is a useful starting point. For unattended or shared use, authentication, cancellation, structured tools and platform shutdown behavior deserve verification before the convenient menu entry becomes a routine dependency. [1] [2] [3] [4]