pi-antigravity-multi-account
Standalone Antigravity / Google Cloud Code provider with multi-account support for Pi Coding Agent
Package details
Install pi-antigravity-multi-account from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-antigravity-multi-account- Package
pi-antigravity-multi-account- Version
0.1.1- Published
- Sep 12, 2026
- Downloads
- 327/mo · 327/wk
- Author
- mrwyck
- License
- MIT
- Types
- extension
- Size
- 127.4 KB
- Dependencies
- 1 dependency · 2 peers
Pi manifest JSON
{
"extensions": [
"./src/index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-antigravity-multi-account
Standalone Antigravity / Google Cloud Code provider extension for Pi coding agent featuring interactive multi-account switching and quota monitoring.
Features
- ⚡ Standalone Antigravity Provider: Zero external provider dependencies, fully self-contained.
- 🤖 Next-Gen Gemini & Claude Models:
gemini-3.8-flashgemini-3.7-flashgemini-3.6-flashgemini-3.5-flashgemini-3.1-proclaude-sonnet-4-6(Thinking)claude-opus-4-6(Thinking)gpt-oss-120b
- 🖥️ Interactive TUI Account Picker: Simply type
/antigravity.accountto select and switch accounts from an interactive menu. - 🔑 Direct Login to Alias: Authenticate new accounts and name them in a single step via
/antigravity.account login <alias>. - 📊 Multi-Account Quota Dashboard: View remaining quotas across all saved accounts simultaneously with
/antigravity.account usage. - 🔄 Automatic Live Switching: Switching an account triggers a live session reload automatically.
- 🔒 Secure Storage: Credentials stored in
~/.pi/agent/antigravity-accounts.jsonwith strict0600file permissions.
Installation
Via npm (recommended)
pi install npm:pi-antigravity-multi-account
To update:
pi update npm:pi-antigravity-multi-account
Via Git
pi install git:andrraa/pi-antigravity
To update:
pi update git:andrraa/pi-antigravity
Usage Guide
All multi-account features are accessible via /antigravity.account:
1. Interactive Account Picker (TUI)
Just run the command with no arguments to pick an account interactively:
/antigravity.account
2. Login Directly to an Alias
Authenticate and save a new profile in one go:
/antigravity.account login work
/antigravity.account login personal
3. List All Saved Accounts
View saved profiles with active session indicators:
/antigravity.account list
Output example:
● [active] work: dev@company.com
○ personal: user@gmail.com
4. Switch Accounts
Quickly switch the active profile:
/antigravity.account use work
5. Multi-Account Quota Dashboard
Check quota and rate limits across all your accounts at once:
/antigravity.account usage
6. Rename or Delete Accounts
# Rename alias
/antigravity.account rename work office
# Delete account
/antigravity.account delete personal
Provider Commands
| Command | Description |
|---|---|
/antigravity.account |
Open interactive account switcher or manage accounts |
/antigravity.usage |
Show active account quota pools (Gemini / Claude+GPT) |
/antigravity.models [all] |
List runtime models + remaining quota fraction |
/antigravity.doctor |
Run sanitized connection and model diagnostics |
Publishing to npm
# Bumping version
npm version patch # or minor / major
# Publish to npm registry
npm publish --access public
Disclaimer & Terms of Use
⚠️ Unofficial Project & Limitation of Liability:
- This project is an independent, community-maintained, and unofficial extension. It is not affiliated with, endorsed by, sponsored by, or associated with Google LLC, Alphabet Inc., or Anthropic.
- Use at your own risk. You are solely responsible for how you use this extension and for complying with the applicable Terms of Service of Google Cloud, Google Accounts, and any related APIs.
- The authors and contributors assume no liability or responsibility for any account bans, suspensions, restrictions, data loss, quota consumption, billing issues, or any other consequences resulting from the use of this software.
License
MIT © andrraa