Google Antigravity OAuth extension for pi. Authenticate with your Google account and use Gemini 3 models through Antigravity's endpoints.
Caution
Using this extension violates Google's Terms of Service. Accounts may be suspended or banned. This is an unofficial tool not endorsed by Google.
pi install npm:@cortexkit/pi-antigravity-auth/login google-antigravity
A browser URL is shown. Complete the Google OAuth flow and paste the resulting callback URL (or authorization code) back into the prompt.
The extension registers the Antigravity model catalog under the
google-antigravity provider, including:
antigravity-gemini-3.6-flashantigravity-gemini-3.5-flashantigravity-gemini-3.1-proantigravity-claude-sonnet-4-6-thinkingantigravity-claude-opus-4-6-thinkingantigravity-gpt-oss-120b-medium
The image-generation model is currently OpenCode-only because Pi's provider event protocol does not expose image-output stream events.
Select a model with /model or pi -m google-antigravity/antigravity-gemini-3.6-flash.
| Environment variable | Description |
|---|---|
PI_AGENT_DIR |
Override the pi agent directory (default ~/.pi/agent). |
PI_ANTIGRAVITY_AUTH_FILE |
Override the account storage file path. |
This package shares its transport, OAuth, fingerprint, and request-transform
logic with the OpenCode plugin via
@cortexkit/antigravity-auth-core. The current pi release targets a
single authenticated account; multi-account rotation and quota gating are
provided by the OpenCode plugin and are planned for pi in a later release.
MIT