
AG2R — A mobile remote for Antigravity AI coding sessions (open-source, MIT)
I built AG2R (Antigravity 2.0 Remote) — a lightweight mobile interface that lets you monitor and interact with your Antigravity AI coding sessions from your phone. It mirrors Antigravity's UI in real time via Chrome DevTools Protocol (CDP), so you can watch your agent work, approve permissions, review code changes, and send messages — all without walking back to your desk.
It's fully open source (MIT), self-hosted, and works on Wi-Fi, hotspot, or anywhere in the world via a tunnel of your choice.
GitHub: https://github.com/the-future-company/ag2r
What it does
AG2R connects to your running Antigravity instance via CDP and captures the live DOM — chat messages, code diffs, permission dialogs, sidebar state — then streams it to your phone through WebSockets. It's a bridge, not a reconstruction. What you see on your phone is exactly what's on your desktop, rendered faithfully with all markdown, code blocks, and formatting intact.
Features
📡 Real-time Chat Monitoring
Watch the agent's responses stream in as they happen. Code blocks, markdown formatting, and all rich content render exactly as they appear on desktop.
🔐 Remote Permission Handling
Approve, deny, or skip permission requests right from your phone. Select an option, hit Submit, and the agent continues — no need to walk back to your computer. Push notifications alert you when a permission is waiting.
📝 Code Review
Browse modified files, view diffs, and navigate between Overview and Review tabs — all on mobile. Full syntax-highlighted diffs, just like on desktop.
💬 Send Messages & Voice Input
Type and send messages to the AI from your phone with a native mobile keyboard. Or dictate messages using the built-in voice input (microphone button). You can also attach images — take a photo or pick from your gallery and send it alongside your message.
🗂️ Sidebar & Conversation Navigation
Switch between conversations, browse artifacts, view background tasks, and navigate the full sidebar — all captured directly from Antigravity's UI.
🔔 Push Notifications (PWA)
Get notified on your phone when a session needs attention (permission approvals, agent questions). Tap the notification to jump straight to the pending request. Works on both iOS (via Add to Home Screen, iOS 16.4+) and Android.
🤖 Subagent Support
View subagent conversations with a dedicated back-navigation bar. See which subagents are running, navigate into them, and return to the parent conversation.
💬 Commenting System
Select text on any document in the review panel, leave comments with context (captured as quoted selections + your annotation), and queue them for batch sending. Review, edit, or delete queued comments before sending them all at once.
⏱️ Scheduled Tasks & Running Tasks
View running background tasks with an expandable strip at the bottom. Manage scheduled tasks through a full-screen overlay — create, edit, and interact with AG's scheduler UI from mobile.
⏹️ Stop Generation
Cancel a running generation with a single tap on the stop button.
🔄 Auto-Reconnect
Seamless reconnection when the connection drops — whether you switch apps, lose signal, or lock your phone.
🖥️ Desktop & Tablet Support
Not just for phones — AG2R works great on tablets and even secondary desktop browsers.
🌐 Access from Anywhere
Three connectivity options:
- Local network — same Wi-Fi, no setup needed
- Quick tunnel — use any tunneling software (Cloudflare, ngrok, Tailscale, etc.) for instant remote access
- Custom domain — permanent URL with your own domain for a stable endpoint
🔒 Authentication
Optional password protection with cookie-based auth (stays logged in for 30 days). Magic link support (?key=password) for easy device setup. Required when exposing to the internet.
🔁 Watchdog & Auto-Update
A watchdog script keeps AG2R running 24/7 — detects new commits, pulls updates, and restarts the server automatically. Add it to cron and forget about it.
MIT licensed. https://github.com/the-future-company/ag2r