Skip to content

v0.2.0 — Antigravity CLI (agy) migration

Choose a tag to compare

@haunchen haunchen released this 31 Jul 06:59
· 10 commits to master since this release
b6720fd

Migrated both plugins from Gemini CLI to the Antigravity CLI (agy). Gemini CLI stopped serving consumer tiers on June 18, 2026 and now returns IneligibleTierError.

Upgrading

  1. Install agy 1.1.6 or newer and sign in (agy once, interactively).
  2. Update the plugins, restart Claude Code.
  3. Run /gemini:setup. This is no longer optional — it installs the system prompts into agy as agents. Skip it and the commands still answer, but with none of this repo's review structure applied, and nothing will warn you.
  4. For gemini-images, run agy plugin install <repo>/plugins/gemini-images/agy from a clone.
  5. If you set GEMINI_BIN or GEMINI_MODEL, rename them to AGY_BIN / AGY_MODEL.

Removed

  • /gemini:security-review. agy declines security-audit requests: 17 of 20 eval calls came back as "Sorry, I cannot fulfill your request to analyze or identify vulnerabilities", including one on a pure rename diff with nothing to find. The same prompt scored 10/10 under Gemini CLI, and rewriting it into a defensive framing did not help. /gemini:review still reports security defects — it flags SQL injection as [HIGH] on the exact case the security agent refused. Test cases and rubrics are kept in eval/, marked PARKED.
  • Automatic model fallback on quota errors. It existed because Pro hit 429 constantly; with Pro no longer the default, retrying on the same model is a no-op and retrying on another assumes separate quota pools, which agy does not document. Quota errors now surface as-is.
  • plugins/gemini/policies/readonly.toml — replaced by the tools whitelist (see below).
  • .gemini/settings.json — pinned temperature: 0 for Gemini CLI; agy exposes no sampling controls, so eval runs now vary more.

Changed

  • System prompts are installed, not injected. agy has no GEMINI_SYSTEM_MD equivalent, so prompts are registered up front as Markdown custom agents (agy/agents/<name>/agent.md, delimited by an exact # Agent System Instructions H1). The plugins go from stateless to stateful; /gemini:setup becomes a real installer and verifies the result, because agy --agent silently ignores unknown names — a failed install returns exit 0 and a plausible answer.
  • Read-only enforcement is stronger. The agents carry a tools whitelist (view_file, find_by_name) instead of a deny-by-default policy. The tools are absent from the agent rather than denied, so --dangerously-skip-permissions cannot bypass it — verified against a control agent, which did write files and run shell commands.
  • All commands default to gemini-3.6-flash-high, effort pinned to high. The previous pro-by-default routing assumed Pro outscored Flash; agy's Pro is gemini-3.1-pro, two generations behind. --model pro still works for explicit opt-in.
  • gemini-images: --include-directories → --add-dir, and the @escaped/path prompt syntax is gone (agy takes a plain path).
  • Eval: eight runner scripts collapsed into one parameterized run-agy.sh <agent|-> <model-slug>.
  • Both plugins gained a full README; the gemini plugin had none before.

Verified

review eval, custom agent 10/10 — the same score Gemini CLI achieved
review eval, bare model 4/10
adversarial-review, ask, gemini-images hook smoke tested end to end
doctor.sh all checks green, including agent install