Skip to main content

Antigravity (Google Cloud Code Assist)

Antigravity is Google's Cloud Code Assist provider — it gives access to Claude and Gemini models via Google's infrastructure, often at no cost with generous quotas.

Prerequisites

  • A Google account
  • Google Cloud Code Assist enabled (via "Gemini for Google Cloud" onboarding)

Authentication

suprclaw auth login --provider antigravity

This opens a browser for Google OAuth. On completion, credentials are saved to ~/.suprclaw/auth.json.

Headless / VPS Authentication

If running on a server without a browser:

  1. Run the auth command — it displays a URL
  2. Open the URL in your local browser
  3. Complete Google login
  4. Your browser redirects to localhost:51121 (which fails to load)
  5. Copy the full URL from your browser's address bar
  6. Paste it back into the terminal where SuprClaw is waiting

Configuration

{
"model_list": [
{
"model_name": "gemini-flash",
"model": "antigravity/gemini-3-flash",
"auth_method": "oauth"
}
],
"agents": {
"defaults": { "model_name": "gemini-flash" }
}
}

Available Models

suprclaw auth models

Reliable models based on testing:

ModelDescription
gemini-3-flashFast, highly available
gemini-2.5-flash-liteLightweight
claude-opus-4-6-thinkingPowerful, includes reasoning

Use the short ID (e.g. gemini-3-flash), not the full path.

Copying Credentials to a Server

If authenticated locally, copy credentials to the server:

scp ~/.suprclaw/auth.json user@your-server:~/.suprclaw/

Troubleshooting

IssueFix
Empty responseModel may be restricted. Try gemini-3-flash
429 Rate LimitQuota exhausted — check reset time in error message
404 Not FoundUse a model ID from suprclaw auth models
Token expiredRe-run suprclaw auth login --provider antigravity
Gemini not enabledEnable in Google Cloud Console