r/ClaudeCode • u/blackcatzia • 2d ago
Help/Question using antigravity with claude
I realized I have Gemini through my Google storage bundle, and I've started using it the way I use ChatGPT: Claude as the delegator, and ChatGPT (or now Gemini) as the workers. But Claude keeps saying it's against Gemini's policies. Is that true, and is it actually enforced? Any tips for using Antigravity with Claude?
14
Upvotes
•
u/AutoModerator 2d ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
6
u/schooluser 🔆 Free Tier 2d ago
I know you're getting hate for not having punctuation but you're probably also getting hate for not just googling your problem. Yes, it's against Antigravity and Gemini's terms of service to have Claude tell either of them what to do. My simple google results:
Prohibited: Consumer Accounts & Local Proxies
If you are using a personal consumer subscription (like Google AI Pro/Ultra or an Antigravity OAuth session), using Claude to automatically drive Gemini is a direct violation. [1, 2]
Yes, having a third-party agent like Claude (or Codex) act as a task delegator or orchestrator over Google Antigravity on a consumer plan violates Google Antigravity's terms and conditions and can trigger automated account suspension. [1, 2]
Key Policy Restrictions
Compliant Alternatives
agy acpserver directly within approved ACP-compatible editors like Zed or T3 Code.1
u/saintpetejackboy 2d ago
I'm have tmux agent swarms that have incorporated agy in the terminal the same way they use Claude code - with desk and boss agents delegating work cards. YMMV, but I haven't had any issues.
A human opening a tmux session and invoking agy and saying "complete the plans in the .md file" probably doesn't look very different from an agent doing the exact same thing. This might also come down to exactly how they define "wrapping" Google Antigravity within external agents - if you tell your harness to use Google models by default or as subagents, that might be a bit different - also, my agy comes with Claude and ChatGPT models - meaning it is theoretically possible that I launch agy and have a claude model delegate to a Google model subagent natively in agy.
I went through a similar thing when Anthropic seemed to come out against having subscription based services invoked from the CLI by scripts or other automation - to be safe, I rewrote everything that was doing that. However, some of the exact use cases seemed to be grey area, and I had many, many months of supposedly violating their ToS without issue. In retrospect, it seemed more like Anthropic was trying to prevent third parties from building around their subscription services, which may be more of Google's goal, as well.
Worst case scenario, orchestrate with the Google Antigravity tmux as the boss and/or desk agent and leave the rest of the workers as CC.
2
u/polandtown 2d ago
If you want people to take your questions seriously, use periods. Reading that sentence hurt my brain too much to properly digest.
1
u/Appropriate-Disk-371 2d ago
I started hearing this weeks ago. I've had Claude code setup to call agy through a wrapper on its own decision points or when I ask or as a part of various skills for several months now. I never got any pushback from Claude about it. Now, with hydrogen and neon being really pretty good, we're using it a lot. With every model update, we run some tests, find the strengths (image recognition) and weaknesses (over-claiming) and write those into the project instructions for usage. I've seen Claude and neon have really interesting, extremely productive, back-and-forth debates where they find references, prove their math, give examples, until they come to an agreement. It's great! Again, Claude never told me anything about this being a problem, and I never even thought to check it. I have now, cautiously, asked Claude if it's okay, and the answer was 'probably not', so I've instructed it to forget that I asked and carry on.
1
u/South-Bat-3567 12h ago
It's enforced. Two of my accounts hit this on the same night earlier this month:
PERMISSION_DENIED (code 403): This service has been disabled in this account for violation of Terms of Service. Please submit an appeal to continue using this product.No warning email, nothing in either inbox. Gemini TTS with an API key on the same Google account kept working, so it looked scoped to Antigravity.
Google doesn't tell you which thing tripped it, and my setup was doing several of the things the FAQ calls out at once: Claude Code sessions calling
agy -pas a worker, a little script that polled the quota endpoint with the CLI's own login token, and switching to the second account when the first hit its limit. So I can't say it was the Claude part on its own. The FAQ is pretty blunt though:agy -pis for your own scripts and CI, and wrapping agy inside third-party coding agents or automating account rotation isn't supported on consumer plans.If it happens to you there's an appeal form, one appeal per account. One of mine worked again within about an hour of appealing plus a fresh login. A Google staffer on the AI dev forum said a repeat violation after reinstatement is permanent, so I'm not testing it.
What I run now: a PreToolUse hook blocks any agy call from inside a Claude Code session, and agy only gets called by my own scheduler scripts, one account, with a daily cap. The stuff Claude used to hand to Gemini now goes to Haiku or Sonnet.