Gemini Antigravity Bridge

Communauté Outils de développement

Bidirectional bridge between Gemini Spark and the Antigravity IDE: coding subagent dispatch, shared memory, local file operations and Spark app orchestration.

Installation

Les étapes d'installation sont dans la documentation ci-dessous. Documentation

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. ⚡ Gemini Antigravity Bridge
  2. 🌐 What Is This?
  3. 🏆 Why This Bridge?
  4. 🚀 Quick Start
  5. 🛠️ Available Tools (24)
  6. 🔄 Spark Connected Apps
  7. 🏗️ Architecture
  8. 🚢 Deployment
  9. 📋 Scheduled Monitoring
  10. 🤝 Contributing
  11. 📄 License
  12. 📚 Research Paper & Academic Citation
  13. 👨‍💻 Author

⚡ Gemini Antigravity Bridge

The World's First Bidirectional MCP Bridge Between Google Gemini Spark & DeepMind Antigravity

Connect Google's cloud AI (Gemini Spark powered by Gemini 3.8 / 3.7) to your local agentic IDE (Antigravity) with 24 powerful MCP tools, hardened by OpenAgentShield Zero-Trust runtime sandboxing and automatic credential redaction.

Quick Start · Architecture · Tools · Connected Apps · Deploy


🌐 What Is This?

Gemini Antigravity Bridge is an MCP (Model Context Protocol) server that creates a persistent, bidirectional communication channel between:

  • ☁️ Google Gemini Spark (cloud-based AI assistant with Google Workspace access, powered by Gemini 3.8 / 3.7)
  • 💻 Google DeepMind Antigravity (local agentic IDE with full system access)

Optimized for Gemini 3.8's next-generation agentic reasoning, this enables a fully autonomous loop where Spark can dispatch coding tasks to your local machine, and Antigravity can request cloud intelligence back from Spark — all through a standardized, secure protocol.

┌──────────────────────────────────────────────────────────────────┐
│                    GEMINI SPARK (Google Cloud)                    │
│  📬 Gmail │ 📁 Drive │ 📅 Calendar │ 🎨 Canva │ 🎥 YouTube     │
└─────────────────────────┬────────────────────────────────────────┘
                          │ MCP over HTTPS
                          ▼
┌──────────────────────────────────────────────────────────────────┐
│              ⚡ GEMINI ANTIGRAVITY BRIDGE (MCP Server)            │
│                                                                  │
│  🔧 System Commands    📂 File Operations    🤖 Agent Dispatch   │
│  🧠 Shared Memory      🔄 Project Sync       📊 Status Reports  │
│                                                                  │
│  Tunnel: ngrok / Cloudflare (permanent HTTPS domain)             │
└─────────────────────────┬────────────────────────────────────────┘
                          │ Local MCP + Message Injection
                          ▼
┌──────────────────────────────────────────────────────────────────┐
│             ANTIGRAVITY IDE (Local Machine)                       │
│  🖥️ Terminal │ 📝 Code Editor │ 🌳 Git │ 🧪 Tests │ 🚀 Deploy  │
└──────────────────────────────────────────────────────────────────┘

🏆 Why This Bridge?

FeatureThis ProjectOther MCP Servers
Bidirectional Cloud ↔ Local✅❌
Autonomous Agent Task Dispatch✅❌
Cross-Agent Shared Memory✅❌
Antigravity Conversation Injection✅❌
Spark Connected Apps Orchestration✅❌
Google Workspace Integration✅ (via Spark)Partial
Local File System Access✅Some
System Command Execution✅Some

🚀 Quick Start

Prerequisites
  • Python 3.10+
  • ngrok account (free tier) with a reserved domain
  • Google Gemini Spark (Advanced/Ultra subscription)
  • Google DeepMind Antigravity IDE
Installation
# Clone the repository
git clone https://github.com/nandhakumar-murugan/gemini-antigravity-bridge.git
cd gemini-antigravity-bridge

