Skip to content

opensecretsauce/openclaw-antigravity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

openclaw-antigravity

Free Google Antigravity OAuth proxy for OpenClaw.

Unlocks free access to:

  • Gemini 3 Flash
  • Gemini 2.5 Pro
  • Gemini 2.5 Flash
  • Claude Sonnet 4.6 ✅ (via Google's quota)
  • Gemini 3 Pro / 3.1 Pro (rolling out)

Multi-account rotation — automatically switches accounts when one hits rate limits.

Requirements

  • OpenClaw installed
  • Node.js 18+
  • One or more Google accounts

Install

npm install -g openclaw-antigravity

Setup

1. Add your Google account(s):

openclaw-antigravity login

Opens a browser → sign in with Google → done. Run again for each account.

2. Install as a system service (auto-starts on boot):

openclaw-antigravity install

3. Configure OpenClaw to use Antigravity models:

openclaw models set google-antigravity/gemini-3-flash

Usage

Check status:

openclaw-antigravity status

Available models in OpenClaw:

google-antigravity/gemini-3-flash
google-antigravity/gemini-3-pro
google-antigravity/gemini-3.1-pro
google-antigravity/gemini-2.5-pro
google-antigravity/gemini-2.5-flash
google-antigravity/gemini-2.0-flash
google-antigravity/claude-sonnet-4-6
google-antigravity/claude-opus-4-6-thinking

How it works

The proxy runs locally on http://localhost:4242 and exposes an OpenAI-compatible API. It reads OAuth tokens from OpenClaw's auth store (~/.openclaw/agents/main/agent/auth-profiles.json), auto-refreshes them, and rotates between accounts on rate limits.

Account rotation behavior:

  • 429 (rate limit) → marks account with cooldown, tries next
  • 403 (banned / no permission) → permanently skips account
  • All accounts exhausted → returns 429 with clear error

Adding more accounts

More accounts = higher combined quota. Each Google account gets its own free tier.

openclaw-antigravity login   # run once per account

Commands

Command Description
openclaw-antigravity login Add a Google account via OAuth
openclaw-antigravity start Start the proxy manually
openclaw-antigravity install Install + enable systemd service
openclaw-antigravity uninstall Remove systemd service
openclaw-antigravity status Show proxy health + accounts

Proxy API

The proxy exposes a standard OpenAI-compatible endpoint:

POST http://localhost:4242/v1/chat/completions
GET  http://localhost:4242/v1/models
GET  http://localhost:4242/health

License

MIT

About

Free Google Antigravity OAuth proxy for OpenClaw — Gemini 3, Claude Sonnet 4.6 with multi-account rotation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors