antigravity-claude-proxy
CLAUDE.md4k starsChanged 10 months agoMITView on GitHub
Node.js proxy that exposes an Anthropic-compatible API backed by Google's Cloud Code service, letting Claude Code CLI use Gemini (and Claude) models via Google accounts with multi-account quota management. Request flow: Claude Code CLI → Express (server.js) → CloudCode client → Antigravity Cloud Code API CSS: Source is public/css/src/input.css (Tailwind + @apply). Compiled output is public/css/style.css — don't edit the compiled file. Quota thresholds are stored as fractions (0–0.99) but displayed as percentages in the UI. Three-tier resolution: per-model >…
- Installs packages
Trending
Quiet since May.thin dataabout the whole repository
Who's talking about badrisnarayanan/antigravity-claude-proxy
- lbjlaq/Antigravity-Manager“This version of Antigravity is no longer supported. Please update to receive the latest features! 需要更新api版本”GitHub · Jan 30, 2026 · 19 reactions
- earendil-works/pi“fix: update Antigravity User-Agent version to 1.15.8”GitHub · Jan 29, 2026 · 1 reactions
- Draculabo/AntigravityManager“Support for Claude Code CLI (Antigravity Subscription)”GitHub · Jan 24, 2026 · 1 reactions
- strikersam/autonomous-ai-agency“quick-note:https://github.com/badrisnarayanan/antigravity-claude-proxy”GitHub · May 29, 2026
- roman-ryzenadvanced/Codex-Launcher-Any-AI-Provider“🔧 Fix Antigravity Proxy Adapter: Bulletproof Integration”GitHub · May 27, 2026
The biggest 5 of 9 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 9
Talked about on GitHub (9 times).
On GitHub · 9
- Jan 30, 2026This version of Antigravity is no longer supported. Please update to receive the latest features! 需要更新api版本 — lbjlaq/Antigravity-Manager19 reactions · 31 comments
- Jan 29, 2026fix: update Antigravity User-Agent version to 1.15.8 — earendil-works/pi1 reaction · 1 comment
- Jan 24, 2026Support for Claude Code CLI (Antigravity Subscription) — Draculabo/AntigravityManager1 reaction · 1 comment
- May 29, 2026quick-note:https://github.com/badrisnarayanan/antigravity-claude-proxy — strikersam/autonomous-ai-agency0 reactions · 2 comments
- May 27, 2026🔧 Fix Antigravity Proxy Adapter: Bulletproof Integration — roman-ryzenadvanced/Codex-Launcher-Any-AI-Provider0 reactions
4 more on GitHub
- Jan 30, 2026This version of Antigravity is no longer supported. Please update to receive the latest features 需要更新api版本 — yetone/alma-plugins0 reactions · 2 comments
- Jan 29, 2026Update antigravity User-Agent from 1.11.5 to 1.15.8 — earendil-works/pi0 reactions · 3 comments
- Jan 29, 2026fix: Antigravity User-Agent version outdated (1.11.5 → 1.15.8) — earendil-works/pi0 reactions · 1 comment
- Jan 19, 2026[Bug] Sub-agent execution fails with "No assistant message found" in Antigravity (agy) profile — kaitranntt/ccs0 reactions · 1 comment
The file
Files
CLAUDE.md
Node.js proxy that exposes an Anthropic-compatible API backed by Google's Cloud Code service, letting Claude Code CLI use Gemini (and Claude) models via Google accounts with multi-account quota management.
Request flow: Claude Code CLI → Express (server.js) → CloudCode client → Antigravity Cloud Code API
Commands
npm install # installs deps and builds CSS (prepare hook)
npm start # port 8080
npm run dev # watch server files
npm run dev:full # watch CSS + server files
npm start -- --strategy=sticky # cache-optimized (default is hybrid)
npm start -- --strategy=round-robin # load-balanced
npm start -- --fallback # fall back to alternate model on quota exhaustion
npm start -- --dev-mode # enables debug logging + dev tools (--debug is a legacy alias)
npm run build:css # compile Tailwind once
npm run watch:css # watch CSS
npm run accounts:add # add Google account via OAuth
npm run accounts:add -- --no-browser # headless/manual code input
npm run accounts:list
npm run accounts:verify
npm test # requires server running on port 8080
node tests/run-all.cjs <filter> # run matching tests only
node tests/test-strategies.cjs # strategy unit tests (no server needed)Non-obvious things
CSS: Source is public/css/src/input.css (Tailwind + @apply). Compiled output is public/css/style.css — don't edit the compiled file.
Quota thresholds are stored as fractions (0–0.99) but displayed as percentages in the UI. Three-tier resolution: per-model > per-account > global.
cache_control stripping: Claude Code CLI sends cache_control on content blocks; Cloud Code API rejects them. Stripped at the start of convertAnthropicToGoogle() before any other processing.
Cross-model thinking signatures: Claude and Gemini signatures are incompatible. When switching models mid-conversation, mismatched signatures are dropped. Gemini targets: strict (drop unknown). Claude targets: lenient (let Claude validate).
CLAUDE_CONFIG_PATH env var: Set this when running as a systemd service — os.homedir() returns the service user's home, not the real user's.
WEBUI_PASSWORD env var: Enables password protection on the web UI.
Native module rebuild: On Node.js version mismatch, better-sqlite3 is auto-rebuilt via npm rebuild. If reload still fails after rebuild, a server restart is required.
Dev mode sub-toggles are client-side only (localStorage in settings-store.js): screenshot/redact mode, debug logging, log export, health inspector, placeholder data. No backend involvement.
/api/strategy/health returns 403 unless dev mode is on.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

