{"id":"b9668e44-1617-4732-ad4d-006f1624ae49","slug":"antigravity-control-center","kind":"mcp","name":"antigravity-control-center","summary":"Enterprise-grade multi-account switcher and quota auto-pilot for Antigravity with zero-reauth Chrome CDP synchronization.","owner":"demusraph","repoUrl":"https://github.com/demusraph/antigravity-control-center","license":"MIT","licenseTier":"permissive","trust":"community","stars":1,"match":null,"fewStars":true,"format":"mcp","createdAt":"2026-09-08T03:23:56.000Z","addedAt":"2026-10-21T09:39:59.685Z","logoUrl":"https://avatars.githubusercontent.com/u/196065792?u=a236bc30c30dafe233505a34cf3b5440100d7e30&v=4","linkOnly":false,"collection":null,"skillPath":null,"categories":["browser-web"],"tags":["account-switcher","antigravity","automation","developer-tools","productivity","pyqt5","quota-manager","windows-app"],"runtime":"python","local":true,"cloudCapable":false,"cloudCapability":"unknown","cloudReadyOnPlatform":false,"needsApiKey":false,"reviewed":false,"syncedAt":"2026-10-25T20:32:19.426Z","sample":false,"url":"https://conduits.dev/tools/antigravity-control-center","language":"Python","transports":["stdio"],"install":{"pypi":"antigravity-control-center"},"requirements":{"env":[],"upstreamMayCharge":false},"tools":null,"readme":"<div align=\"center\">\n\n  <img src=\"assets/icons/app_icon.png\" width=\"96\" height=\"96\" alt=\"Antigravity Control Center Logo\">\n\n  # Antigravity Control Center\n\n  **Autonomous Multi-Account Orchestrator, Quota Radar & Overnight Task Continuity**\n\n  [![Release](https://img.shields.io/github/v/release/demusraph/antigravity-control-center?style=flat-square&color=2B7FFF)](https://github.com/demusraph/antigravity-control-center/releases)\n  [![Version](https://img.shields.io/badge/Version-v1.2.2-blue?style=flat-square)](CHANGELOG.md)\n  [![Platform](https://img.shields.io/badge/Platform-Windows%2010%20%2F%2011%20(x64)-0078D6?style=flat-square&logo=windows&logoColor=white)](https://microsoft.com)\n  [![macOS Roadmap](https://img.shields.io/badge/macOS-Planned%20v1.3.0-orange?style=flat-square&logo=apple&logoColor=white)](#-roadmap)\n  [![Python](https://img.shields.io/badge/Python-3.10%20%7C%203.11%20%7C%203.12-3776AB?style=flat-square&logo=python&logoColor=white)](pyproject.toml)\n  [![Security](https://img.shields.io/badge/Security-Local%20DPAPI%20%7C%20Zero%20Cloud-10B981?style=flat-square)](SECURITY.md)\n  [![License](https://img.shields.io/badge/License-MIT-green.svg?style=flat-square)](LICENSE)\n\n  <br>\n\n  <img src=\"assets/screenshots/showcase.png\" alt=\"Antigravity Control Center Interface\" width=\"760\">\n\n</div>\n\n<br>\n\n## ⚡ Overview\n\n**Antigravity Control Center** is an enterprise-grade desktop management system designed to eliminate quota exhaustion barriers (`RESOURCE_EXHAUSTED` / HTTP 429) across Gemini and Claude AI models.\n\nRather than forcing developers to manually log out, restart applications, or interrupt long-running coding tasks, Antigravity Control Center provides instantaneous **hot-swapping via Windows Credential Manager**, live **multi-account quota radar telemetry**, and an **autonomous overnight auto-pilot** that intercepts rate limits and resumes unfinished AI tasks via Chrome DevTools Protocol (CDP).\n\n---\n\n## ✨ Key Capabilities\n\n### 🔄 Zero-Loss Credential Hot-Swapping\n- Swaps active authentication tokens directly inside the Windows Credential Manager (`gemini:antigravity`) via native Win32 DPAPI (`advapi32.dll`).\n- **Preserves Editor State**: Open tabs, SQLite caches (`state.vscdb`), prompt histories, and terminal workspaces remain completely undisturbed during switches.\n\n### 🤖 Autonomous Overnight Auto-Pilot (CDP Integration)\n- A decoupled, low-overhead background daemon that monitors language server diagnostics in real time.\n- **Self-Healing Execution Cycle**:\n  1. Detects `RESOURCE_EXHAUSTED` (429) exceptions in `language_server.log`.\n  2. Evaluates the multi-account pool and selects the account with the highest available quota.\n  3. Hot-swaps the active OS credentials in milliseconds.\n  4. Interfaces with the local **Chrome DevTools Protocol (CDP)** endpoint to automatically trigger task resumption—enabling autonomous, uninterrupted overnight agent runs while you sleep.\n  5. Emits unobtrusive native Windows toast notifications upon state transitions.\n- **Hardened Lifecycle & Stale PID Auto-Cleanup**: Dynamic runner auto-discovery (`main.py --daemon` / `daemon.py` / `-m antigravity_switcher.daemon`), real-time Win32 `GetExitCodeProcess == 259 (STILL_ACTIVE)` verification, non-console stream redirection to `os.devnull` under `pythonw.exe`, and automated PID lock removal.\n\n### 📊 Real-Time Multi-Account Quota Radar\n- Live telemetry calculation querying official OAuth endpoints for:\n  - **Gemini Models** (5-Hour Sliding Window & Weekly Token Limit)\n  - **Claude & GPT Models** (5-Hour Window & Weekly Quota)\n  - **Dynamic Reset Deltas** (e.g., `3h 48m`, `5d 12h`)\n- Algorithmic score ranking that automatically flags the optimal backup account with a `Recommended` badge and enables a 1-click quick-switch action.\n\n### 🌲 Live Subagent DAG & Execution Trace\n- Real-time hierarchical visualization of active conversation threads: Parent Orchestrator $\\rightarrow$ Child Subagents.\n- Tailing telemetry on `transcript.jsonl`: Step counter, live tool execution chips (`tool_calls`), and estimated token burn rates.\n- Deadlock / Unresponsive detection: Flags agents that stall for $>60$ seconds with quick-access session switching across recent conversation IDs.\n\n### 🔌 MCP Server Matrix & Health Supervisor\n- Auto-discovers all Model Context Protocol (MCP) servers configured in `~/.gemini/config/mcp_config.json`.\n- Real-time Windows process inspection via `psutil`: PID, RAM RSS (MB), CPU%, and uptime.\n- **1-Click Ping Probe**: Tests stdio JSON-RPC handshake responsiveness (`initialize` probe) with exact latency measurement in milliseconds.\n- **1-Click Server Restart**: Kills zombie processes and resets stdio pipelines to clean standby.\n\n### 🪟 Native Window Physics & React Bits Micro-Interactions (v1.2.0)\n- **PyQt5 Window Physics Easing**: Eliminates abrupt jumping on Windows 11 frameless windows using `QPropertyAnimation`:\n  - **Maximize / Restore**: 220ms `QEasingCurve.OutCubic` geometry interpolation honoring the Windows Taskbar.\n  - **Minimize**: 140ms `QEasingCurve.InQuad` opacity fade before minimization.\n  - **Tray Restore**: 160ms `QEasingCurve.OutQuad` fade-in upon activation.\n  - **Morphing Window Controls**: Smooth SVG rotation and scale animation on maximize/restore toggling.\n- **Curated React Bits Matrix**:\n  - `SpotlightCard`: Dynamic mouse-tracking radial glow following your cursor across obsidian surfaces.\n  - `DecryptedText`: Cyber scramble decoding effect upon switching accounts.\n  - `CountUp`: Smooth number counting for quota percentages.\n  - `ButtonSpring`: Tactile spring bounce (`cubic-bezier(0.34, 1.56, 0.64, 1)`) on interactive controls.\n  - `TabAnimatedEnter`: Vertical slide and fade-in transitions across views.\n\n### 📐 Responsive Mission Control Toolbar & Ergonomic Sizing (v1.2.2)\n- **Anti-Wrapping Layout Hardening**: Strict `whitespace-nowrap` and `shrink-0` architecture across all status badges, recommendation actions, Auto-Pilot toggle buttons, and navigation tabs—permanently eliminating awkward multi-line text wrapping on narrow viewports.\n- **Dynamic Active Email Truncation**: Responsive CSS ellipsis truncation (`truncate max-w-[170px] sm:max-w-[260px] md:max-w-[340px]`) with interactive hover tooltip displaying full identity.\n- **High-DPI Desktop Geometry**: Default proportions expanded to **`840 x 800`** (minimum `660 x 680`) with fine-tuned Win32 `HTCAPTION` hit-testing for seamless dragging and Aero Snap under 125%-150% Windows display scaling.\n- **System Tray Integration**: Silent background minimization (`Hide to Tray`) with global taskbar tray restore.\n\n---\n\n## 🏗️ Technical Architecture\n\n```mermaid\nflowchart TD\n    subgraph Antigravity Workspace\n        IDE[Antigravity IDE Window]\n        LS[Language Server Diagnostics Log]\n        CDP[CDP DevTools Active Port]\n    end\n\n    subgraph Windows Subsystem\n        WCM[Windows Credential Manager\\ngemini:antigravity - DPAPI]\n        TOAST[Windows Action Center Toasts]\n    end\n\n    subgraph Antigravity Control Center\n        APP[AntigravityControlCenter.exe\\nStandalone GUI Host]\n        CLI[Terminal CLI Switcher\\n--cli Mode]\n        DAEMON[Auto-Pilot Watcher Daemon\\n--daemon Mode]\n        STORE[~/.gemini/antigravity-switcher\\nPer-User Profile Vault]\n    end\n\n    APP -->|Hot-Swap Token| WCM\n    CLI -->|Hot-Swap Token| WCM\n    DAEMON -->|Monitor 429| LS\n    DAEMON -->|Auto-Swap Best Account| WCM\n    DAEMON -->|Resume Active Session| CDP\n    DAEMON -->|Dispatch Alert| TOAST\n    APP <--> STORE\n    CLI <--> STORE\n```\n\n---\n\n## 🚀 Quick Start\n\n### Option 1: Standalone Executable (No Python Required)\n1. Download **`AntigravityControlCenter-Windows-x64.zip`** from [Latest Releases](https://github.com/demusraph/antigravity-control-center/releases).\n2. Extract the ZIP archive anywhere on your system.\n3. Run **`AntigravityControlCenter.exe`**.\n\n> [!NOTE]\n> #### 🛡️ Windows SmartScreen Notice\n> Because Antigravity Control Center is a newly released, independent open-source project without a commercial Microsoft EV Code Signing Certificate ($500+/year), Windows Defender SmartScreen may display an alert:\n> \n> **\"Windows protected your PC / Unknown Publisher\"**\n> \n> 1. Click **More info** (*Informasi selengkapnya*).\n> 2. Click **Run anyway** (*Tetap jalankan*).\n> \n> All source code and build pipelines are 100% transparent, auditable, and compiled publicly via GitHub Actions.\n\n### Option 2: Run from Source (Python 3.10+)\n```bash\n# 1. Clone the repository\ngit clone https://github.com/demusraph/antigravity-control-center.git\ncd antigravity-control-center\n\n# 2. Install dependencies\npip install -r requirements.txt\n\n# 3. Launch Desktop GUI\npython main.py\n# or via batch launcher:\nscripts\\Launch-GUI.bat\n\n# 4. Launch Interactive CLI\npython main.py --cli\n# or via batch launcher:\nscripts\\Launch-CLI.bat\n```\n\n### Option 3: Install Desktop Shortcut\nRun **`scripts\\Create-Desktop-Shortcut.bat`** to instantly create a shortcut with the official Obsidian iridescent icon on your Windows Desktop.\n\n---\n\n## 🔒 Security & Privacy Guarantees\n\n1. **Native DPAPI Encryption**:\n   - Accounts are stored locally on your machine using Windows Data Protection API (DPAPI).\n   - Sensitive tokens are **never** written in plain text to disk or synced to third-party servers.\n2. **Zero Cloud Telemetry**:\n   - 100% offline-capable and localhost-bound (`127.0.0.1`).\n   - No external trackers, analytics, or telemetry beacons.\n3. **Transparent & Auditable**:\n   - Fully open-source codebase with minimal dependencies. See [`SECURITY.md`](SECURITY.md) and [`docs/SECURITY_MODEL.md`](docs/SECURITY_MODEL.md) for full architecture details.\n\n---\n\n## 📁 Repository Structure\n\n```text\nantigravity-control-center/\n├── .github/\n│   ├── ISSUE_TEMPLATE/\n│   │   ├── bug_report.yml          # Structured GitHub Issue Form for bug triage\n│   │   └── feature_request.yml     # Structured Feature Request template\n│   ├── workflows/\n│   │   └── build-exe.yml           # Automated Windows CI/CD Release pipeline\n│   └── PULL_REQUEST_TEMPLATE.md    # Pull Request checklist & guidelines\n├── assets/\n│   ├── icons/\n│   │   ├── app_icon.ico            # Multi-resolution Windows executable icon\n│   │   └── app_icon.png            # High-res Obsidian branding logo\n│   └── screenshots/\n│       └── showcase.png            # Clean UI preview screenshot\n├── docs/\n│   └── SECURITY_MODEL.md           # Local DPAPI & credential security details\n├── scripts/\n│   ├── Create-Desktop-Shortcut.bat # 1-Click desktop shortcut installer\n│   ├── Launch-CLI.bat              # Fast headless terminal launcher\n│   └── Launch-GUI.bat              # Direct desktop GUI launcher\n├── src/\n│   └── antigravity_switcher/\n│       ├── __init__.py             # Package metadata & exports\n│       ├── __main__.py             # Package execution dispatcher\n│       ├── app.py                  # PyQt5 Native Obsidian GUI & WebEngine radar\n│       ├── daemon.py               # Auto-Pilot & CDP auto-resume daemon\n│       ├── mcp_supervisor.py       # MCP matrix health supervisor & stdio self-heal\n│       ├── subagent_tracker.py     # Live Subagent DAG tracer & session telemetry\n│       └── switcher.py             # Win32 Credential Manager hot-swapper & CLI\n├── main.py                         # Root execution entry point\n├── pyproject.toml                  # Modern PEP 517/621 packaging configuration\n├── requirements.txt                # Python dependencies (PyQt5, PyQtWebEngine)\n├── .gitignore                      # Filter for caches, logs, and session profiles\n├── CHANGELOG.md                    # Keep a Changelog semantic release notes\n├── CONTRIBUTING.md                 # Contributor onboarding & development guide\n├── LICENSE                         # MIT Open Source License\n├── README.md                       # Master technical documentation\n└── SECURITY.md                     # Responsible disclosure & privacy policy\n```\n\n---\n\n## 🗺️ Roadmap\n\n- [x] **v1.0.0**: Windows 10/11 x64 support, PyQt5 Obsidian GUI, Dual Quota Radar, CDP Auto-Resume, Standalone Executable, GitHub Actions CI/CD.\n- [x] **v1.1.0**: Live Subagent DAG Tracker, MCP Health Matrix & 1-Click Self-Heal, Windows AppUserModelID taskbar binding.\n- [x] **v1.2.0**: Native PyQt5 Window Physics Easing (`QPropertyAnimation`), React Bits Micro-Interactions, 1:1 Antigravity 2.0 Obsidian Dark Header.\n- [x] **v1.2.1**: Auto-Pilot Daemon Lifecycle Hardening, Stale PID Auto-Cleanup, Non-Console Stream Guards, Clean 1:1 Typography.\n- [x] **v1.2.2**: Responsive Single-Line Enforcement (`whitespace-nowrap`), Active Email Ellipsis Truncation, Ergonomic Desktop Geometry (`840x800`).\n- [ ] **v1.3.0**: Cross-platform **macOS Keychain** integration (`/usr/bin/security`) & Apple Silicon M-series DMG bundle.\n- [ ] **v1.4.0**: Linux Secret Service / Keyring integration.\n- [ ] **v1.5.0**: Encrypted cross-device profile export/import.\n\n---\n\n## 🤝 Contributing\n\nContributions are welcome! Please read [`CONTRIBUTING.md`](CONTRIBUTING.md) before submitting a pull request.\n\n---\n\n## 📄 License\n\nDistributed under the **MIT License**. See [`LICENSE`](LICENSE) for details.\n"}