Can I use Google Antigravity inside Claude Code, OpenCode or other tools without risking my Google account?
Last updated
Short answer: Mostly yes, as long as you call the real Antigravity tool rather than borrowing its login. Google rewrote the Antigravity Terms of Service on November 30, 2026, and they now allow you to call the unmodified Antigravity harness as a tool or subagent from another harness, run the Antigravity CLI in headless mode with agy -p, and wrap it in another editor through the Agent Client Protocol. What's still banned is taking Antigravity's credentials, such as its OAuth tokens, and using them directly inside other software, turning Antigravity into a raw model proxy for some other agent, and sharing or pooling one person's plan. Google also says a violation now only suspends your Antigravity access, with a way to appeal, and has no impact on your wider Google account.
What changed on November 30, 2026
Varun Mohan, who works on Antigravity at Google, posted on X at 7:00 PM PT on November 30 that the previous terms "caused some confusion" and had been updated to be clearer about acceptable use, "including allowing developers to call the AGY harness from other harnesses." He added that violations "would only impact AGY access with an appeal path for reenablement" and would have no impact on your broader Google account. Sundar Pichai thanked the Antigravity team for clarifying it. Antigravity's FAQ now says the same thing, and it answers the question by name for Claude Code, OpenClaw and OpenCode.
What the old rules said
When we checked on November 19, 2026, Antigravity's FAQ said that using third-party software such as Claude Code, OpenClaw or OpenCode to access Antigravity with your login violated the Terms of Service and could lead to suspension or termination of your account. It also said wrapping the Antigravity CLI inside third-party coding agents wasn't supported on consumer plans. That's why many people were nervous about running Antigravity alongside other tools. Those lines are gone from the FAQ we checked on December 2.
What you're now allowed to do
The terms list the allowed uses as running the unmodified Antigravity harness through its supported interfaces. That includes wrapping it in a third-party interface through the Agent Client Protocol, calling it as a tool or subagent from another harness, running the Antigravity CLI in headless mode, and configuring it with custom agents, MCP servers, skills, rules, hooks, plugins or supported prompt extensions. In practice, that means Claude Code, Codex or a script can hand a task to agy -p and read back the answer, and editors such as Zed, JetBrains IDEs, Android Studio and Xcode can run Antigravity in their own chat panel with agy acp.
What's still against the rules
Three things are still banned. The first is using Antigravity's entitlements or credentials, such as its OAuth tokens, directly inside third-party software outside the official Antigravity runtime, which is how plugins that sign other tools into your Antigravity account usually work. The second is modifying or bypassing the Antigravity runtime, or repurposing it as a raw model proxy for an external agent loop, which would cover a shim that sends Claude Code's model calls to your Antigravity quota. The third is sharing, pooling or reselling one person's plan across several users. Our reading is simple: if the agy program is doing the work, you're probably fine, but if another tool is talking to Google's models with your Antigravity login, you're not.
How to call Antigravity from Claude Code
Install the Antigravity CLI and run agy once in a normal terminal to sign in, because headless mode reuses your cached credentials and fails with an authentication error if you haven't. After that, Claude Code or any other agent can run a command such as agy -p "review this diff for bugs" --output-format json and read the result. You can pin a model with --model and set reasoning effort with --effort, and running agy models lists the options. Headless runs follow your Antigravity permission settings, and any action that needs approval it can't get is soft-denied: the run still exits 0, and a notice on stderr names the skipped tool and how to allow it. Google's docs warn that --dangerously-skip-permissions approves every action, including file writes and shell commands, so use scoped permission rules instead unless you fully trust the prompt.
Does it use my Antigravity quota?
Google's headless docs don't describe a separate allowance, and agy -p runs on the account you signed into, so our reading is that these calls count against the same plan quota as the rest of your Antigravity use. That matters if you let another agent call Antigravity in a loop, because it can burn through your quota faster than you'd notice. If you'd rather pay per token and connect Gemini directly to a third-party agent, Google's FAQ points you to a Gemini API key from Google AI Studio or the Gemini Enterprise Agent Platform instead.
What's still unclear
Google hasn't said how it detects violations or how long an appeal takes. It also hasn't named specific plugins, so whether a given OpenCode or OpenClaw add-on is allowed depends on how it works. If it launches agy, it fits the new rules, but if it copies your Antigravity token into another app, it doesn't. Check how a plugin connects before you sign in with an account you care about.
Sources
- Google Antigravity Terms of Service: abuse clause (prohibited credential use, raw model proxy, pooling; permitted ACP, subagent, headless and extensions; suspension of Antigravity access only, with appeal), checked 2026-12-02
- Antigravity docs FAQ: third-party software such as Claude Code, OpenClaw or OpenCode, and headless mode from another harness, checked 2026-12-02
- Varun Mohan on X (November 30, 2026, 7:00 PM PT): terms updated to allow calling the AGY harness from other harnesses; violations only affect AGY access, checked 2026-12-02
- Antigravity docs: Headless mode (agy -p, cached credentials, output formats, --model, permissions), checked 2026-12-02
- Antigravity docs: Agent Client Protocol (agy acp for Zed, JetBrains IDEs, Android Studio and Xcode), checked 2026-12-02
- Sundar Pichai on X (November 30, 2026): thanks the AGY team for clarifying the terms, checked 2026-12-02
Free PDF: the AI Coding Cost Cheat Sheet. Enter your email to download it, plus one email a week when picks or prices move.
FAQ
Can I call Antigravity from Claude Code?
Yes. Since Google updated the Antigravity terms on November 30, 2026, calling the unmodified Antigravity harness as a tool or subagent from another harness is allowed, and that includes running agy -p from Claude Code. Sign in once with agy in a normal terminal first.
Can I use my Google AI Pro subscription in OpenCode?
Only by having OpenCode call the real Antigravity tool. Plugins that reuse Antigravity's OAuth tokens inside OpenCode are still against the terms. To connect Gemini models directly, Google recommends a Gemini API key from Google AI Studio or Gemini Enterprise.
Will Google ban my whole Google account for breaking the Antigravity terms?
Google now says no. The updated terms say a violation may suspend your Antigravity access with an appeal path, and that this has no impact on your broader Google account.
Is headless mode allowed?
Yes. Google's FAQ says running the unmodified Antigravity CLI in headless mode with agy -p, including calling it from another harness, is permitted under the terms.
What is still not allowed with Antigravity?
Using Antigravity's credentials, such as OAuth tokens, directly inside other software, modifying the runtime or turning it into a raw model proxy for another agent, and sharing, pooling or reselling one person's plan.
Does calling Antigravity from another agent use my quota?
Google doesn't describe a separate allowance for headless runs, and agy -p uses your signed-in account, so our reading is that it draws from your normal plan quota. Watch your usage if another agent calls it often.
Next steps
- Google Antigravity pricing full plan breakdown
- Antigravity pricing what Free, Pro and Ultra include
- Is Gemini CLI free? the other way to use Gemini in your terminal
- Claude Code subagents and usage how subagents use your limits
- OpenCode pricing if you want Gemini in OpenCode with an API key
- Can you use Vercel's free Hobby plan for a commercial app?
- Is Railway free?
- Does n8n have a free plan?
- X Super vs Claude Max for coding: should you switch from Claude Code?
- Codex Plus, Claude Pro, Cursor Premium or Google AI Pro: which AI coding subscription is the best value?
- Is Claude Code free?
- What is the Claude Code weekly limit?
- Claude Code: API pricing or a subscription?
- Claude Pro vs Max vs Ultra: which plan for Claude Code?
- Does ChatGPT Pro include API credits? Can you use them in Codex?
- What is the cheapest AI coding subscription?
- How do GitHub Copilot AI credits work, and how much is a credit in dollars?
- Is T3 Code free? What does it actually cost?
- Is Cursor free?
- What are Cursor Live Apps and which plans get them?
- What is Cursor Voice Chat and how is it different from dictation?
- What is Antigravity Voice mode and how is it different from voice dictation?
- Is GitHub Copilot free?
- Is Codex free?
- Is Gemini CLI free?
- Is OpenCode free?
- Will ChatGPT and Codex share usage limits?
- What does OpenAI's Pierre acquisition mean for Codex?
- Meta acquired Conductor — what happens to cloud, local, and what should users do?
- Cursor Voice Chat vs Antigravity Voice mode: which should you use?
- What happened to Claude Code Opus 4.8 fast mode on November 30, 2026?
- Do Claude Code background subagents use less of your usage limit now?
- Which ChatGPT plans include dots, are they available in the EU, and how do they use Codex?
- Why does Claude Code now compact at 400K tokens, and how do you keep the full 1M window?
- Are Claude Code plugins and skills safe to install?
- Is Claude Code sabotaging code?
- What is OpenRouter Auto Code, and what does it cost?
- Is Qoder free, and what free offers does it have right now?
- What is the Qoder Developer Pass, and who can get a free month of Qoder Ultra?
- Claude Code vs Codex computer use: which one can control your desktop, and on which plan?
- How do you use Claude Fable 5.2 in Claude Code, what does it cost, and which plans include it?
- Black Friday 2026 AI coding deals on Cursor, Claude Code, GitHub Copilot and Antigravity: which ones ended, and which are still on?
- Is SWE-2.1 free in Devin, and what does it cost after the free period?
- Is SWE-2 Flash still free in Devin, and what does it cost after December 4?
- Can you use Inkling 2 Mini as a free local model in Claude Code or OpenCode?
- What is Claude Ship, and can you use it on a Claude Pro or Max plan?
- How do you use GLM-5.4 in Claude Code, and what does the GLM Coding Plan cost?
- Is Base44 free?
- How do Lovable credits work?
- Do Bolt tokens roll over?
- How do I check my Claude Code usage and limits?
- How much does ChatGPT Sites hosting cost, and when does free hosting end?
- What is Pydantic Pax, and what does it cost if I sign in with ChatGPT or Copilot?
- Is Cursor now Grok Build, and what changes for my plan?
- Can you use GPT-6.2 Astra and Sol in Grok Build (formerly Cursor), and what does it cost?
- What does Amazon Ergo cost, and how do you use it in Claude Code, Codex, OpenCode or Kiro?
- AI Coding Cost Cheat Sheet (free PDF) what $0, $20 and $100+ a month gets you
- Affiliate disclosure
Spotted an error? Send a correction.
Free: the AI Coding Cost Cheat Sheet (PDF)
What $0, about $20 and $100+ a month gets you across 22 AI coding tools, with prices copied from vendor pages when we wrote it; plans change often, so check each vendor's page before you buy. Enter your email to download it now. You'll also get our free weekly email: what shipped and which picks or prices moved, about a 2-minute read. Unsubscribe anytime.