Started this project a couple weeks ago mostly to scratch my own itch. I have been letting Antigravity run 30 to 60 minute tasks and /swarm sessions on my desktop, and every time I stepped away from the desk I ran into the same two annoyances with the mobile web remote: browser tabs go to sleep in the background and force reloads, and if the agent pauses on a shell command approval, it just sits idle until I remember to check.
So I built a small Go CLI gateway (mgy) paired with native SwiftUI (iOS) and Jetpack Compose (Android) clients, all open-source under MIT. Along the way it grew to 200+ daily active gateways across 20+ countries, and a surprising number of things broke once other people started running it outside my own LAN.
Here is the honest build log of what worked and what bit me:
- Dogfooding Antigravity on a Go + Swift + Kotlin monorepo
The biggest surprise was that long prompt rules barely helped keep three languages compiling cleanly. What actually worked was putting hard headless build gates in AGENTS.md (headless xcodebuild without signing for iOS, ./gradlew compileReleaseKotlin for Android, and a Linux container go test run before pushing so macOS path quirks do not break Linux CI). Once the agent had deterministic compiler feedback on every turn, cross-platform drift dropped sharply.
2) Remote access without uploading anyone's code
The first version leaned on quick tunnels, which worked fine at home and fell apart on strict mobile networks with constant reconnects. I ended up building a lightweight 9-node E2EE relay pool (plus a self-hostable BYO-relay option). The Go daemon runs locally on your machine, keeps your codebase, sessions, and MCP servers local, and encrypts traffic end-to-end before anything leaves your box.
3) Lock-screen push and privacy (a real user catch)
For iOS Live Activities and lock-screen push wakeups when an agent needs command approval, you cannot ship APNs signing keys inside an open-source CLI. I put a tiny stateless Cloudflare Worker in front of APNs that only forwards minimal wakeup notifications without storing prompts or code.
Then a user opened an issue with a great point I had totally missed: if your phone is sitting locked on a desk, a Live Activity still shows your session title and shell command in plain text. So I added a local 3-mode privacy toggle (Show All / Hide on Lock / Hide All) that also collapses the quick Allow/Deny buttons on the lock screen when hidden so you never blind-approve a command you cannot read.
4) App Store Review Guideline 2.1
My first iOS submission got pushed back because reviewers obviously cannot install a desktop CLI and pair a machine during review. Adding a 5-second Offline Demo Mode with simulated streaming turns, approval prompts, 5h/weekly usage bars, and /swarm boards got it approved cleanly and turned out to be the easiest way for new users to inspect the UI before pairing anything.
5) Real-world edge cases from the last few days
Streaming multi-thousand-word replies fought the user whenever they tried to scroll up to read earlier output, so I rewrote auto-scroll across iOS, Android, and Web to yield immediately on upward drag. Complex LaTeX math was mangled by plain Unicode substitution, so I bundled offline KaTeX across all three clients without external CDN calls. And literally today someone asked for iOS 18 support, so I spent the afternoon adding Liquid Glass fallbacks and testing on an old iPhone XS Max.
Attached a few screenshots from v1.3.0 (home screen widget + Dynamic Island + APNs approval banner, lock-screen Live Activity, 20-week local token and cache-hit heatmap, and /teamwork swarm graph).
Happy to answer any questions about the Go bridge, local transcript.jsonl telemetry, E2EE relay setup, or keeping a 3-platform monorepo sane with Antigravity.