AGCP

Extremely Lightweight Antigravity-Claude-Proxy

A blazing-fast Rust proxy that translates Anthropic's Claude API to Google's Cloud Code API. Use Claude and Gemini models through a single Anthropic-compatible endpoint.

Features

Everything you need to proxy Claude and Gemini models

API Compatible

Works with Claude Code, OpenCode, Cursor, Cline, and any Anthropic API client. OpenAI-compatible endpoint included.

Multiple Models

Access Claude Opus, Sonnet, and Gemini Flash, Pro through a single endpoint. Short aliases like opus, flash, pro.

Multi-Account

Rotate between multiple Google accounts with smart load balancing. Sticky, round-robin, or hybrid strategies.

Response Caching

LRU cache for non-streaming responses. Configurable TTL, bypass with headers, reduces quota usage.

Interactive TUI

Terminal UI with real-time charts, log viewer, config editor, and quota donut charts. Run agcp tui.

Background Daemon

Runs quietly in the background. Single ~5MB binary, minimal dependencies, written in Rust with async I/O.

Interactive TUI

Monitor, configure, and manage everything from your terminal

$ agcp tui

Overview

Real-time request rate chart, response times, active accounts, and model usage breakdown.

Tab switch views q quit
AGCP Overview — real-time request monitoring

Quota

Per-model quota usage with donut charts and reset timers. Separate views for Claude and Gemini.

scroll mouse wheel ? help
AGCP Quota — per-model usage with donut charts

About

Version info, animated rainbow logo, and clickable GitHub link.

AGCP About page

Overview

Live stats

Logs

Syntax-highlighted

Accounts

Manage & toggle

Config

Edit & restart

Quota

Donut charts

About

Version info

Quick Start

Up and running in under a minute

terminal

$ git clone https://github.com/skyline69/agcp

$ cd agcp && cargo build --release

# Authenticate with Google

$ ./target/release/agcp login

# Start the proxy

$ ./target/release/agcp

# Configure your AI tool to use

http://127.0.0.1:8080

setup

$ agcp setup

# Select your AI tool from the interactive menu

# Supports: Claude Code, OpenCode, Cursor, Cline, Codex

Supported Models

Claude and Gemini through one endpoint

Claude

  • claude-opus-4-6-thinkingopus
  • claude-opus-4-5-thinking
  • claude-sonnet-4-5sonnet
  • claude-sonnet-4-5-thinkingsonnet-thinking

Gemini

  • gemini-2.5-flashflash
  • gemini-2.5-propro
  • gemini-3-flash3-flash
  • gemini-3-pro-high3-pro
  • gemini-2.5-flash-lite
  • gemini-2.5-flash-thinking
  • gemini-3-pro-image
  • gemini-3-pro-low