Subscribe

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

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

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.