npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@zeldrisho/pi-antigravity

v0.2.1

Published

Pi provider extension for Google Antigravity models through Google OAuth

Readme

@zeldrisho/pi-antigravity

Use Google Antigravity models from Pi with your Google AI Pro or Ultra subscription. The extension signs in with your Google account; no Gemini API key is required.

Requirements

  • An active Google AI Pro or Ultra plan with Antigravity access.
  • A web browser on the machine running Pi to finish sign-in.

The agy CLI is optional. The extension is unofficial; Google may change or restrict access.

Install

pi install npm:@zeldrisho/pi-antigravity

# Project:
pi install -l npm:@zeldrisho/pi-antigravity

Restart Pi after installing. Use pi config to enable or disable the extension, and pi list to see installed packages.

Configure sign-in

Run /login and choose Antigravity (Google account); no other setup is required.

The extension bundles the public installed-application OAuth client that the official CLI ships, so sign-in and token refresh work without installing agy. It never reads the CLI's account login or token store. If you have agy installed and Google rotates to a client pair already recognized by the extension, it prefers that matching pair from the installed binary; an unknown rotation requires an extension update. Otherwise the bundled client is used.

This unofficial integration identifies requests as the Antigravity client, advertises a bundled CLI version, and rephrases a few phrases in Pi's default system prompt for provider compatibility. Google may restrict this use or your account; check its terms and decide whether to accept that risk. Review the Google consent screen and grant access only if you trust the extension.

Sign in

  1. Run /login.
  2. Choose Antigravity (Google account) and press Enter.
  3. Open the printed URL, approve access, and paste the callback URL back into Pi if the browser does not return to it automatically.

Pi stores the resulting tokens in its credential store and refreshes them before they expire. Run /logout and choose the provider to remove them. If you previously signed in using a different OAuth client, log out and sign in again.

Usage

  1. Run /model.
  2. Type antigravity to filter the list.
  3. Select a model tagged [antigravity].

The model list is account-specific and is refreshed from Antigravity; only account-advertised Gemini routes are supported, and the extension intentionally keeps no stale static model list. Pi maps the advertised thinking levels onto Antigravity runtime models and reasoning settings. For matching Gemini models, the extension also fetches Pi's Google and Vertex catalogs to constrain thinking levels and limits; Antigravity still determines availability and runtime routes. Catalog metadata is cached for four hours and refreshed when Pi refreshes models.

Optional custom token budgets

For a single runtime that advertises a token budget, the extension automatically uses Pi's configured budgets. For example, add thinkingBudgets to Pi's settings.json:

{
  "thinkingBudgets": { "minimal": 1024, "low": 2048, "medium": 8192, "high": 16384 }
}

For a level without a configured budget, the advertised budget is used. Overrides require live catalog metadata confirming a token budget; requests fail safely if that metadata is unavailable or the runtime uses named levels instead. The requested budget is capped to leave 1,024 output tokens for the answer. These are requests, not guarantees: Antigravity may reject, limit, or ignore a budget, and different budgets can affect quota usage. Pi's thinkingBudgets setting also affects other token-budget providers.

If account discovery fails, the extension keeps the last catalog it saw. On a first run or offline start, no static models are advertised until account discovery succeeds.

Subscription limits

Antigravity enforces account plan and rate limits across its Gemini models. When a limit is reached, the extension reports the provider's message; switch models or wait for the reset shown in the error.

Antigravity may also change which models your plan can use. If a model is rejected with a permission error, select another model.

Uninstall

pi remove npm:@zeldrisho/pi-antigravity

# Project:
pi remove -l npm:@zeldrisho/pi-antigravity

License

MIT