Install the proxy
Choose your preferred installation method:
The
npm install command automatically builds the required CSS via the prepare hook.Start the proxy server
Launch the proxy as a background process:The server launches as a background process on
http://localhost:8080 by default and survives terminal closure.Available commands
| Command | Description |
|---|---|
acc start | Launch proxy in the background |
acc stop | Shut down the proxy |
acc restart | Restart the proxy |
acc status | Check proxy health and PID |
acc ui | Open the web dashboard |
acc start --log | Run in foreground with visible logs |
Add a Google account
Choose one of the following methods to authorize the proxy:For full CLI account management options, run
Method A: Web dashboard (recommended)
- With the proxy running, open
http://localhost:8080in your browser - Navigate to the Accounts tab and click Add Account
- Complete the Google OAuth authorization in the popup window
Headless/Remote Servers: If running on a server without a browser, the WebUI supports a “Manual Authorization” mode. After clicking “Add Account”, you can copy the OAuth URL, complete authorization on your local machine, and paste the authorization code back.
Method B: CLI (desktop or headless)
If you prefer the terminal or are on a remote server:antigravity-claude-proxy accounts --help.Method C: Automatic (Antigravity users)
If you have the Antigravity app installed and logged in, the proxy will automatically detect your local session. No additional setup is required.Verify it's working
Check that the proxy is running and accounts are connected:You should see your connected accounts with their quota information displayed in a table format.
Health check
Check account status and quota limits
Configure Claude Code CLI
Create or edit the Claude Code settings file:macOS/Linux:
Windows:Restart your terminal for changes to take effect.
~/.claude/settings.jsonWindows:
%USERPROFILE%\.claude\settings.jsonAdd this configuration:Claude models
Load environment variables
Add the proxy settings to your shell profile:Next steps
Available models
Explore the full list of Claude and Gemini models supported by the proxy.
Load balancing
Learn about the three account selection strategies and how to configure them.
Web console
Discover the features of the web management interface.
Advanced configuration
Customize the proxy with environment variables and command-line flags.