Antigravity Delegate

v2.3.0
io.github.andreilungeanu/agy-delegate-mcp Checked 6 hours ago Published 5 days ago

Bring Google Antigravity (agy) into your agent's council for second opinions, plans and edits.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

delegate Delegate coding task to Antigravity

Ask Antigravity's agy a question or delegate coding work to it over ACP. Never shell out to agy — use this tool only. mode ask gives a second opinion; parallel calls with the same brief compare views. Auto-approves every permission the agent requests, in any mode and anywhere on disk. agy's clarifying questions arrive in questions — resume with resumeSessionId and the answers in spec. Leave model and effort unset unless the user explicitly asks. If the delegate skill is installed, load it before handing off implementation.

ParameterTypeDescription
spec *stringTask brief: goal, scope, fixed decisions quoted exactly, acceptance criteria. Sent as written. Point at files to read rather than pasting code, or attach them with contextFiles.
workspace *stringThe agent's working directory, not a limit. Smallest directory holding the task's files; with no such directory the project root is the floor. Must already exist; never create one for the call.
contextFilesarrayPaths to attach instead of pasting contents into spec. Text becomes references the agent may open; images (png/jpg/gif/webp, <5MB) are sent inline. Relative paths resolve against workspace but are not…
effortstringagy thinking level for the selected model (low, medium, high, xhigh). Levels differ per model; invalid values fail before the prompt and name the accepted set. Pass only when the user asks for agy eff…
modestringagent implements; plan writes a plan, returned as plan; ask answers. plan and ask are instructions to the agent, not limits.
modelstringagy base model id, no level suffix: gemini-4-neon, gemini-3.8-flash. Omitted, a new session runs gemini-4-hydrogen (agy's default where the account lacks it), a resume keeps the model last set on the…
resumeSessionIdstringContinue an existing agy session. When delegate ran as an MCP task, its server-side task id works too.

cancel Cancel Antigravity delegation

Best-effort cancel of an in-flight delegation by sessionId. session/cancel is advisory — the agent may finish the turn anyway, and the delegate result then carries cancelRequested. Status: cancelled, killed (agent process observed to exit), not-running (turn already ended, still resumable), not-found (id not in this process's session history).

ParameterTypeDescription
sessionId *stringFrom delegate's "session ready: <id>" progress notification or its result. When delegate runs as an MCP task, its server-side task id works too.
forcebooleanKill the agent process if the turn is still running after a short grace period.

steer Steer Antigravity delegation

Redirect an in-flight delegation by sessionId: message goes to agy as a new instruction for the running turn, and the delegate call returns the redirected turn's result. Status: steered (sent), not-ready (prompt not sent yet; retry), not-running (turn already ended — resume instead), not-found (id not in this process's session history).

ParameterTypeDescription
message *stringThe new instruction for agy.
sessionId *stringFrom delegate's "session ready: <id>" progress notification or its result. When delegate runs as an MCP task, its server-side task id works too.

doctor Diagnose Antigravity delegation setup

Diagnose the agy launcher and workspace (default: server cwd); warnings lists what needs action. Run when delegation fails.

ParameterTypeDescription
deepbooleanAlso open an ACP session: checks sign-in and adds the plan, the models this account offers, the default model check, modes and the current model's options.
workspacestring