Micosoft_office_google_antigravity_plugin
An Autonomous AI Copilot for Microsoft Office connected with Antigravity
The Problematic: Standard office AI add-ins function merely as isolated sidebar chat windows—they generate markdown text, leaving the user to copy, paste, re-format tables, fix broken numbering, and assemble documents manually. They cannot perceive active document outlines, rewrite paragraphs in place without phantom duplications, or construct publication-grade tables natively.
The Inspiration: This project was directly inspired by Claude's deep desktop and workspace integration into office tools, where models don't just chat—they execute autonomous tools, parse document geometries, and apply changes directly onto the active workspace.
🎨 Non-Commercial Hobby Scope This software is developed strictly as a personal hobby and engineering exploration under the PolyForm Noncommercial License 1.0.0. It is free for everyone to use, study, and modify, but strictly NOT for commercial uses or enterprise resale.
Production Evidence in Microsoft Word
Real captures of the agent autonomously assembling an executive technical dossier ("Progetto di Automazione e Monitoraggio Esecutivo").
1. Document Drafting & Publication Tables
Perceives active paragraphs and creates Tabella 1 with 3 columns, 6 records, automated column widths, and shaded headers with zero phantom duplicate tables.
2. Business & Financial Modeling
Generates secondary budget tracking matrices (Tabella 2) comparing planned allocations with actual costs and harmonized borders.
3. Autonomous Process Flowcharts
Renders visual milestone roadmaps, KPI cards, and process phases (Figura 1) directly onto the Word document canvas.
4. Conversational Memory & Taskpane
Interactive session drawer, conversation switching, real-time SSE token delivery, and immediate abort via the Esc key.
Engineering Capabilities & Reality Matrix
Explicit transparency on current production features versus in-progress modules tracked in GitHub issues.
Fully functional and battle-tested. Win32 COM automation is live in desktop Word and bundled in the installer.
Active core development. Foundational COM endpoints exist; full parity is tracked in open GitHub issues.
Visual taskpane UI elements designed to define user interaction patterns. Dynamic backend sandboxes in progress.
Outside current architectural scope (e.g. macOS native COM). Pure Office.js fallbacks welcome via PRs.
| Module / Capability | Maturity Status | Implementation Details & Reality | GitHub Issue / Tracker |
|---|---|---|---|
| Microsoft Word Win32 COM Automation | ● Production | In-place rewrites, native table insertion, direct formatting, styles, outline inspection. | Verified Production |
| Multimodal Prompt Image Attachments | ● Production | Clipboard paste (Ctrl+V), photo picker, drag & drop, and local caching. |
Verified Production |
| Gemini Imagen 3 AI Image Generation | ● Production | Activated via user Gemini API key in Settings; generates and embeds figures with captions. | Verified Production |
| Live Streaming & Task Interruption | ● Production | Real-time SSE token delivery with ⏹ Stop button and Esc abort. |
Verified Production |
| Word Ribbon Home Tab Integration | ● Production | Permanent ribbon button across all installed Office languages (en-US, fr-FR, it-IT, de-DE, es-ES). |
Verified Production |
| One-Click Turnkey Windows Setup | ● Production | Single 51 MB installer (GeminiAntigravityOffice_Setup.exe) with auto-certs and silent startup. |
Verified Production |
| Excel 3-Statement Financial Modeling | ● In Progress | Basic table output and cell formatting work; dynamic multi-sheet formula linkage is in progress. | Issue #6: Excel Dynamic Modeling |
| PowerPoint Executive Storylining | ● In Progress | Slide creation and text boxes work; custom vector shape coordinate layout is in progress. | Issue #7: PowerPoint Vector Layout |
/skills Dynamic Skill Execution |
● UI Blueprint | The 6 pills (/check-doc, /copy-edit, etc.) are UI preview pills; dynamic server sandboxes are planned. |
Roadmap Issue #8: Dynamic Skill Engine |
/plugins & Custom Connectors Menu |
● UI Blueprint | The flyout menu exists in the UI, but external third-party API connectors (GitHub, Jira, Notion) are unconnected stubs. | Roadmap Issue #9: External Connectors |
search_web Internet Research Tool |
● UI Blueprint | The agent is strictly offline/document-bound; there is no live web search API integration connected. | Roadmap Issue #10: Live Search Integration |
| macOS / Office Online (Web) Support | ● Not Supported | Architecture relies strictly on native Windows Win32 COM and local Windows daemon IPC. | RFC Issue #11: macOS & Web Support |
| Cross-Window Multi-Document Sync | ● Not Supported | Agent targets active foreground document; multi-doc switching across separate windows is in progress. | Backlog Issue #12: Multi-Document Sync |
Turnkey Windows Installation
Run the installer once and launch Microsoft Word. No terminal, Python, or Node.js required.
Run Setup Wizard
Follow the wizard. It automatically configures the daemon, generates root TLS certificates, and sideloads the Office manifest.
Open Microsoft Word
Open Word and click the Gemini button in the Home ribbon tab to start your copilot.
💡 Windows Defender SmartScreen: How to Run the Setup
Because this is a free open-source community project without an expensive corporate certificate, Windows SmartScreen will display an initial protection prompt on new laptops. To proceed, press Informations complémentaires (More info), then press Exécuter quand même (Run anyway):
1. Click "Informations complémentaires" (More info)
2. Click "Exécuter quand même" (Run anyway)
Open Source & Contributing
This is a community hobby project. All Pull Requests must target the dev branch.
🌿 Two-Tier Git Branching Model
Branch off dev for features and bugfixes. Maintainers merge dev into main for official releases:
# 1. Clone & checkout dev branch
git checkout dev
git pull origin dev
# 2. Create feature branch
git checkout -b feat/my-new-feature
# 3. Commit with conventional commit messages
git commit -m "feat: add support for custom chart themes"
git push -u origin feat/my-new-feature
# 4. Open a Pull Request targeting 'base: dev' on GitHub
🔒 Branch Protection: Direct pushes to main and dev are blocked. All contributions must be submitted via Pull Requests targeting dev and are reviewed and merged exclusively by Hassen Ben Chaaben.