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:
- Run the auth command — it displays a URL
- Open the URL in your local browser
- Complete Google login
- Your browser redirects to
localhost:51121(which fails to load) - Copy the full URL from your browser's address bar
- 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:
| Model | Description |
|---|---|
gemini-3-flash | Fast, highly available |
gemini-2.5-flash-lite | Lightweight |
claude-opus-4-6-thinking | Powerful, 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
| Issue | Fix |
|---|---|
| Empty response | Model may be restricted. Try gemini-3-flash |
| 429 Rate Limit | Quota exhausted — check reset time in error message |
| 404 Not Found | Use a model ID from suprclaw auth models |
| Token expired | Re-run suprclaw auth login --provider antigravity |
| Gemini not enabled | Enable in Google Cloud Console |