explaingit

badrisnarayanan/antigravity-claude-proxy

Analysis updated 2026-05-18

3,647JavaScriptAudience · developerComplexity · 3/5LicenseSetup · moderate

TLDR

A local proxy server that lets Claude Code and similar tools connect through Antigravity Cloud Code instead of Anthropic's API directly.

Mindmap

mindmap
  root((claude proxy))
    What it does
      Translates API formats
      Bridges Claude Code to Antigravity
      Supports Claude and Gemini
    Tech stack
      Node.js
      JavaScript
    Use cases
      Route CLI requests
      Manage Google accounts
      Track quota usage
    Audience
      Developers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Route Claude Code CLI requests through Antigravity instead of Anthropic's API

USE CASE 2

Manage multiple linked Google accounts through a web dashboard

USE CASE 3

Track quota usage for accounts connected through the proxy

USE CASE 4

Configure both Claude and Gemini models for use with coding tools

What is it built with?

JavaScriptNode.js

How does it compare?

badrisnarayanan/antigravity-claude-proxyprettier/eslint-plugin-prettierwonderunit/storyboarder
Stars3,6473,6453,649
LanguageJavaScriptJavaScriptJavaScript
Setup difficultymoderateeasyeasy
Complexity3/52/51/5
Audiencedeveloperdevelopergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Using it risks Google Terms of Service account bans, a throwaway account is recommended.

Free to use, modify, and distribute under the MIT license.

In plain English

Antigravity Claude Proxy is a local server that sits between AI coding tools and a third-party service called Antigravity Cloud Code. The main problem it solves is that tools like Claude Code CLI expect to talk to Anthropic's API, but some users want to route those calls through Antigravity, which provides access to Claude and Gemini models backed by Google Cloud. This proxy translates the request format from Anthropic's API format to Google's format, sends it to Antigravity, and converts the response back before returning it to the calling tool. The project comes with an important warning: Google has been issuing Terms of Service bans on accounts connected to this proxy. The README explicitly states that using it may violate Google's Terms of Service and that accounts have been suspended or shadow-banned as a result. It recommends using a throwaway account rather than your main Google account. Setup involves running the proxy as a background process on your local machine (port 8080 by default), then linking a Google account through either a web dashboard, a command-line flow, or automatically if you have the Antigravity desktop app installed. Once running, you point Claude Code CLI at the local proxy address instead of Anthropic's servers by adjusting a settings file or a few environment variables. The proxy supports multiple Google accounts and includes a web dashboard for account management, quota tracking, and Claude Code configuration. The proxy handles both Claude models and Gemini models. The README provides ready-to-use configuration blocks for both, including which model names to use in each slot (the primary model, the faster sub-agent model, and so on). It supports streaming responses and the extended thinking mode that some Claude models expose. Installation is through npm, either by running it directly with npx or installing it globally. The project is released under the MIT license.

Copy-paste prompts

Prompt 1
Explain how this proxy translates requests between Anthropic's API format and Antigravity's format.
Prompt 2
Show me how to run this proxy locally and link a Google account to it.
Prompt 3
How do I configure Claude Code CLI to point at this local proxy instead of Anthropic's servers?
Prompt 4
What are the risks of using this proxy with my main Google account?

Frequently asked questions

What is antigravity-claude-proxy?

A local proxy server that lets Claude Code and similar tools connect through Antigravity Cloud Code instead of Anthropic's API directly.

What language is antigravity-claude-proxy written in?

Mainly JavaScript. The stack also includes JavaScript, Node.js.

What license does antigravity-claude-proxy use?

Free to use, modify, and distribute under the MIT license.

How hard is antigravity-claude-proxy to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is antigravity-claude-proxy for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.