Skip to main content
Glama

Antigravity Universal AI Bridge

Use the Web AI model you already pay for, directly inside Antigravity IDE.

License: GPL v3 CI Release PRs welcome

Gemini · Claude · ChatGPT · DeepSeek

Download · Setup guide (PDF) · Report a bug · Contribute


What is it?

The bridge connects Antigravity IDE to your already-open, logged-in Web AI tab (Gemini, Claude, ChatGPT or DeepSeek).

The IDE's local model is forced to act only as a context gatherer and file executor. All the heavy thinking (coding, debugging, architecture) is delegated to the Web AI model you prefer, and the answer is applied to your workspace files automatically. No copy-paste between browser and editor.

Same tools. Same subscription. A much stronger brain.

Related MCP server: agy-mcp

How it works

flowchart LR
    A["1 · Antigravity IDE<br/>Agent chat"] --> B["2 · MCP server<br/>bridge.mjs<br/>ws://localhost:4545"]
    B --> C["3 · Chrome extension<br/>content.js"]
    C --> D["4 · Web AI tab<br/>your logged-in session"]
    D -. "5 · changes applied to your files" .-> A

Features

Universal support

Gemini, Claude, ChatGPT and DeepSeek. Switch the active "Architect" with one click.

Delta tracking

Full context is sent once per chat. Follow-ups only send what changed (saves tokens).

Context discovery

Finds files like STATE.md, ARCHITECTURE.md, ROADMAP.md, REQUIREMENTS.md, .cursorrules.

Human-in-the-loop

Runs inside your real browser session over a local WebSocket. No API keys, no scraping accounts.

Auto rule injection

Adds the required system rule to ~/.gemini/GEMINI.md so the IDE model acts as executor, not author.

Requirements

  • Node.js 18+

  • Google Chrome (or any Chromium-based browser)

  • Antigravity IDE

Install (3 steps)

1. Get the package. Download gemini-bridge.zip from the latest release and extract it to a permanent folder, e.g. D:/gemini-bridge. The release already includes node_modules, so no terminal is needed.

git clone https://github.com/Eyad-Eladawy/antigravity-universal-ai-bridge.git
cd antigravity-universal-ai-bridge
npm install

2. Load the Chrome extension.

  1. Open chrome://extensions

  2. Enable Developer mode (top-right)

  3. Click Load unpacked and select the extension folder

  4. Make sure the extension is enabled

3. Link the MCP server in Antigravity. Open Manage MCPs → View raw config (mcp_config.json) and add (update the path to where you extracted it):

{
  "mcpServers": {
    "gemini-web-pro": {
      "command": "node",
      "args": ["D:/gemini-bridge/extension/bridge.mjs"]
    }
  }
}

Save, then click Refresh in Manage MCP servers.

Daily use

  1. Open a supported site in Chrome: gemini.google.com, claude.ai, chatgpt.com or chat.deepseek.com.

  2. Click the floating status button at the top of the page once, until it turns green.

  3. Type your task in the Antigravity Agent chat and press Proceed.

Button

Meaning

⚪ White

Standby. Click to dedicate this tab to Antigravity.

🟢 Green

Connected. This tab is the active Architect.

🔵 Blue

Processing an Antigravity task.

🟡 Yellow

Connecting. The IDE hasn't started the MCP server yet.

Need a fresh full-context bundle? Just open a New Chat in the browser tab.

Troubleshooting

  • EADDRINUSE: address already in use :::4545: another bridge instance is running. End the Node.js processes in Task Manager, then click Refresh in Manage MCPs.

  • Button stays yellow: check that the path in mcp_config.json points to the exact location of bridge.mjs, then click Refresh.

Full walkthrough with screenshots: docs/Setup-Guide.pdf.

Privacy & security

  • Everything runs locally. The extension talks to ws://localhost:4545; nothing is sent to a Trignod server.

  • On start, bridge.mjs writes a rule block to ~/.gemini/GEMINI.md (only if it's not already there). Review extension/bridge.mjs if you want to see exactly what it adds.

  • The extension only runs on the four AI sites listed in manifest.json.

  • Found a vulnerability? See SECURITY.md.

Contributing

Contributions are welcome. All changes go through a pull request and need the maintainer's approval before merging. Please read CONTRIBUTING.md first.

License

GPL-3.0 © 2026 Eyad / Trignod.ai

You are free to use, study, modify and share this project. If you distribute a modified version, it must stay open source under the same GPL-3.0 license.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    Enables AI harnesses to delegate code analysis, modification, testing, and long-running tasks to the locally installed Antigravity CLI via stdio MCP, with job status tracking and conversation continuity.
    3
    MIT
  • A
    license
    B
    quality
    B
    maintenance
    Enables a local Codex chat to ask a second opinion, review staged, unstaged, or revision-based diffs, and delegate coding tasks to the Antigravity CLI running in isolated or disposable workspaces. Supports starting, polling, retrieving, and cancelling tasks with returned answers, diffs, changed-file lists, exit codes, and time/output limits, while never auto-applying returned patches.
    8
    1
    MIT