r/ClaudeCode • • 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

20 comments sorted by

•

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]

  • The Rule: Google’s terms explicitly state that the restriction is triggered by which application initiates and orchestrates the session. It does not matter if you have a human-in-the-loop reviewing the prompts. [1]

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

  • Third-Party Orchestration: Wrapping Google Antigravity within external agents like Claude Code or OpenAI Codex to delegate subtasks violates Section 6 of the Google Antigravity Additional Terms of Service on consumer plans. [1, 2]
  • Supervision Exemption: Having a human in the loop to review steps does not bypass the rule against external orchestration. [1, 2]
  • Enforcement: Automated flags target proxy setups and third-party wrappers, leading to potential account suspension. For official community discussion, see the Google AI Developers Forum. [1, 2, 3]

Compliant Alternatives

  • Supported IDEs: Run the official agy acp server directly within approved ACP-compatible editors like Zed or T3 Code.
  • Direct API Access: Connect Claude Code or Codex to Gemini models using official API keys from Google AI Studio or Vertex AI instead of an Antigravity OAuth session. [1]

3

u/blackcatzia 2d ago

alright but if even human in the loop does not bypass how do they know though? like how can they tell if its me or claude putting the words into the terminal

-4

u/douglas_srs 2d ago

if you are asking this kind of question, you don't deserve any kind of answer xD

3

u/ixid 2d ago

This is such absurd nonsense. Just arbitrary garbage in the ToS.

2

u/EldruinAngiris 2d ago

Google is heavy handed with the ban hammer regarding AI. It's not something I would mess with on my main Google account.

1

u/ixid 2d ago

Yeah I'm not going going risk it, it's just a ridiculous artificial limitation on something the user is paying for. 'You can't drive your car on Tuesdays'.

1

u/grebysama 2d ago

This is so arbitrary and now I have to do a "lot" of manual work...

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/blackcatzia 2d ago

alright thanks

3

u/mytren 2d ago

Against Google ToS. Don't get yourself banned is all.

1

u/saintpetejackboy 2d ago

*Edit* - I was investigating all of this as I wrote everything, and the TL;DR is: I have advanced systems of my own for handling swarms, and while I thought they were just "ideas", they function as more of a "harness", and no amount of contortionism was able to bring Antigravity into the picture to be used with these tools. Their Terms of Service have produced a scenario where I'll probably just avoid their models (even with my free usage).

I feel like I got a free employee, under the condition we can't actually bring them in the building to work on the project with the team, so unless I need the grass cut and want to go manually supervise him myself the entire time... just not worth it.

------------------------------------------------------------------------------------
I might just have to make some slight modifications (lol@*edit*), some important distinctions here about how my particular setup works:

  1. A Claude coding session can submit a short, finite task card to a local file-based queue.
  2. A local Bash script validates the card and model against allowlists.
  3. The script invokes the official agy -p CLI once, using the authenticated local installation.
  4. Each invocation is a fresh, independent session with no persistent conversation.
  5. AGY runs in sandboxed, read-only mode by default.
  6. The result is saved to a local file.
  7. The submitting Claude session receives only a notification pointing to that file and independently decides whether to read it.
  8. AGY cannot select tasks, initiate additional work, communicate with Claude, commit, push, or operate autonomously.

The two things that are currently iffy about my setup are: AGY automated Claude dispatch and AGY automated result notification. Everything else seems fine. I thought the ACP server might be an answer, but they also covered that as technically being blocked.

What I really found out from this whole endeavor just now is that the fun little local tool I've been using for some months is technically a type of *harness*... I considered my setup only "Idea as a Technology", and more of a paradigm or protocol than a program... as it mainly consisted of the "framework" and procedure for running multi-agent swarms in parallel in the most token efficient manner (both for large, active tasks - and idle background swarms for incoming work on products in production, with levels of hibernation + intelligent model selection). Everything was mainly built around Claude Code and my current adventures with agy have mainly been one-shot offshoots in different repos for testing (I liked the UI stuff it can do, so far).

Upon further and further examination and trying to find loopholes, incorporating Antigravity into this particular setup just isn't feasible. There are workarounds, obviously, but they all introduce a human in the loop in ways that not only delay the process, but *still* might technically be violating Google's ToS.

The easiest solution for me, at this point, is just to remove agy from my current setup (1) and instead build something similar for Antigravity - HOWEVER, given how much usage I get (dual $200 plans with my Claude Code sessions, and only the included plan with my boosted Google account (which, I pay more than most, but not AI Ultra levels)... so it isn't really worth it. I'm not going to be running swarms of agy the same way due to the lack of usage to get them really cranked up to any appreciable degree.

The end result is that... *maybe*... I will still use agy in some limited contexts, but I am starting to doubt it and this may have the ultimate effect of steering me away from the Google models entirely, even if I do like the UI they can produce out of the box. :)

1

u/mytren 1d ago

I'm not reading all that. Thanks though.

0

u/saintpetejackboy 1d ago

I put a TL;DR right at the top for low IQ people and everything.

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.

0

u/MaximumClick1339 2d ago

Punctuation gatekeeping, bold strategy.

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 -p as 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 -p is 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.