r/opencode • • 1d ago

Please don't use this plugin. I got banned ☠️

I only used this a few times and bam! Banned by google.

Plugin: NoeFabris/opencode-antigravity-auth

Plugin version: 2.1.2

Has anyone else experienced this?

182 Upvotes

55 comments sorted by

26

u/deniedmessage 1d ago

This is… well known. Very well known for nearly a year, especially with the recent google ban scandal too.

-4

u/Quote-Round 1d ago

Which one?

3

u/deniedmessage 23h ago

Using google ai sub in any sort of oauth based hack + recent account wide ban. If you are in any AI coding group you will see it.

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

7

u/Quote-Round 1d ago

Thank you so much

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.

34

u/AggressiveMonk 1d ago

You can wrap agy with another harness, google allows it, You're NOT allwoed to use oauth directly

12

u/ThankGodImBipolar 1d ago

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. 

5

u/OvertaxedOne 1d ago

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".

1

u/DJaydeep 22h ago

Im building one harness that will initiate agy subagents via cli, is this a ban risk?

2

u/OvertaxedOne 16h ago

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.

1

u/ActMediocre7255 21h ago

If you just call it no, I use from months agy on Hermes just to review what he's doing with DeepSeek and I have no bans

0

u/ain92ru 15h ago

Check out how T3 Code works, that way is explicitly endorsed by Google

1

u/dx80x 12h ago

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

0

u/ain92ru 12h ago

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

1

u/dx80x 12h ago

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

1

u/ain92ru 12h ago

Why is it relevant? T3 explicitly got confirmation from Google just like Pi (according to you)

3

u/beefsack 18h ago

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.

3

u/sittingmongoose 15h ago

They officially changed their tos on it yesterday. It’s now officially supported.

1

u/dineshdb 1d ago

You can use agy acp as welll. In any case, agy harness shouldn't be bypassed.

5

u/Wierdcreations 1d ago

ACP is allowed

3

u/IsometricRain 8h ago

Or by wrapping agy with custom scripts.

This is fine, they explicitly say so in the updated ToS:

"calling it as a tool or subagent from another harness, using the Antigravity CLI in headless mode ...is permitted"

https://antigravity.google/terms/

1

u/OvertaxedOne 8h ago

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.

1

u/OkImpress9499 1d ago

What account sharing?

1

u/ImOmar_ 14h ago

What is agy? Dont laugh at me im new

1

u/OvertaxedOne 14h ago

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. ;)

0

u/Comprehensive-Pear43 9h ago

Which I find super strange tbh.

1

u/OvertaxedOne 9h ago

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.

-3

u/InterviewProper9548 1d ago

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.

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

2

u/interpretpunit 17h ago

Nice! I was using a skill for your currently but will give this a try

1

u/chigarow 16h ago

there's the skill also inside the plugin, to teach the agent how to use this plugin precisely

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.

1

u/nandoburgos 14h ago

This acp will consume the sub quota or will i need to pay for api request?

1

u/Equal-Move-4971 14h ago

Whichever method you sign into Antigravity as.

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.

0

u/Spevek 1d ago

Eles não banem a conta do Google, apenas tiram seu acesso ao Agy

Falo isso com propriedade

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/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/nuclearbananana 8h ago

wdym

1

u/666-SATAN-999sfdewsf 4h ago

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...

1

u/nuclearbananana 4h ago

Do you have a link? I don't see any post from you

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 😭