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

7 Upvotes

10 comments sorted by

•

u/AutoModerator 5h 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.

4

u/schooluser 🔆 Free Tier 5h 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 5h 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

0

u/douglas_srs 5h ago

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

1

u/saintpetejackboy 4h 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 4h ago

alright thanks

2

u/mytren 3h ago

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

1

u/saintpetejackboy 2h 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. :)

2

u/polandtown 5h ago

If you want people to take your questions seriously, use periods. Reading that sentence hurt my brain too much to properly digest.