# Install dependencies or install package directly
pip install -r requirements.txt
# OR install as a CLI tool:
pip install -e .

# Configure environment
cp .env.example .env
# Edit .env with your NGROK_AUTHTOKEN and NGROK_DOMAIN

# Launch the bridge (via script or CLI)
gemini-bridge
# or: python run_with_tunnel.py
Connect to Gemini Spark
  1. Open Gemini Spark → Settings → Connected Apps
  2. Click "Add a custom app"
  3. Enter your public MCP URL: https://your-domain.ngrok-free.dev/mcp
  4. Spark will discover all 23 tools automatically!

🛠️ Available Tools (24)

🔧 System Execution
ToolDescription
run_system_commandExecute shell/PowerShell command with AST risk analysis and captured output
run_batch_commandsRun multiple commands sequentially with error handling and policy validation
📂 File Operations
ToolDescription
read_fileRead file contents with sensitive credential protection
write_fileCreate or overwrite files with automatic secret redaction
edit_fileSurgically edit specific lines in existing files
append_fileAppend content to the end of a file
batch_write_filesCreate multiple files in a single operation with policy enforcement
create_full_projectScaffold an entire project directory structure
list_directoryList directory contents with metadata
🤖 Agent Orchestration
ToolDescription
run_agent_taskLaunch an autonomous Antigravity coding subagent
get_agent_statusCheck status and output of a running agent task
terminate_taskKill a running agent task
🛡️ Zero-Trust Security & Telemetry (OpenAgentShield)
ToolDescription
get_security_audit_logRetrieves OpenAgentShield Zero-Trust audit events, blocked attacks, and system risk scores (DOI: 10.5281/zenodo.22259022)
🧠 Shared Memory & Sync
ToolDescription
get_bridge_historyRetrieve full cross-client operation history with redacted credentials
save_session_noteWrite a structured note to shared memory (tagged)
get_session_notesRead session notes by tag or date range
sync_project_to_geminiSync project metadata to Spark's knowledge base
git_quick_statusQuick Git status check for any repository
🌐 Spark Connected Apps
ToolDescription
request_spark_connected_app_actionDispatch tasks to Spark's connected apps (@Canva, @YouTube, @Gmail, etc.)
get_spark_connected_apps_catalogList all available connected apps and capabilities
🔗 Antigravity Deep Integration
ToolDescription
list_antigravity_conversationsList all active Antigravity IDE conversations
inject_messageInject a structured message directly into an Antigravity conversation
send_spark_to_antigravity_taskDispatch a full task brief from Spark to Antigravity
get_antigravity_agent_reportGet the latest execution report for Spark to review

🔄 Spark Connected Apps

Through the bridge, Antigravity can orchestrate Spark's connected Google & third-party apps:

AppCapabilities
🎨 @CanvaPoster design, infographics, slide decks
📁 @Google DriveCloud file search, folder management
📝 @Google DocsDocument creation and collaboration
📌 @Google KeepQuick notes, flashcards, checklists
🎥 @YouTubeVideo search, transcript extraction
📬 @GmailEmail reading, URL extraction
📓 @Gemini NotebookDeep research and synthesis
📦 @DropboxCloud storage sync via MCP

🏗️ Architecture

graph TB
    subgraph Cloud["☁️ Google Cloud"]
        Spark["Gemini Spark<br/>Consumer AI Assistant"]
        Gmail["📬 Gmail"]
        Drive["📁 Google Drive"]
        Calendar["📅 Google Calendar"]
        Canva["🎨 Canva"]
    end

    subgraph Bridge["⚡ Antigravity Bridge"]
        MCP["MCP Server<br/>(FastMCP + Starlette)"]
        Tunnel["HTTPS Tunnel<br/>(ngrok / Cloudflare)"]
        Memory["🧠 Shared Memory<br/>(bridge_history.json)"]
        Dashboard["📊 Web Dashboard"]
    end

    subgraph Local["💻 Local Machine"]
        AGY["Antigravity IDE"]
        Terminal["🖥️ Terminal"]
        Git["🌳 Git Repos"]
        Files["📂 File System"]
    end

    Spark -->|"MCP over HTTPS"| Tunnel
    Tunnel --> MCP
    MCP -->|"inject_message"| AGY
    MCP -->|"run_system_command"| Terminal
    MCP -->|"git_quick_status"| Git
    MCP -->|"read/write_file"| Files
    MCP --> Memory
    AGY -->|"save_session_note"| Memory
    Memory -->|"get_agent_report"| Spark
    Spark --> Gmail
    Spark --> Drive
    Spark --> Calendar
    Spark --> Canva

