agy-plugin-cc — Gemini CLI / Antigravity CLI Companion for Claude Code
agy-plugin-cc is a Claude Code companion for running Gemini CLI or Antigravity CLI (agy) as a cross-model task delegate and code reviewer, with pragmatic and adversarial review, MCP tools, and background jobs.
繁體中文說明 → · FAQ: English / 繁體中文
Ported from openai/codex-plugin-cc (Apache-2.0), retaining a familiar slash-command and background-job workflow while adapting behavior to Gemini/AGY capabilities and documenting intentional divergences.
Independent project. agy-plugin-cc is community-maintained and is not affiliated with, endorsed by, or sponsored by Google LLC or Anthropic. "Gemini" and "Antigravity" are trademarks of Google LLC and "Claude" is a trademark of Anthropic; all are used here only to name the tools this plugin works with. You install and authenticate those tools yourself, and their terms govern what they do with what is sent to them. agy-plugin-cc operates no remote service or raw API reverse-proxy logic and reads no Antigravity authentication credentials; task and review delegation spawns the user's unmodified local agy binary in its official headless print mode (stdin prompt delivery, stream-json output collection).
Related project
three-lens is a separate Antigravity CLI (agy) plugin for evidence-backed, multi-stage security assurance and vulnerability verification. It runs natively inside Antigravity CLI. Neither project is bundled with or required by the other.
Start here
You need Claude Code, Node.js ≥ 18, and one supported engine: Gemini CLI ≥ 0.40 or AGY ≥ 1.1.12. Install and authenticate the engine you choose; you do not need both. Gemini CLI requires a Standard/Enterprise account or an API key, while AGY is the practical default for personal accounts. See Prerequisites for the supported versions and authentication details.
Install from the release channel
/plugin marketplace add arcobaleno64/agy-plugin-cc
/plugin install gemini@agy-plugin-cc
/reload-plugins
Verify the selected engine with /gemini:setup --engine agy for AGY, or /gemini:setup for auto/Gemini. See Installation for explicit updates and pinned releases.
Three common workflows
| Goal | Command |
|---|
| Pragmatic review of the current change | /gemini:review --wait |
| Adversarial challenge of a design decision | /gemini:adversarial-review --wait Focus on the retry logic |
| Background delegation of a longer task | /gemini:rescue --background Investigate the failing tests |
Use /gemini:status and /gemini:result <job-id> to collect a background result. See Commands for the complete interface and engine-specific behavior.
Why this plugin?
agy-plugin-cc is a Claude Code-native companion bridge for users who want both Gemini CLI and Antigravity CLI (agy) support during Google's Gemini CLI transition.
See the measured Gemini / Antigravity plugin comparison for the project's scope and deliberate trade-offs.
Compared with AGY-only, multi-host plugins, this project keeps the Gemini CLI path where available while providing an explicit --engine agy route for users migrating to Antigravity CLI.
- Claude Code-native
/gemini:* slash commands.
- Pragmatic and adversarial code review over the current diff or branch.
- Background task delegation for longer-running companion-agent work.
- Gemini model aliases, graceful model fallback, and transient review retry.
- One declared AGY floor (1.1.12) in place of seven compatibility gates: an older AGY is refused by name, not silently degraded.
- Stdin prompt delivery on both engines — prompts never enter argv.
| Need | Use this plugin when... |
|---|
| Gemini CLI still works for you | You want model selection, JSON output, and stdin prompt delivery. |
| You are migrating to AGY | Use --engine agy as the fully supported Antigravity CLI backend. |
| You want adversarial review | Use /gemini:adversarial-review with optional focus text. |
| You need AGY-only multi-host support | Consider an AGY-only plugin instead. |
Features