ClaudeMap

Antiglaude

A local protocol gateway translating Anthropic Messages and OpenAI Chat Completions requests into Google Cloud Code / Gemini execution formats, so the Claude Code CLI runs on your Google Antigravity subscription — with the README's own warning that Google is banning such accounts (MIT)

SDKs & Toolinggatewaygeminigoogle antigravityproxyclaude code

antiglaude is a local protocol gateway and inference server (PyPI package antiglaude, 1.0.1, needs Python 3.10+): it translates Anthropic Messages and OpenAI Chat Completions requests into Google Cloud Code / Gemini execution formats, letting the Claude Code CLI reach the models behind Google Antigravity (a Google AI subscription — the README's example shows the AI Pro tier) via 127.0.0.1:8080 — the README's model identifiers include claude-sonnet-4-6, claude-opus-4-6-thinking, gemini-3-flash and gemini-2.5-pro. The bridge handles four classes of mismatch: extracting refresh credentials from local application state and renewing the 60-minute access tokens in the background; bidirectional normalization of the JSON Schema keywords Google protobuf rejects with HTTP 400 (propertyNames/anyOf/const); scrubbing third-party billing headers and self-identification markers; and SSE keep-alive heartbeats with pooled-connection retry for long reasoning turns. antiglaude setup-claude writes a modelPicker manifest plus env into ~/.claude/settings.json so /model switches models mid-session; antiglaude tui is a dashboard with a daily quota meter (1,500 requests/day on the AI Pro tier in the README's example) and a request journal; antiglaude daemon install registers a persistent macOS launchd service. 140 stars as of writing (2026-11-08).

What it does

  • Speaks both Anthropic Messages and OpenAI Chat Completions locally, translating to Google Cloud Code / Gemini backends on 127.0.0.1:8080
  • antiglaude setup-claude writes a modelPicker manifest into ~/.claude/settings.json — switch models mid-session with /model (claude-sonnet-4-6, claude-opus-4-6-thinking, gemini-3-flash, gemini-2.5-pro per the README)
  • Handles the protocol impedance: refresh-credential extraction with background token renewal, JSON-schema normalization for Google protobuf, identity-header scrubbing, SSE keep-alive
  • Terminal dashboard (antiglaude tui): daily quota meter, account identity, model routing matrix and a latency journal
  • Optional macOS launchd daemon (com.antiglaude.bridge.plist) keeps the gateway running with KeepAlive

When to use it

For developers with a Google Antigravity / Google AI subscription who want to spend that quota inside Claude Code, and for tooling that needs a local OpenAI-compatible endpoint.

Getting started

# Python 3.10+; from PyPI:
pip install antiglaude        # or: uv tool install antiglaude / uvx antiglaude start

# start the gateway, then wire up Claude Code:
antiglaude start              # serves http://127.0.0.1:8080
antiglaude setup-claude       # writes the modelPicker manifest + env into ~/.claude/settings.json

# then launch claude and switch models with /model
# optional: antiglaude tui (dashboard) / antiglaude daemon install (macOS launchd)

Things to know

The README's own warning first: Google has been actively detecting, suspending and banning accounts using automated gateways and unofficial protocol proxies — do not connect your primary or workplace Google account; the authors say to use a dedicated burner account and that you assume full responsibility for any account action, quota limit or termination. The bridge also neutralizes identity markers and returns structured safeguard results so Claude Code's auto-mode classifier runs locally (CLAUDE_CODE_AUTO_MODE_SERVER=0) instead of reaching Anthropic's server-side check. Claude and Gemini model ids here are served through Google's Cloud Code infrastructure, so behaviour differs from first-party Anthropic serving. MIT. 140 stars as of writing (2026-11-08).

Repository

sksarvesh007/antiglaude

Charted

Related on the map

  • The open Agent Skills standard — SKILL.md folders any agent can load, governed by the Agentic AI Foundation since 2026-10-22.

    • official
    • spec
    • agent-skills
    • standard
  • Harness Bridge

    SDK / Tool

    A local launcher that points Claude Code and seven other coding harnesses at any OpenAI-, Anthropic- or Responses-compatible endpoint — without editing a single config file.

    • launcher
    • local-models
    • cli
    • menu-bar
  • Claude for Siri

    SDK / Tool

    Answers macOS Spotlight and Siri prompts with your signed-in Claude Code account — an experimental macOS 27 model-delegation provider.

    • macos
    • siri
    • spotlight
    • model-delegation