Add Antigravity CLI (agy) as a cross-model peer

Author: ALK4Created Sep 28, 2026Updated Sep 30, 2026

The cross-model pass in ce-code-review, ce-doc-review and the ce-pov panel supports codex, claude, grok, cursor, composer and opencode. There's no direct route to a Gemini model. #911 added install instructions for Antigravity CLI but didn't add it as a peer, and the Gemini part of #34 never landed.

Right now the only way to get a Gemini peer is through opencode with a Google provider. That adds another CLI to install and configure, and the route has no served-model receipt, so independence_verified is always false.

agy (1.2.11) seems to have what the worker needs:

  • -p / --print for a single non-interactive turn
  • --output-format json or stream-json
  • --json-schema for the findings schema
  • --model and --effort (low, medium, high, max)
  • --mode plan and --sandbox for read-only runs
  • --add-dir for the temp review directory
  • --disable-slash-commands, so the prompt isn't expanded as a skill
  • --print-timeout

Rough invocation:

bash
agy -p --output-format stream-json --json-schema <findings-schema.json> \
    --mode plan --sandbox --disable-slash-commands \
    --add-dir <review-tmp> [--model <m>] [--effort <e>] < <prompt>

Proposed changes:

  • a new target and route token, agy
  • gemini added as a serving family
  • a cross_model_peer: agy option in the setup config template

Open questions:

  • I haven't confirmed whether agy's JSON output reports the model that actually served the request. If it does, the route could support independence_verified: true. If not, it would be receipt-less like opencode.
  • Headless auth: with an enterprise "advanced SSO" sign-in, a new agy -p process doesn't reuse the interactive session's sign-in. It starts the default sign-in flow instead. The worker always launches the peer as a separate non-interactive process, so this route needs a sign-in that works headless. Is there a supported way to do that (a stored credential, an environment variable, service-account or ADC auth)? If not, the worker's pre-flight check should detect it and skip with a clear reason, not hang on a sign-in prompt.

Source: EveryInc/compound-engineering-plugin