Use Antigravity models in Claude Code with this open-source proxy
U

Use Antigravity models in Claude Code with this open-source proxy

Use Antigravity models in Claude Code with this open-source proxy

3,804 stars
N/A forks
N/A contributors

README

Project documentation from GitHub

Run Antigravity Models in Claude Code with This Open-Source Proxy

If you've been experimenting with AI coding assistants, you've probably noticed something frustrating: different tools have different capabilities. Claude Code might be great at one type of task, but you really wish you could use that specialized model from Antigravity for certain coding problems. What if you didn't have to choose?

That's exactly what the Antigravity Claude Proxy solves. This clever open-source project acts as a bridge, letting you access Antigravity's specialized models directly within your Claude Code workflow. No more switching tabs or copying prompts back and forth.

What It Does

The Antigravity Claude Proxy is a lightweight, self-hosted server that sits between your Claude Code interface and the Antigravity API. It intercepts requests meant for Claude's standard models and can redirect specific calls to Antigravity's models instead. Think of it as a middleware translator that speaks both APIs' languages.

You configure which types of coding tasks or prompts should be handled by which models. The proxy handles authentication, request formatting, and response translation transparently.

Why It's Cool

The implementation is surprisingly elegant. Instead of building a whole new interface, the proxy maintains compatibility with your existing Claude Code setup. You're not learning a new tool—you're enhancing the one you already use.

What makes this particularly useful is model specialization. Maybe you use Antigravity's models for data science tasks because they handle pandas/numpy code exceptionally well, but prefer Claude for general web development. With this proxy, you can set up routing rules so data-heavy prompts automatically go to Antigravity, while everything else stays with Claude.

The project is also completely transparent about how it works. Since it's open source, you can inspect exactly what data is being sent where, modify the routing logic, or even extend it to support other AI APIs. It's infrastructure, not magic.

How to Try It

Getting started takes about 10 minutes if you're comfortable with basic command line work:

  1. Clone the repo:

    git clone https://github.com/badrisnarayanan/antigravity-claude-proxy
    cd antigravity-claude-proxy
    
  2. Set up your API keys: Copy the example environment file and add your keys from both services:

    cp .env.example .env
    # Edit .env with your favorite text editor
    
  3. Install and run:

    npm install
    npm start
    

Did you like this issue?

Join our weekly newsletter

Love discovering amazing projects?

Help us continue bringing you the best open-source discoveries every week.

Back to Projects
Last updated: Mar 18, 2026