Use Google Antigravity Models via OAuth
Any chance of using something like: https://github.com/NoeFabris/opencode-antigravity-auth to enable user with a gemini pro account to use their antigravity and gemini cli models in ao?
Thanks!!
Open AI as well
Google has started to ban accounts for using this method as it is a loophole and a violation of their terms of service. I know how to do this but i won't share this. You can use your own bot to figure it out for you but be warned. Your account can be banned
While Google's infrastructure currently lags behind Anthropic and OpenAI, the company appears more committed to open-source initiatives, as evidenced by projects like Gemini-CLI and the A2A protocol. I hope Google's technical capabilities catch up soon.
Regarding account bans, I suspect Google is targeting users who abuse the spirit of its free tier—such as those operating numerous free accounts with no intention of ever paying. Personally, I use both a paid Ultra plan and a single free account. If my legitimate use were banned, I would simply move my business to Anthropic or OpenAI.
Finally, following Anthropic's clear public stance that using code from its models violates its Terms of Service, I hope Google will establish a similar, explicit policy.
+1
First, the code is out there. I’ve used it for the agent I built. I would rather not port it over again. Second, until Gemini has real coding models and tools I do not care. I just didn’t want to waste time and resources.
If you are interested in doing this point your coder at the opencode-auth-antigravity repo and that will point you in the right direction.
On Sat, Mar 14, 2026 at 3:24 PM Fernando Lima @.***> wrote:
fernandogobah left a comment (agent0ai/agent-zero#928) https://github.com/agent0ai/agent-zero/issues/928#issuecomment-4061197617
+1
— Reply to this email directly, view it on GitHub https://github.com/agent0ai/agent-zero/issues/928#issuecomment-4061197617, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACTWE72MMHYR25VHGRIWEDD4QWWXLAVCNFSM6AAAAACSIJUH6GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DANRRGE4TONRRG4 . You are receiving this because you commented.Message ID: @.***>
ThanksOn 14 Mar 2026, at 16:28, Grateful Dave @.***> wrote:GratefulDave left a comment (agent0ai/agent-zero#928) First, the code is out there. I’ve used it for the agent I built. I would
rather not port it over again. Second, until Gemini has real coding models
and tools I do not care. I just didn’t want to waste time and resources.
If you are interested in doing this point your coder at the
opencode-auth-antigravity repo and that will point you in the right
direction.
On Sat, Mar 14, 2026 at 3:24 PM Fernando Lima @.***>
wrote:
fernandogobah left a comment (agent0ai/agent-zero#928)
https://github.com/agent0ai/agent-zero/issues/928#issuecomment-4061197617
+1
—
Reply to this email directly, view it on GitHub
https://github.com/agent0ai/agent-zero/issues/928#issuecomment-4061197617,
or unsubscribe
.
You are receiving this because you commented.Message ID:
@.***>
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>
Title: Feature Request — Support Claude Code / Anthropic OAuth authentication (not just API keys)
Description:
I use Claude Code (Anthropic's VS Code extension) which authenticates via OAuth session tokens tied to my Claude Pro/MAX subscription. This gives me unlimited access to Claude models through VS Code.
However, Agent Zero only supports raw API keys (sk-ant-api03-...) via LiteLLM, which requires separate API credits purchased at console.anthropic.com. This means I'm paying for a Claude subscription but can't use that same authorization in Agent Zero.
The ask: Could Agent Zero support Anthropic's OAuth-based authentication (the same flow Claude Code uses) as an alternative to API keys? This way, users with Claude Pro/MAX subscriptions could use their existing subscription to power Agent Zero without buying separate API credits.
Technical context:
Claude Code authenticates via OAuth and provides a session token (e.g., gssiWmbu...) This token works with Anthropic's API but uses a different auth flow than the x-api-key header that LiteLLM sends The Anthropic API key in my .env has zero credits, but my Claude subscription is fully active and powers Claude Code right now LiteLLM may already have or could add support for OAuth bearer tokens to the Anthropic provider
Forget it, I found the best way. The Agent Zero project is so good that it introduced us to Venice AI. I'll use it this way and also through the Agent Zero API itself.
Forget it, I found the best way. The Agent Zero project is so good that it introduced us to Venice AI. I'll use it this way and also through the Agent Zero API itself.
Are you only able to use the API credits from venice AI with agent0 or are you able to get higher usage with specific models because its a monthly sub? if it only works with the API credits i dont see how its any different then OpenRouter
Closing due to inactivity of 90 days.