Claude Code Via Antigravity banner
SovranAMR SovranAMR

Claude Code Via Antigravity

Development community

Description

Use Claude Code CLI (Opus 4.6, Sonnet 4.5) for free via your Google Antigravity/Code Assist subscription. No Anthropic API key needed. Works on Linux, macOS, and Windows.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

Claude Code Free

**Use [Claude Code](https://docs.anthropic.com/en/docs/claude-code) CLI for free** through Google's Antigravity (Cloud Code Assist) subscription.

A lightweight local proxy that bridges Claude Code CLI ↔ Google Cloud Code Assist API, giving you access to **Claude Opus 4.6** and **Claude Sonnet 4.5** — no Anthropic API key needed.


How It Works

┌──────────────┐     ┌─────────────────┐     ┌──────────────────────────┐
│  Claude Code  │────▶│  Local Proxy     │────▶│  Google Cloud Code Assist│
│  CLI          │◀────│  (localhost:51200)│◀────│  (Antigravity API)       │
└──────────────┘     └─────────────────┘     └──────────────────────────┘
   Anthropic API         Translates             Has Claude models via
   format                formats                Google subscription

The proxy intercepts Claude Code CLI requests, translates them from Anthropic's format to Google's Cloud Code Assist API, and returns the responses in the format Claude Code expects. This works because Google's Antigravity/Code Assist subscription includes access to Claude models.

Prerequisites

Quick Start

1. Clone the repo

git clone https://github.com/SovranAMR/claude-code-via-antigravity.git
cd claude-code-via-antigravity

2. Authenticate with Google

node setup.mjs login

This opens your browser for Google OAuth. Sign in with the account that has the Antigravity/AI Premium subscription.

3. Launch Claude Code

**Linux / macOS:**

./start.sh

**Windows (PowerShell):**

.\start.ps1

**Windows (double-click):** Just double-click `start.bat`

That's it! Claude Code CLI opens with fu