Antigravity Claude Proxy
A proxy server that exposes an Anthropic-compatible API backed by Antigravity’s Cloud Code, letting you use Claude and Gemini models with Claude Code CLI and OpenClaw / ClawdBot.How it works
- Receives requests in Anthropic Messages API format
- Uses OAuth tokens from added Google accounts (or Antigravity’s local database)
- Transforms to Google Generative AI format with Cloud Code wrapping
- Sends to Antigravity’s Cloud Code API
- Converts responses back to Anthropic format with full thinking/streaming support
Key features
Multi-model support
Access Claude models (Sonnet, Opus with thinking) and Gemini models (Flash, Pro) through a single API.
Intelligent load balancing
Three strategies for account selection: sticky (cache-optimized), round-robin (load-balanced), and hybrid (smart distribution).
Web management console
Real-time dashboard with Chart.js visualization, account management, quota monitoring, and live log streaming.
Prompt caching support
Organization-scoped caching maintains continuity across conversation turns with automatic session ID derivation.
Model fallback
Automatically switches to alternate models when quota is exhausted, with configurable fallback mappings.
Background process management
Launch as a detached background service that survives terminal closure, with simple CLI controls.
Get started
Quickstart
Get up and running in under 5 minutes with step-by-step instructions.
Installation
Multiple installation methods including npm, npx, and git clone.
Prerequisites
- Node.js 18 or later
- Antigravity installed (for single-account mode) OR Google account(s) for multi-account mode