Antigravity For Claude Code
Claude Code plugin: run the Antigravity CLI (Gemini) as a collaborating sub-agent with intelligent model routing across the SDLC. Community project; not affiliated with…
Install: /plugin marketplace add yuting0624/antigravity-for-claude-code
Works with Claude Code, Gemini CLI · 479 GitHub stars
Install
/plugin marketplace add yuting0624/antigravity-for-claude-codeInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →🛰️ Antigravity for Claude Code
Run the Antigravity CLI (Gemini) as a collaborating sub-agent, right inside Claude Code.
Claude conducts the judgement; Gemini does the heavy lifting — intelligent model routing across the SDLC.
⚡ Quick look
Claude stays the conductor; the bulk, token-heavy read ran on cheaper Gemini, and Claude verified the result.
💡 Why
| Claude (conductor) | Gemini / agy (executor) |
|
|---|---|---|
| Owns | requirements · architecture · the hard 20% · verification · review | scaffold · implementation · test generation · search |
| Strength | judgement | cheap, fast throughput |
you → Claude Code (conduct: design / verify / review)
└── agy → Gemini (execute: implement / test / search)
Generation is solved; verification, judgement, and direction are the craft.
✨ What it does
- Routes work across the SDLC — Claude keeps the judgement calls; Antigravity handles scaffolding, test generation, first-pass review, and migrations under a shared
AGENTS.md. - Adds tools Claude lacks natively — live Google/web search, Vertex AI Search over your internal data, deep research, Cloud Logging. Claude reviews and re-checks the results.
- Hears audio, watches video —
/antigravity:mediadelegates the perception to Gemini (natively multimodal, no local ffmpeg/Whisper stack): you get a timestamped digest while the full transcript is written to a file, so a 1-hour recording never lands in Claude's context. - Cross-model verification — an independent, different-model opinion on your code.
- Background jobs — fire a long delegation, keep working, collect later.
- Internal fan-out — one delegation, and agy spawns its own subagents on the cheap side (dynamic
define_subagenton agy ≥ 1.0.16;TypeName "self"+ Role on any version); each leaves a readable trajectory you audit withagy-trace. - Built-in cost discipline — measured, not guessed (see below).
- Drops in with the discipline on — a
SessionStarthook injects the cost-aware routing policy automatically (toggle in plugin settings), and theantigravity-delegatesubagent does file writing on Gemini, so Claude spends no tokens generating file contents. - No slash command required — the delegate subagent is picked up proactively for bulk
work, and a prompt-level nudge flags bulk-looking requests as delegation candidates.
Both are advisory: the break-even judgment stays with Claude (full auto-routing is a
measured net loss below the break-even), and the nudge is toggleable (
delegation_nudge).
📊 Measured results
On a large ADK multi-agent build (+ adk eval), same task / same model, 3 ways:
| Claude solo @high | solo @max | hybrid | |
|---|---|---|---|
| frontier cost (COST-WEIGHTED) | 2.62M | 5.34M | 1.91M |
quality (adk eval) |
✅ 3/3 | ✅ 3/3 | ✅ 3/3 |
→ −27% vs solo@high, −64% vs solo@max, at equal quality — and the cheap Gemini work isn't even counted. Savings scale with task size; tiny one-off tasks are cheaper to just run on Claude. Full A/B: docs/AB-RESULTS.md.
Note on cost figures: numbers are estimates — token counts are approximated and rates live in
prices.json. Set your real Vertex rates there before quoting any figure.
🚀 Install
Similar plugs
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
Bash is all you need - A nano claude code, like 「agent harness」, built from 0 to 1
Documented system prompts from Anthropic - Claude Fable 5.1, Opus 5.5, Claude Design, Claude Code. OpenAI - ChatGPT GPT-6-Astra, Codex. Google - Gemini 3.8 Flash, 3.1 Pro…
Wrap Antigravity, ChatGPT Codex, Claude Code, Grok Build, Muse Code, Devin as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini…