Google Antigravity (AGY) Engineering in Practice · Series Index
The sister series Google Antigravity (AGY) Field Guide covers official features and fundamentals. Once you run agy CLI across multiple repositories, remote SSH devboxes, and split terminal panes for a few weeks, however, default settings quickly expose concrete engineering friction:
- Re-running OOB login over SSH every time you reconnect to a devbox;
- Accidentally resuming another repository’s conversation when switching projects;
- Launching Chrome and Docker Jira containers unconditionally on every new session just because MCP servers are configured;
- Running 3–4 parallel terminal splits and losing track of which pane is blocked on
ask_questionwaiting for your decision; - Two concurrent sessions controlling Chrome at once, stealing window focus, switching each other’s tabs, or colliding on desktop keyboard/mouse automation;
- Keeping team tool configs decoupled when teammates mix Cursor, Codex, Claude Code, and AGY in the same repo—while sharing a single security guardrail script.
This antigravity-advanced series skips the product manual and documents the exact scripts, architecture trade-offs, and debugging postmortems built to solve all six problems in production.
Series Roadmap
Six focused engineering deep-dives, each backed by sanitized runnable scripts and real postmortems:
flowchart LR
IDX["#0 Engineering Series Index"] --> P1["#1 Launcher, Isolation & Status Bar<br/>agyr / agy-pick / agy-project / title"]
P1 --> P2["#2 Lazy MCP Proxy & Chrome Tab Groups<br/>lazy stdio proxy / MV3 extension"]
P2 --> P3["#3 Project .agent/ Isolation & Dual Hooks<br/>AST guards / K3s read-only DB & Redis"]
P3 --> P4["#4 Backup, Cross-Platform & Bootstrap<br/>sync.py / init.sh / systemd timer"]
P4 --> P5["#5 Parallel Chrome Guard & Orange State<br/>CDP targetId lock / desktop mutex / 🟠"]
P5 --> P6["#6 Fast Stop Gate & 3-Plugin Split<br/>sub-1s gate / 3 plugins / strip_keys"]
Table of Contents (All 6 Parts Published)
| # | Article | Core Engineering Problems Solved | Status |
|---|---|---|---|
| 01 | Upgrading the agy Launch Experience: agyr, Directory Session Isolation & 5-Color Terminal Alerts |
Reusing local Keyring over SSH, blocking cross-repo session leaks, auto-deriving native Projects, systemd-managed remote control, 5-color terminal titles & unfocused desktop notifications, agy-powerline status bar |
✅ Published |
| 02 | Lazy-Loading MCP Proxy & Chrome Session Tab Groups | Eliminating eager Chrome & Jira Docker startup with a lazy Stdio MCP proxy; calling GetConversation + a custom MV3 extension to group Chrome tabs by conversation title |
✅ Published |
| 03 | Project-Level .agent/ Isolation, Dual-Protocol Hooks & Read-Only DB/Redis Plugins |
Decoupling multi-tool configs, static AST/heredoc escape blocking, --protocol agy shared repo hooks, and credential-redacted K3s read-only PostgreSQL/Redis plugins |
✅ Published |
| 04 | Backing Up, Cross-Platform Adapting & One-Click Bootstrapping Local AGY Environments | Trimming 1.4 GB down to a 1.1 MB allowlist backup, __HOME__/__NODE__ & strip_keys multi-host merging, secret-leak guardrails, macOS/Windows porting, pinned Chrome extension ID, and init.sh bootstrap |
✅ Published |
| 05 | Preventing Multi-Session Chrome Collisions: Tab Ownership, Desktop Input Mutex & the 6th Status Color | Avoiding process-local pageId traps via CDP targetId + flock bidirectional proxy hard isolation; lexical desktop-input lease locks; 6th status color 🟠 with a 15s anti-flicker hold window |
✅ Published |
| 06 | From Single-Machine Tweaks to Cross-Host Engineering: Sub-Second Stop Gates, 3-Plugin Split & Per-Host Toggles | <1s incremental Stop quality gate + transcriptPath to eliminate infinite loops and read-only false positives; 3 native plugins after probing MCP namespaces; persistent cloud disable via strip_keys; honest evaluation of agy-usage & read-only Sidecars |
✅ Published |
Prerequisites
If you are brand new to agy CLI, start with the first two guides from the fundamentals series:
- Getting Started with Google Antigravity (AGY): Four Entry Points, Directory Layout & Core Mechanics
agyCLI Daily Workflow & High-Frequency Commands
Changelog: 2026-12-01 added Part #6 (sub-second Stop gate, 3-plugin split, cross-host disable); 2026-11-30 added Part #5 (multi-session Chrome isolation, desktop mutex & orange UI state); 2026-11-28 published series index and Parts #1–#4.









