Need to go to the bathroom? But Opus 4.5 might be done with that big task soon? Want to eat lunch? But there's more tokens left before they reset right after lunch?
A real-time mobile interface for monitoring and interacting with Antigravity chat sessions.
It's a simple system, but pretty hacky.
The mobile monitor operates through three main components:
The server connects to Antigravity via Chrome DevTools Protocol (CDP) and periodically captures snapshots of the chat interface:
- Captures all CSS styles to preserve formatting
- Captures the HTML of the chat interface
- Buttons and everything that you wont be able to click
- Polls every 3 seconds and only updates when content changes
Antigravity must be run in chrome with remote debugging enabled. Messages typed in the mobile interface are injected directly into Antigravity:
- Locates the Antigravity chat input editor
- Inserts the message text and triggers submission
- Handles the input safely without interfering with ongoing operations
A lightweight web server provides the mobile UI:
- WebSocket connection for real-time updates
- Auto-refresh when new content appears
- Clean, responsive interface optimized for mobile devices
- Send messages directly from your phone
Start Antigravity with Chrome DevTools Protocol enabled:
antigravity --remote-debugging-port=9000Important: You must open a project/chat window in Antigravity (not just stay on the Launchpad). The server looks for
workbench.htmlwhich is the main editor window, notworkbench-jetski-agent.html(the Launchpad).
npm install# Default port 3000
node server.js
# Or specify a custom port (useful if 3000 is in use)
PORT=3001 node server.jsOpen your browser in the bathroom and navigate to:
http://<your-local-ip>:3001
This is over local network, so it will not work if you are on a different network, unless you use a VPN or something.
The interface will automatically connect and display your Antigravity conversation in almost real-time.
- Make sure Antigravity is running with
--remote-debugging-port=9000 - Make sure you have a project open (not just the Launchpad window)
- Check that port 9000 is responding:
curl http://127.0.0.1:9000/json/list
Use a different port: PORT=3001 node server.js
- The server looks for
workbench.html(main window), notworkbench-jetski-agent.html(Launchpad) - Verify targets:
curl -s http://127.0.0.1:9000/json/list | jq '.[].title' - You should see something like "furniture-assembly-manager - Antigravity" (your project name)