DEV Community

42Nekit123
42Nekit123

Posted on

Wanted a way to prompt Google Antigravity from my phone, so I built an open-source bridge

Got tired of having to sit in front of my monitor just to check if Antigravity finished a long task or to send a quick follow-up prompt while I'm in another room or away from my desk.

Most remote setups I looked at were doing screen capture or fake mouse clicking, which is super clunky and takes over your actual cursor.

Since Antigravity runs on Electron, it exposes a local DevTools port (DevToolsActivePort). So I ended up throwing together a small Python bridge that connects to it via Chrome DevTools Protocol (CDP) and routes messages through a Telegram bot interface.

It runs completely in the background, doesn't mess with your mouse, and lets you:

  • Switch between workspace projects
  • Create new chats
  • Send prompts directly from your phone
  • Receive responses and notifications

The whole thing is open source under MIT:

GitHub Repo: https://github.com/42Nekit123/antigravity-telegram-bridge

The CDP automation layer is decoupled from the bot logic, so it should be pretty straightforward to adapt this for Discord or other Electron-based AI tools like Cursor, Claude Code, or Codex if anyone wants to fork it.

Let me know what you think or if there's anything obvious I should add to it!

Top comments (0)