Install, Pause & Uninstall
AGY Studio attaches to Google Antigravity Desktop 2.0 through a lightweight local daemon and managed runtime plugins without modifying a single byte of the official client.
Requirements
- Operating System: macOS (Apple Silicon / Intel) or Windows 10/11 (x64 / ARM64). Linux is not supported yet.
- Runtime: Node.js
>= 22(node -v).- macOS:
brew install node(ornvm/fnm) - Windows:
winget install OpenJS.NodeJS.LTS
- macOS:
- Host Client: Google Antigravity Desktop 2.0 (verified live on
2.36.x).
Method 1: Agent-Guided Install (Recommended)
Paste this prompt directly into Antigravity or Claude Code:
Read https://raw.githubusercontent.com/LiWithDream/agy-studio/main/INSTALL.md and follow it to install or update AGY Studio for me.The agent follows the sequential fallback protocol in INSTALL.md (Standard Stable Release → Prebuilt Release Archive → Terminal Handoff), never self-terminates an active Antigravity session, and runs doctor to verify attachment.
Method 2: Manual Terminal Install
Installs or updates on the default stable release channel (checks out the latest GitHub Release tag):
# Latest stable Release (add --plan to preview without modifying disk)
curl -fsSL https://raw.githubusercontent.com/LiWithDream/agy-studio/main/install.sh | bash# Latest stable Release (add -Plan when running local .\install.ps1)
irm https://raw.githubusercontent.com/LiWithDream/agy-studio/main/install.ps1 | iexPreview Before Touching Disk (--plan)
Run node studio/cli.mjs plan (or pass --plan / -Plan to the installer) to print every managed path and every untouched host file with zero disk writes.
Method 3: Prebuilt Release Archive (No git or npm Required)
Behind a strict corporate proxy or on a machine without git? Download the prebuilt archive from GitHub Releases:
- macOS:
agy-studio-v*-macos.tar.gz→ extract and runbash ./install.sh - Windows:
agy-studio-v*-windows.zip→ extract and runpowershell -ExecutionPolicy Bypass -File .\install.ps1
Both user/custom.js and studio/prebuilt/studio-entry.js are already bundled inside the archive, so the installer skips npm automatically.
Useful Installer Flags
| Flag (macOS / Windows) | Effect |
|---|---|
--plan / -Plan | Dry-run manifest listing managed paths and untouched host files |
--with-rules / -WithRules | Opt in to the optional maga-fast-io rules plugin (never modifies ~/.gemini/AGENTS.md) |
--no-auto-relaunch / -NoAutoRelaunch | Persistently disable automatic cold-boot relaunch; attach only when Antigravity is launched with CDP enabled (e.g., via the Windows Start Menu shortcut). Re-enable anytime with --auto-relaunch / -AutoRelaunch. |
-NoShortcut (Windows) | Skip creating the Antigravity (AGY Studio) Start Menu launcher |
--channel edge / -Channel edge | Track main instead of the latest stable Release tag |
Verify Installation (doctor)
Run doctor from the install directory (~/.local/share/agy-studio or ~/Developer/agy-studio on macOS; $env:LOCALAPPDATA\agy-studio on Windows):
cd ~/.local/share/agy-studio && node studio/cli.mjs doctorConfirm:
ok: truedaemonPointsToStudio: truestudioBundle.jsInjected: true
If cdpStatus reports "pending_restart", quit and reopen Antigravity Desktop once. After initial attachment, subsequent UI updates hot-reload cleanly.
Updating, Pausing & Uninstalling
In-App Self-Update
Open the AGY Studio Settings drawer inside Antigravity to check for updates and apply them in one click with automatic rollback if verification fails.
Pause & Resume Without Uninstalling (studio:off / studio:on)
Need vanilla Antigravity temporarily for troubleshooting or after a major host update? Pause UI injection without losing preferences, usage history, or governance policies:
# Pause all runtime DOM/CSS injection & background Auto-Compact dispatch
npm run studio:off
# Resume cleanly
npm run studio:onThe running daemon detects the pause state within ~2.5 seconds and uninjects Studio UI cleanly.
Clean Uninstall
Remove the runtime layer, managed plugins, and background daemon while keeping your conversations and personal configs intact:
cd ~/.local/share/agy-studio && bash ./uninstall.shSet-Location "$env:LOCALAPPDATA\agy-studio"; .\uninstall.ps1What AGY Studio Touches — and Never Touches
- Manages only:
~/.gemini/antigravity/anti-claude/(runtime bundle, prefs, local governance policies & snapshots)- User-level daemon (
~/Library/LaunchAgents/com.antigravity.anti-claude.daemon.pliston macOS; headless Scheduled TaskAGYStudioDaemonon Windows) - 4 default managed plugins under
~/.gemini/config/plugins/(maga-opus-gate,maga-auto-compact,maga-git-workflow,maga-anchors), plus optionalmaga-fast-io
- Never modifies:
- Official binaries (
/Applications/Antigravity.app,Antigravity.exe,app.asar—0 bytesmodified) ~/.gemini/config/config.json(read-only)~/.gemini/antigravity/antigravity_state.pbtxt(read-only)~/.gemini/AGENTS.md(untouched on fresh installs)- Conversation SQLite databases (read-only local telemetry)
- Official binaries (