Antigravity Remote Bridge
Send prompts to your Antigravity IDE agent from your phone. Walk away from your desk, type a task on your mobile browser, and watch your PC execute it — zero configuration required.
How It Works
📱 Your Phone ☁️ Cloud Relay 💻 Your PC
(Browser) ──────────► (Cloudflare Worker) ◄────────── (This Extension)
Type a prompt Routes it securely Executes the task
- This extension connects your IDE to a cloud relay automatically on startup.
- You open a web page on your phone, enter your pairing token, and type a prompt.
- The prompt is routed through the cloud relay to your IDE, where the Antigravity agent executes it.
No tunnels, no port forwarding, no terminal commands — it just works.
Getting Started
Step 1: Install the Extension
Install Antigravity Remote Bridge from Open VSX or the VS Code Marketplace (or install the .vsix manually).
Once installed, the extension activates automatically. Look at the bottom-right of your status bar:
📡 Remote: Online
That means you're connected and ready.
Step 2: Get Your Pairing Link
- Click the
📡 Remote: Online status bar item.
- Select "Copy Direct Mobile Link" from the menu.
- This copies a URL like:
https://antigravity-remote-bridge.navneet24.workers.dev?token=ag-xxxxxxxxxxxx
Step 3: Open the Link on Your Phone
- Send the copied link to your phone (paste it in WhatsApp, Notes, email — whatever is easiest).
- Open it in your phone's browser (Chrome, Safari, etc.).
- You'll see the Antigravity Remote Console with a green 🟢 PC Online badge.
- Your pairing token is already filled in and saved automatically.
Step 4: Send a Prompt!
- Type any task into the text box, for example:
- "Add error handling to the login function"
- "Write unit tests for the UserService class"
- "Refactor the database module to use async/await"
- Tap ⚡ Send to Antigravity IDE.
- Your PC's Antigravity agent immediately starts working on it!
💡 Tip: On your phone, tap Share → Add to Home Screen to save the console as an app icon for instant 1-tap access.
Extension Commands
Open the command palette (Ctrl+Shift+P) and type "Antigravity Remote" to see all available commands:
| Command |
Description |
| Manage Connection |
Opens the management menu (also available by clicking the status bar) |
| Copy Pairing Token |
Copies your secret pairing token to clipboard |
| Copy Direct Mobile Link |
Copies a 1-click URL with your token pre-filled |
| Open Web Console |
Opens the remote console in your desktop browser |
| Reconnect |
Forces a reconnection to the cloud relay |
Click the 📡 Remote: Online item in your status bar to access:
- 📋 Copy Pairing Token — Copy your unique token
- 🔗 Copy Direct Mobile Link — Copy the full URL for your phone
- 🌐 Open Web Console in Browser — Open the console on your PC
- 🔄 Reconnect Now — Re-establish the connection
- 🔑 Regenerate Pairing Token — Create a new token (invalidates the old one)
Extension Settings
| Setting |
Default |
Description |
antigravityRemote.workerUrl |
https://antigravity-remote-bridge.navneet24.workers.dev |
URL of the Cloudflare Worker relay. No need to change this unless you self-host. |
antigravityRemote.customToken |
(empty) |
Set a custom fixed pairing token. Leave empty to use the auto-generated secure token. |
Troubleshooting
Status bar shows "Remote: Offline" or "Connecting..."
- Check your internet connection — the extension needs to reach the Cloudflare Worker.
- Click the status bar item → select Reconnect Now.
- Verify the Worker URL — open Settings (
Ctrl+,), search for antigravityRemote.workerUrl, and make sure it starts with https:// and has no typos.
Phone shows "PC Offline"
- Make sure your IDE is open and running on your PC.
- Check the status bar — it should say
📡 Remote: Online. If it says Offline or Connecting, fix that first (see above).
- Verify the token matches — the token on your phone must match the one in your IDE. Click the status bar → Copy Direct Mobile Link and re-open it on your phone.
"Failed to submit prompt command"
- The Antigravity agent panel might not be fully initialized yet.
- Open the Antigravity agent panel in your IDE and make sure it's active, then try sending the prompt again.
I changed my token and now my phone can't connect
- If you regenerated your token, your old link/token won't work anymore.
- Click the status bar → Copy Direct Mobile Link → open the new link on your phone.
FAQ
Q: Is my data secure?
A: Yes. Your pairing token is a cryptographically random 128-bit key (32 hex characters). The connection uses encrypted WebSockets (WSS) over HTTPS. Nobody can access your IDE session without your exact token.
Q: Do I need to install anything on my phone?
A: No. The remote console is a web page — just open the link in any mobile browser.
Q: Does this work without Antigravity IDE?
A: This extension is designed to work with the Antigravity IDE agent. It dispatches prompts using the antigravity.agent.submitPrompt command, which requires the Antigravity agent to be installed and active.
Q: Can I use this on multiple devices?
A: Yes. Open the same link on any number of devices — they all share the same session and can see each other's prompts and responses in real time.
Q: Does my PC need to stay on?
A: Yes. Your IDE must be running on your PC for prompts to be executed. If your PC goes to sleep or the IDE is closed, the phone will show "PC Offline".
Q: Can I self-host the Cloudflare Worker?
A: Yes. The worker source code is included in the antigravity-remote-gateway folder. Deploy it to your own Cloudflare account with npx wrangler deploy, then update the antigravityRemote.workerUrl setting to point to your worker.
License
MIT License © 2026 Navneet