Fanch-hui/agy-lab
Developer ToolsPatch a locally obtained Antigravity install into an isolated lab with third-party OpenAI-compatible models.
What It Does
AGY Lab builds an isolated local copy of Antigravity on macOS Apple Silicon and Windows x64. The copy gets its own application identifier (com.local.agy-lab), data directory, credential storage and agy-lab:// login callback, so the original install's configuration and sessions are left untouched. Its main purpose is to let Antigravity's native model selector and Orchestrator use third-party OpenAI-compatible models, either via an API key or the experimental ChatGPT subscription sign-in.
Third-party and official models can be mixed in one session, and a third-party model can act as the Orchestrator's planner or executor. File reads/writes, command execution and tool approvals remain handled by Antigravity. Only requests that use a selected third-party model are forwarded to that provider, and the README warns that conversation content, code snippets and tool results go to the chosen provider.
The repository ships source code and local build scripts only; it does not distribute Antigravity binaries, app.asar, icons, Electron archives or prebuilt apps. You must supply a legitimately obtained Antigravity installer. It is an unofficial project with no affiliation to Google, Antigravity or OpenAI.
Quick Build
Prerequisites: Python 3.11+, Node.js 22.12+ and @electron/asar; macOS also needs Xcode Command Line Tools. You need Antigravity 2.35.1, 2.35.2 or 2.36.0.
- In the repo root, run
npm installto install build tooling. - Download the matching Electron 44.9.1 zip and
SHASUMS256.txtfrom the Electron 44.9.1 release, place them inbuild/source/, and rename the checksums file toelectron-44.9.1-SHASUMS256.txt. - Run the platform command.
macOS Apple Silicon (requires a signed /Applications/Antigravity.app):
python3 scripts/build_app.py --source /Applications/Antigravity.app
The output is dist/Antigravity Lab.app.
Windows x64 (output is a portable dist\Antigravity Lab\ directory):
python scripts\build_app.py --source "$env:LOCALAPPDATA\Programs\antigravity"
Optionally pass --installer C:\path\to\Antigravity-x64.exe to additionally require a valid Google LLC Authenticode signature on the NSIS installer. For the experimental WSL workspace (2.36.0 only), add --wsl-server C:\path\to\language_server-linux-x64, downloaded from the official Linux language server, and set networkingMode=mirrored in .wslconfig.
After launching Lab, sign in with a Google account, open AGY Lab → 第三方模型连接… (or the system tray menu on Windows), enter an API root and key, click 获取模型, pick models, then restart Lab. Added or removed connections only refresh the model list after a restart.
Constraints and Caveats
- Builds check the source app signature and registered hashes against supported versions; newer Antigravity releases are not guaranteed to work, and the README says not to skip validation.
- The macOS output is a locally built, ad-hoc signed copy, not a Google-signed or Apple-notarized release; the README advises confirming the source and build process rather than disabling global security checks.
- The ChatGPT subscription sign-in is experimental; availability depends on account eligibility, authorization and server support, and it uses subscription-shared quota without automatic fallback to API billing.
- The Windows 2.36.0 patch was byte-verified against official files but not accepted on real Windows hardware. WSL workspace support is experimental and has not been verified end-to-end on real Windows + WSL; SSH remote workspaces are not supported.
- API keys and OAuth credentials are encrypted with Electron
safeStorageand stored in Lab's own data directory (Keychain on macOS, DPAPI on Windows). See SECURITY.md. - The optional Chinese UI requires a checkout of the separate antigravity-zh project and runs its code at build time; only integration code is included in this repo. The optional Context & Speed panel uses a patch against agy-context-speed commit
58ea9ddand must be installed manually into Lab's data directory. - The project's own source is MIT licensed; bundled third-party components keep their own terms.
HotRepo's take
AGY Lab appeared on HotRepo's new-project list for JavaScript on 2026-11-28, recording 11 stars in a roughly 1.5-hour growth window and about 115 stars at the end of collection. That is a single short snapshot, not enough to infer a trend. The project is technically narrow and deliberately does not ship binaries: it builds from a user-supplied Antigravity install with version, hash and patch-anchor checks. The Windows build and WSL workspace are explicitly unverified on real hardware, so the practical value depends on running the build and manually accepting the result, not on the star count.
Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.
You might also like
- aishadiaodeqishui/agy-monitorA read-only side-panel plugin for Antigravity that tracks context usage, multi-agent sessions, themes and wallpapers.
- cursor/pluginsA plugin marketplace and spec for giving Cursor's coding agent reusable skills and third-party service integrations.
- wangbingnan136/agy-maxElectron-side enhancement plugin for the Google Antigravity coding client, adding session search, usage dashboards, themes, multi-account switching and SSH project support.
- WhiteBr1ck/agy-powertoolsA plugin that enhances the Antigravity coding client with localization, context and usage telemetry, compact layout, session branching and account switching.
- exteraless/exteralessAn open-source Telegram Android fork with a permission model for third-party plugins.