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.
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. ;)
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!
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).
24
u/deniedmessage 14h ago
This is… well known. Very well known for nearly a year, especially with the recent google ban scandal too.
12
u/Difficult_Plantain89 13h 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
94
u/OvertaxedOne 14h 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.
6
u/chigarow 13h 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
5
u/Equal-Move-4971 14h 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.
4
u/Robert-Paulson_ 3h ago
sucks you got banned but super appreciative for you to help your fellow devs spreading the word 🙏
2
u/Any_Ad9815 13h ago
Thanks. Saved me
1
u/Amarsir 14h ago
I hope it wasn’t an account with your email and other irreplaceable things.
1
u/RezaID 13h ago
please use ACP
1
u/IrritatingBashterd 11h ago
Thansk for sharing this.
1
u/ConsiderationDeep959 10h 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 8h 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 7h 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 5h ago
Me too
1
u/666-SATAN-999sfdewsf 4h 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 1m 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/parthibx24 12h ago
Use acp, direct api usage always gets you banned.
0
u/Senior-Rub-4663 14h 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 😭