🚢 Deployment

Auto-Start on Windows Boot

The bridge includes a silent startup script that launches automatically when you log in:

📁 %APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\
└── GeminiAntigravityBridge.vbs  (silent background launcher)
Cloud Deployment (24/7 Uptime)
# Using Docker
docker build -t gemini-antigravity-bridge .
docker run -d -p 8000:8000 --env-file .env gemini-antigravity-bridge

# Using Render.com / Google Cloud Run
# Push to GitHub → Connect repo → Deploy automatically

📋 Scheduled Monitoring

The bridge supports multi-tier automated monitoring via Gemini Spark schedules:

TierCadencePurpose
🔴 Instant TriggerReal-time (on email arrival)Zero-delay alerts for college & NPTEL emails
🟡 Hourly SweepEvery 60 minutesBroad monitoring across all platforms
🟢 Morning BriefingDaily @ 8:00 AMStrategic daily plan with exam schedules

🤝 Contributing

Contributions are welcome! Please read the Apache 2.0 License before submitting PRs.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feat/amazing-feature)
  3. Commit your changes (git commit -m 'feat: add amazing feature')
  4. Push to the branch (git push origin feat/amazing-feature)
  5. Open a Pull Request

📄 License

This project is licensed under the Apache License 2.0 — see the LICENSE file for details.


📚 Research Paper & Academic Citation

This framework implements the formal architecture introduced in the published research paper:

AgentShield: A Zero-Trust Runtime Guardrail Architecture for Autonomous Multi-Agent AI Systems with Bidirectional Context Synchronization
Nandhakumar Murugan
Department of Computer Science and Engineering (Cybersecurity), KGiSL Institute of Technology (KiTE), Autonomous
Permanent DOI: 10.5281/zenodo.22259022 | Open Access: Zenodo CERN Repository

If you reference or build upon this architecture in academic or enterprise research, please cite:

@article{murugan2026agentshield,
  title={AgentShield: A Zero-Trust Runtime Guardrail Architecture for Autonomous Multi-Agent AI Systems with Bidirectional Context Synchronization},
  author={Murugan, Nandhakumar},
  journal={Zenodo},
  year={2026},
  doi={10.5281/zenodo.22259022},
  url={https://doi.org/10.5281/zenodo.22259022}
}

👨‍💻 Author

Nandhakumar Murugan
B.E. Computer Science & Cyber Security | KGiSL Institute of Technology
Google Student Ambassador (GID: 36) | Open Source Contributor


Built with ❤️ using Google Gemini, DeepMind Antigravity & Model Context Protocol

Questions fréquentes

Qu'est-ce que Gemini Antigravity Bridge ?

Bidirectional bridge between Gemini Spark and the Antigravity IDE: coding subagent dispatch, shared memory, local file operations and Spark app orchestration.

Comment installer Gemini Antigravity Bridge ?

Suivez les étapes d'installation de sa documentation, affichée sur cette page et dans son dépôt.

Gemini Antigravity Bridge est-il open source ?

Oui. Son code est sur GitHub sous licence Apache-2.0.

Qui maintient Gemini Antigravity Bridge ?

Il est publié par nandhakumar-murugan. AI.tn le référence sans le maintenir ni le recommander.

Issu des listes communautaires awesome-mcp-servers et du dépôt GitHub du projet. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.