@cortexkit/pi-antigravity-auth

Google Antigravity OAuth extension for pi - access Gemini 3 and Claude 4.6 using Google credentials

Packages

Package details

extension

Install @cortexkit/pi-antigravity-auth from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@cortexkit/pi-antigravity-auth
Package
@cortexkit/pi-antigravity-auth
Version
1.0.1
Published
Jun 14, 2026
Downloads
260/mo · 212/wk
Author
ismeth
License
MIT
Types
extension
Size
245.2 KB
Dependencies
1 dependency · 3 peers
Pi manifest JSON
{
  "extensions": [
    "./dist/index.js"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

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-auth

Login

/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.

Models

The extension registers the Antigravity model catalog under the google-antigravity provider, including:

  • antigravity-gemini-3.5-flash
  • antigravity-gemini-3.1-pro
  • antigravity-claude-sonnet-4-6-thinking
  • antigravity-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