Harness Notes

ACP

Updated 2026-11-25,

On this page

The Agent Client Protocol (ACP) lets an editor such as Zed or a JetBrains IDE run a coding agent in its own panel. How to connect each harness, what carries over from its terminal app, and how much of the work the editor sees and controls.

Getting connected

QuestionAntigravity CLIchecked at 1.5.14
Run it as an ACP agent

Run agy acp as a subprocess in the project directory. An initialize request over stdio negotiated ACP protocol version 1 on CLI 1.5.14.

Add it to Zed, JetBrains or another editor

Google documents configuration for Zed, JetBrains IDEs, Android Studio, Xcode and VS Code with a community extension. Android Studio setup uses the ACP registry.

Signing in

The server reuses cached credentials and provides terminal sign-in via agy acp --login. Initialization advertised personal and enterprise Google sign-in, Gemini API key, and Gemini Enterprise Agent Platform authentication.

Sessions and settings

QuestionAntigravity CLIchecked at 1.5.14
Resume, list or fork past sessions

Google documents reopening sessions. Initialization advertised session load, list, resume and close. Individual requests remain untested. In 1.5.15 session/load waits for replay and restores pending approval or question prompts. session/prompt waits for non-daemon tasks and subagents, while session/cancel closes in-progress tool calls.

Switch mode or model from the editor

Google documents per-session model and thinking-level selection. Release 1.5.0 also describes default, accept-edits and plan session modes.

Slash commands and skills

Not documented

Which slash commands are advertised to or accepted from ACP clients remains unverified.

Working with the editor

QuestionAntigravity CLIchecked at 1.5.14
Approving tool calls

Google documents editor-mediated Allow and Deny prompts for actions that require approval under the CLI permission rules.

Edits through the editor's buffers

Not documented

Google documents rendering file diffs in the editor. Delegation through ACP client filesystem methods remains unverified.

Commands in the editor's terminal

Not documented

Delegation through ACP client terminal methods remains unverified.

MCP servers from the editor

Partly

Google documents editor-supplied HTTP MCP with --process-per-session and a host editor MCP port with --ide-mcp-port, which requires nc. These paths remain untested.

What prompts carry and what streams back

Initialization advertised image prompts and embedded context. Prompt delivery with either payload remains untested.

The other direction

QuestionAntigravity CLIchecked at 1.5.14
Drive other ACP agents

Not documented

General-purpose ACP client support remains unverified.

Notes and sources

Antigravity CLI, 4 sources
Run it as an ACP agent, 2
Add it to Zed, JetBrains or another editor, 1
Signing in, 2
Resume, list or fork past sessions, 3
Switch mode or model from the editor, 2
Slash commands and skills, 1
Approving tool calls, 1
Edits through the editor's buffers, 1
Commands in the editor's terminal, 1
MCP servers from the editor, 1
What prompts carry and what streams back, 2
Drive other ACP agents, 1