@cortexkit/pi-antigravity-auth
v1.0.1
Published
Google Antigravity OAuth extension for pi - access Gemini 3 and Claude 4.6 using Google credentials
Maintainers
Readme
@cortexkit/pi-antigravity-auth
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.
Install
pi package add @cortexkit/pi-antigravity-authLogin
/login google-antigravityA browser URL is shown. Complete the Google OAuth flow and paste the resulting callback URL (or authorization code) back into the prompt.
Models
The extension registers the Antigravity model catalog under the
google-antigravity provider, including:
antigravity-gemini-3.5-flashantigravity-gemini-3.1-proantigravity-claude-sonnet-4-6-thinkingantigravity-claude-opus-4-6-thinking
Select a model with /model or pi -m google-antigravity/antigravity-gemini-3.5-flash.
Configuration
| Environment variable | Description |
| --- | --- |
| PI_AGENT_DIR | Override the pi agent directory (default ~/.pi/agent). |
| PI_ANTIGRAVITY_AUTH_FILE | Override the account storage file path. |
Notes
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.
License
MIT
