Rahularya01 /pi-antigravity

★ 311⑂ 91👁 0⑃ 111● 56▤ 24
TypeScriptMITCreated 2026-07-18
下载:v0.16.0v0.16.0 ↓0.16.02026-11-27
+2
日增长
+11
周增长
311
stars
91
forks
0
watchers
111
prs
56
issues
24
releases

README

pi-antigravity







pi-antigravity is a Pi Coding Agent provider that lets Pi talk directly to Google Antigravity / Cloud Code Assist models — Gemini, plus the Claude and GPT-OSS models Antigravity also advertises. Sign in with Google, pick a model, and go. Under the hood it handles OAuth login, native streaming, model routing, and quota diagnostics itself, so it never shells out to an external Antigravity CLI.

Using OpenCode instead of Pi? Install the companion plugin @rahularya01/opencode-antigravity.

Want to equip Pi with MCP, web access, subagents, and todos? Install pi-essentials (currently in beta), an all-in-one companion extension designed for Pi.

 [!WARNING]
 Unofficial integration & Terms of Service risk. This project is not affiliated with or endorsed by Google. Section 6 of the Google Antigravity Additional Terms of Service prohibits using third-party software, tools, or harnesses to access consumer Antigravity OAuth endpoints, and Google has suspended or disabled consumer accounts for doing so (see 154). Use this extension at your own risk only with accounts and services you are authorized to access, review the source before granting OAuth permissions, and consider the official agy CLI or a licensed Gemini Enterprise setup if account compliance is required.

 Contents

- Requirements
- Install
- Quick start
- Authentication and credential safety
- Commands
- Tools
- Models and routing
- Configuration
- Troubleshooting
- Development

 Requirements

- Node 22.19.0 or later
- Pi Coding Agent and Pi AI version 0.80.0 or later
- A Google account that can use the relevant Cloud Code Assist / Antigravity services
- A browser to complete the Google sign-in. Same-machine is best (the browser hits the local callback automatically); on a remote/headless machine, complete sign-in anywhere and paste the resulting callback URL back into Pi (see Troubleshooting).

 Install

Install from npm:

bash
pi install npm:pi-antigravity


Or install the latest repository version:

bash
pi install git:github.com/Rahularya01/pi-antigravity


On Oh My Pi, install the same package with omp plugin install npm:pi-antigravity.

Restart Pi (or run /reload) after installation. To update the npm package later, use pi update npm:pi-antigravity.

 Quick start

Using a consumer Google account? Google prohibits third-party access to consumer Antigravity under its Additional Terms of Service. Use the official agy CLI for consumer Antigravity.

1. Start Pi and run /login antigravity.
2. Complete Google sign-in in your browser.
3. Select a model, for example:

   text
   /model antigravity/gemini-3.8-flash
   

4. Start working. If a request fails, run /antigravity.doctor for sanitized diagnostics.

To link another account without losing the existing one, run /login antigravity
again and complete Google sign-in with the other account. Manage linked accounts with:

text
/antigravity.accounts
/antigravity.accounts switch 
/antigravity.accounts remove 


On a hard quota wa

Top issues

Discussions

Latest release

v0.16.0 v0.16.0 2026-11-27
Added

- ANTIGRAVITY_PROXY routes OAuth exchanges and provider API calls through a dedicated proxy. Search-source requests keep their existing routing.

 Fixed

- Removed the redundant “(Antigravity)” suffix from static, discovered, cached, and native image model names. Model IDs are unchanged.
- Google Terms of Service suspensions now stop stream fallback and show appeal guidance.

 Documentation

- Documented video pass-through for Pi extensions and the frame-extraction workaround. Native video attachments are not included; live Gemini video acceptance remains unverified.

Full changes: 168.

Snapshot: 2026-11-27T22:26:53Z · Data license Apache-2.0 · JSON