Install
Install with PiG
pig install npm:@raquezha/antigravityInstall with Pi
pi install npm:@raquezha/antigravityPackages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.
Pi manifest JSON
The pi field of package.json.
{
"extensions": [
"extensions"
]
}README
Written by the package's publisher, shown as published in version 0.1.8 (README.md). PiG does not review it.
Antigravity (antigravity extension)
Independent native Pi provider for Google Antigravity-compatible model access.
The extension folder is antigravity, and the provider registered inside Pi is antigravity.
Usage
# From this checkout
pi --extension ./packages/antigravity
# Or via nothing
pi --antigravity
Inside Pi:
/login antigravity
/model antigravity/gemini-3.8-flash
/antigravity.doctor
The extension uses a native streamSimple transport. It does not shell out to the official agy CLI.
NPM
npm install -g @raquezha/antigravity
Provider
- Provider id:
antigravity - Public model ids:
gemini-3.8-flashgemini-3.5-flashgemini-3.1-progemini-4-argongemini-4-hydrogenclaude-sonnet-5-5claude-opus-5-5gpt-oss-120b
- Runtime routing examples:
gemini-3.8-flash->gemini-3.8-flash-tiered- Flash 3.8 thinking is server-managed (the single
highselector maps to automatic thinking), not separate low/medium/high runtime IDs. gemini-3.5-flash-> routes internally by reasoning level (off/low/medium/high) to Antigravity runtime IDs such asgemini-3.5-flash-low,gemini-3.5-flash-medium, orgemini-3.5-flash-highgemini-3.1-pro-> routes internally togemini-3.1-pro-loworgemini-pro-agentgemini-4-argon-> routes internally by reasoning level togemini-4-argon-low,gemini-4-argon-medium, orgemini-4-argon-high(falls back to unifiedgemini-4-argon)gemini-4-hydrogen->gemini-4-hydrogen-sonar(thinking is server-managed)claude-sonnet-5-5-> routes internally by reasoning level toclaude-sonnet-5-5-low,claude-sonnet-5-5-medium, orclaude-sonnet-5-5-highclaude-opus-5-5-> routes internally by reasoning level toclaude-opus-5-5-low,claude-opus-5-5-medium, orclaude-opus-5-5-highgpt-oss-120b-> routes togpt-oss-120b-medium
- Default endpoint:
https://daily-cloudcode-pa.googleapis.com(fallbacks:https://cloudcode-pa.googleapis.com, thenhttps://daily-cloudcode-pa.sandbox.googleapis.com)
Catalog map keys are runtime IDs; nested MODEL_PLACEHOLDER_* values are not. Discovery uses exact keys first, then matching display names for renamed routes. Catalog presence does not guarantee quota or entitlement. Note that Cloud Code Assist returns 429 RESOURCE_EXHAUSTED for out-of-date IDE client metadata and specific agent harness strings (such as framework preambles or doc listings); the extension automatically sends compatible IDE headers and strips these framework sections from systemInstruction. The extension halts immediately on 429 rather than falling back to sandbox endpoints.
After updating this checkout, run /reload in Pi to load the extension changes.
Diagnostics
/antigravity.doctor prints sanitized routing information from a disk-backed diagnostics snapshot (~/.pi/agent/antigravity-diagnostics.json), including unlabeled catalog IDs, with no stale match from a previous request. It must not print OAuth tokens, refresh tokens, authorization headers, prompts, or credential files.
Claude uses the backend's legacy tool-schema field; literal const constraints are converted to single-value enums. Request-format errors retain the backend's rejected-field message for diagnosis.
Run offline regression checks with npm test -w @raquezha/antigravity.
Optional overrides
Prefer the ANTIGRAVITY_* names for environment alignment. The older
NOAGY_* names remain accepted as backwards-compatible aliases.
ANTIGRAVITY_BASE_URL— override the Cloud Code/Antigravity endpoint for experiments.ANTIGRAVITY_PROJECT_ID— fallback project id if project discovery does not return one.ANTIGRAVITY_CALLBACK_HOST— OAuth callback bind host, default127.0.0.1.ANTIGRAVITY_USER_AGENT— override user agent for endpoint compatibility experiments.ANTIGRAVITY_RUNTIME_MODEL— force a runtime model id for endpoint experiments.ANTIGRAVITY_CLIENT_ID/ANTIGRAVITY_CLIENT_SECRET— advanced OAuth app overrides; normally not needed.