You can wrap agy with another harness, but it can't be a simple router or to complete an agentic loop. My understanding is that LLMs can only call agy -p essentially as if it's the subagent tool in OpenCode.
That's my understanding as well. It still feels like a really, really fine line; I'm not going to move agy into my normal workflows because it's just way too easy for an agent to quickly wrap up agy and go interactive with it (and get me banned). Turning agy into a wrapper is so easy that any competent agent is going to very quickly want to/try to do it to make it "better".
I had to beat the crap out of Hermes to move it off of oauth; every time I said "Gemini" it would come back (using Deepseek as the model) and want to wire it up with oauth as a provider.
So, short version, this is still something you really need to keep an eye on, any competent model can turn agy into an interactive session and/or extract the oauth creds in seconds, very likely without you even realizing it. IMHO, if you're going to do it, you need it right in your system prompt for whatever agent you're using "DO NOT CALL AGY EXCEPT WHEN DIRECTLY ASKED AND ONLY FOR ONE SHOT PROMPTS".
That sounds like it's on the side of "OK". Honestly though, if your Gemini access is important to you, I wouldn't do it, especially if you're going to hammer it with a bunch of calls at one time or a repetitive loop in your subagent calls, the detection is automated, so the more it "looks like" you wrapped up agy and are calling it directly, the more likely the ban. The reality is they don't know if you are/aren't doing it, they are using a system to detect a pattern of use and banning based on that. The more whatever you do "looks wrong" the more likely you are you get banned, regardless of how you're actually using it.
Have you seen the Chinese guy on X exposing everything wrong with T3 at the minute? He explicitly talks about how T3 are doing this in an underhand way that could easily get you banned. Compared it to Pi who removed the feature until they got confirmation from Google to use it but T3 instead did some dodgy workaround. I wouldn't trust T3 at all after reading so many things it is does wrong
T3 developers lied about the lack of telemetry but they didn't collect anyone's actual data only metadata. More importantly, this all has no relation to the Antigravity angle
Read the rest of the story and you'll see there's a post breaking down exactly what I said, do you think I just pulled it out of thin air? Your point was the initial headline grabber but there's much more to it
This is risky advice. If you inspect Gemini thinking you see it actively trying to identify if it's being called by another agent and it's pretty aggressive about it.
That's really nebulous. It's dead simple to write a "tool" that appears as an inference endpoint on one end and just calls agy on the other end. If you ask a powerful AI "make my Gemini sub work in Hermes" that's exactly what it'll wire up and it will use agy under the covers in a "supported" fashion but it's certainly not allowed per Google's TOS.
Honestly, the easiest way I can put it, if you're using a Google model in an interactive fashion outside of agy/gemini on a sub, you're probably in violation of TOS.
agy is the Google Antigravity command line interface. It's trivial to wrap it up in a script to turn it into a standard "interactive" LLM endpoint (which is what Google prohibits). So, in essence, it's the method you can use to turn a subscription into an API endpoint (which is apparently still prohibited per Google TOS).
TLDR: It's a CLI that's a good way to get yourself banned from Google. ;)
They're trying to protect their API revenue. There's no mystery to the "why", a max sub on Google if you use your tokens in each window likely burns 1000's of dollars if you ran those same queries through API. I'm not sure if anyone has done the math specifically for Google; I just recently saw something ridiculous for ANT that has a 200 dollar sub worth about 7K in API calls.
The "why" isn't a mystery. The real question is how long can the absurd gap between sub and API persist.
I am using Anti-gravity models in Opencode through Omniroute which combines my multiple Google accounts and gives me a combined pool of tokens for fairly enough work being in Free tier.
It's directly against the ToS. The way to use your Google sub in other harnesses is to mod them into ACP clients and talk to the Antigravity CLI via ACP.
This kind of shit is why I'll never use Google's AI on my main account. I should probably actually just start moving everything away from Gmail to my own domain
This whole deal is going to change on the 11th of this month mark my words! Google has reversed course all things regarding their AI services in order to open it up and allow the floodgates to pour through all of that delicious AI!
I said it in my original post... but ok... I'll say it again. Google reversed course they are opening it up to allow 3rd party applications. You will no longer get Oauth for logging in from somewhere other than anti gravity.
For most people this means they can go back to using cursor or VS code with their Gemini subscriptions but there's a bunch of other use cases...
Yes, I've seen this on X unfortunately. Google said it will allow you to auth with other coding agents but you will spend 4x the quote you would spend in Antigravity (or they have done this already, not sure).
they are afraid some day a guy come up with a wrapper that stores prompts and some chinese sites would acutally pay to buy those prompts ( and responses ) from people. thus they act so violently
26
u/deniedmessage 1d ago
This is… well known. Very well known for nearly a year, especially with the recent google ban scandal too.
13
u/Difficult_Plantain89 1d ago
You can submit the appeal and they will reinstate your account in 24-48 hours. Saying this as someone who was banned...
Appeal form
109
u/OvertaxedOne 1d ago
Yes. Many people. Google does not allow you to tie in a 3rd party harness using Oauth. Or by wrapping agy with custom scripts.
Making it simple, if you're chatting with a Google model outside of agy or the web and not using API, you're going to get banned.
7
u/chigarow 1d ago
my second acc also doomed because of that plugin 😔 and that's why I made this one https://github.com/chigarow/antigravity-for-opencode
it just delegate to agy cli from opencode
7
u/Robert-Paulson_ 15h ago
sucks you got banned but super appreciative for you to help your fellow devs spreading the word 🙏
5
u/Equal-Move-4971 1d ago
It's directly against the ToS. The way to use your Google sub in other harnesses is to mod them into ACP clients and talk to the Antigravity CLI via ACP.
Check this for example.
3
u/IrritatingBashterd 23h ago
Thansk for sharing this.
2
u/Any_Ad9815 1d ago
Thanks. Saved me
1
u/Amarsir 1d ago
I hope it wasn’t an account with your email and other irreplaceable things.
1
u/RezaID 1d ago
please use ACP
1
u/ConsiderationDeep959 22h ago
If you open plugins page it tells in Big letters what your acc can get banned, so I would say it's risky game to use it
1
u/OtherwiseAlbatross14 20h ago
This kind of shit is why I'll never use Google's AI on my main account. I should probably actually just start moving everything away from Gmail to my own domain
1
u/FormalAd7367 19h ago
Use Pi harness (opensource). it’s simple and light weight.. much better than Opencode harness. supports driving gemini --acp directly via extensions
1
u/nandoburgos 17h ago
Me too
1
u/666-SATAN-999sfdewsf 16h ago
This whole deal is going to change on the 11th of this month mark my words! Google has reversed course all things regarding their AI services in order to open it up and allow the floodgates to pour through all of that delicious AI!
1
u/Dudensen 12h ago
Yes, I've seen this on X unfortunately. Google said it will allow you to auth with other coding agents but you will spend 4x the quote you would spend in Antigravity (or they have done this already, not sure).
1
u/phoneaiman 10h ago
this sound like geminiweb2api
1
u/Soft_Pin7723 9h ago
Google don't be evil in practice 🫠
1
u/Mhmdrz_A 8h ago
they are afraid some day a guy come up with a wrapper that stores prompts and some chinese sites would acutally pay to buy those prompts ( and responses ) from people.
thus they act so violently
1
u/parthibx24 1d ago
Use acp, direct api usage always gets you banned.
0
u/Senior-Rub-4663 1d ago
Got this done just yesterday used it heavily as well hopefully I'm fine its not even my google account I borrowed it for a while from a friend 😭