antigravity_workers
Integrates with Google Gemini models and Google Antigravity (agy) for Boss-tier Gemini 4 Argon review and Worker-tier Gemini 3.8 Flash execution, including multi-account quota-aware rotation across 5-hour and weekly windows.
Connects to isolated Google Chrome profiles over Chrome DevTools Protocol (ports 9222–9224) to automate Gemini Web sessions, submit prompts to gemini.google.com, wait for streaming completion, and extract responses.
Uses OpenAI GPT models as Boss-tier managers and reviewers (openai/gpt-6-astra and openai/gpt-6.1-sol), with reasoning effort capped at high, for architecture planning, task dispatch, diff auditing, and final code sign-off.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
agy-orchestrator
Quota-Aware Multi-Agent Orchestration System for OpenCode, ChatGPT Desktop, and Codex CLI — combining OpenAI GPT & Gemini 4 Argon Bosses with Google Antigravity (agy) & Zero-Cost OpenCode Workers.
agy-orchestrator is a production-grade Model Context Protocol (MCP) server, CLI toolkit, and multi-agent configuration suite designed to offload 85%–95% of token consumption away from single-account Manager models onto specialized Worker agents, multi-account Antigravity CLI pools, and automated Chrome DevTools Protocol (CDP) Gemini Web sessions.
Key Capabilities
Strict Manager–Worker Separation:
Boss Tier (Managers & Code Reviewers):
openai/gpt-6-astra(capped athighreasoning effort),openai/gpt-6.1-sol, andgemini-4-argon-highfocus exclusively on architecture planning, task decomposition, boundedgit diffinspection, and final[P0]–[P3]code sign-off (edit: deny).Worker Tier (Execution Engine): All heavy code generation, multi-file refactoring, test writing, codebase reconnaissance, and documentation authoring are delegated to Gemini 3.8 Flash (via
agyCLI) and 5 specialized zero-cost OpenCode subagents.
Hands-Free Gemini Web CDP Bridge (
gemini_web_cdp.py):When local Antigravity CLI weekly Argon quota is exhausted on the primary account,
boss-argonautomatically connects to isolated Google Chrome profiles over Chrome DevTools Protocol (127.0.0.1:9222..9224), inputs the architectural/review prompt intohttps://gemini.google.com/app, waits for streaming completion, and extracts the response 100% hands-free.
Multi-Account 5-Hour & Weekly Quota Rotation (
account_pool.py):Tracks rolling 5-hour (
5h) and 7-day (weekly) token and run windows per Google account (acc-1,acc-2,acc-3, ...).Decouples Argon Boss routing (
acc-1CLI + Web →acc-2Web →acc-3Web) from Gemini 3.8 Flash Worker routing (acc-1CLI →acc-2CLI →acc-3CLI), automatically placing exhausted accounts into 5-hour or 7-day cooldowns and rotating to the next healthy account at an85%soft threshold.
9 Battle-Tested Multi-Agent & Quota-Protection Skills (
skills/):Synthesized from leading open-source agent frameworks (
obra/superpowers,oh-my-opencode,BMAD-METHOD,MetaGPT, and OpenAI Codexreview-agent), plus custom single-account protection protocols (openai-quota-shield,context-compaction-guard,optimal-worker-routing).
Related MCP server: codex-opencode-orchestrator
System Architecture
┌───────────────────────────────────────────────────────────────────────────────────┐
│ BOSS TIER (MANAGERS & REVIEWERS) │
│ Architecture Planning • Task Dispatch • Diff Audit • Merge Sign-Off │
├───────────────────────────┬───────────────────────────┬───────────────────────────┤
│ 1. boss-gpt (Primary) │ 2. boss-gpt-sol (Primary) │ 3. boss-argon (All Modes) │
│ openai/gpt-6-astra │ openai/gpt-6.1-sol │ Gemini 4 Argon │
│ (MAX Effort = high) │ (MAX Effort = high) │ • Tier 1: agy CLI (acc-1) │
│ • edit: deny │ • edit: deny │ • Tier 2: Chrome CDP Web │
│ • Zero Raw-File Ingestion │ • Final Gatekeeper │ Auto-Rotation Pool │
│ │ │ (acc-1:9222→acc-2:9223 │
│ │ │ →acc-3:9224) │
└─────────────┬─────────────┴─────────────┬─────────────┴─────────────┬─────────────┘
│ │ │
│ Zero-Context Briefs • Parallel Subagent & MCP Dispatch
▼ ▼ ▼
┌───────────────────────────────────────────────────────────────────────────────────┐
│ WORKER TIER (EXECUTION ENGINE) │
├─────────────────────────────────────────┬─────────────────────────────────────────┤
│ Group A: Antigravity CLI (agy) │ Group B: Zero-Cost OpenCode Workers │
│ • @worker-gemini-flash │ • @worker-deepseek (Code & Unit Tests) │
│ (gemini-3.8-flash-high/medium/low) │ opencode/deepseek-v4.1-flash-free │
│ 1M-context multi-file engineering │ • @worker-nemotron-super (VL & Audit) │
│ with 5h/weekly 3-account auto-swap │ opencode/nemotron-3.5-super-vl-free │
│ │ • @worker-nemotron (Fast Recon & Test) │
│ │ opencode/nemotron-3.5-lightning-free │
│ │ • @worker-mimo (Frontend UI & Configs) │
│ │ opencode/mimo-v2.6-flash-free │
│ │ • @worker-glm (Technical Docs & State) │
│ │ opencode/glm-5.3-flash-free │
└─────────────────────────────────────────┴─────────────────────────────────────────┘The 9 OpenCode Agents (opencode_agents/)
Agent ID | Mode | Underlying Model | Primary Responsibility |
|
|
| Chief Engineering Manager; decomposes goals, dispatches workers, enforces verification gates ( |
|
|
| Chief Architect & Final Reviewer; audits diffs and signs off after Stage-0/Stage-1 checks ( |
|
|
| Senior Architect & Defect-First Reviewer ( |
|
|
| Heavy multi-file implementation, cross-cutting refactors, and 1M-context codebase operations via |
|
|
| Pure algorithmic coding (Python/TS/JS/Go/Rust), bug fixes, and |
|
|
| Stage-0 Pre-Reviewer, deep root-cause stack-trace debugger, and multimodal UI/screenshot inspector (Free). |
|
|
| Ultra-fast codebase scout ( |
|
|
| Frontend UI/UX components (HTML/CSS/React/Tailwind), project scaffolding, and |
|
|
| Technical documentation ( |
Bundled Multi-Agent & Quota-Protection Skills (skills/)
Skill Name | Reference Lineage | Purpose |
|
| Master orchestration matrix between Bosses and specialized Workers. |
| Custom Quota Engineering | Caps OpenAI reasoning effort at |
| Custom Context Engineering | Externalizes session state to |
| Benchmark Routing Matrix | Assigns every subtask to the highest-performing model across the 6-Worker lineup at minimum token cost. |
|
| Mandatory 5-part self-contained specification template for fresh-context worker subagents. |
|
| Enforces disjoint file ownership when running concurrent worker batches. |
|
| Two-stage audit: Spec Compliance check followed by |
|
| 5-step empirical gate (IDENTIFY → RUN → READ → VERIFY → CLAIM) requiring fresh test output before completion. |
|
| 4-phase root-cause reproduction, diagnosis, regression-test authoring, and minimal fix loop. |
Installation & Quick Start
1. Clone & Install Package
git clone https://github.com/AnhKhoa-Tran-Phuoc/agy-orchestrator.git
cd agy-orchestrator
python -m venv .venv
.\.venv\Scripts\pip install -e ".[dev]"2. Install into OpenCode (Global or Per-Project)
# Install globally into ~/.config/opencode (9 agents + 9 skills + antigravity_workers MCP)
.\.venv\Scripts\agy-orch.exe install-opencode
# Reload OpenCode daemon
opencode reload(Optional) Install into ChatGPT Desktop / Codex CLI (~/.codex):
.\.venv\Scripts\agy-orch.exe install-codex3. Configure Multi-Account Google Pool (One-Time Sign-In)
Register and sign in to your Google accounts (acc-1 with CLI+Web Argon, acc-2..N with Web Argon + CLI Flash):
# Open isolated Chrome CDP profiles for one-time Google sign-in
.\.venv\Scripts\agy-orch.exe account-login acc-1 # Port 9222 (Primary Google Pro)
.\.venv\Scripts\agy-orch.exe account-login acc-2 # Port 9223 (Secondary Account 2)
.\.venv\Scripts\agy-orch.exe account-login acc-3 # Port 9224 (Secondary Account 3)
# Verify 5-hour & weekly rolling quota status across all accounts
.\.venv\Scripts\agy-orch.exe account-status
# Test hands-free Gemini Web auto-input and output extraction
.\.venv\Scripts\agy-orch.exe web-ask "Provide a one-sentence health check confirmation."MCP Tools Reference (antigravity_workers)
Tool Name | Category | Description |
| Boss / Review | Consult Gemini 4 Argon ( |
| Boss / Web CDP | Hands-free Playwright CDP bridge that inputs prompts into |
| Boss / Handoff | Packages prompt + diff snapshot to |
| Worker Execution | Delegate multi-file coding, refactoring, or long writing to |
| Worker Execution | Delegate a task to any Antigravity model by task |
| Worker Execution | Resume a prior worker session by |
| Worker Execution | Run multiple independent Antigravity worker tasks concurrently ( |
| Low-Token Audit | Inspect |
| Low-Token Audit | Read a bounded, line-numbered excerpt ( |
| Verification | Run a test suite or linter inside the workspace and return pass/fail status with a compact log digest. |
| Account Pool | Inspect 5-hour ( |
| Account Pool | Add or update a Google account slot ( |
| Account Pool | Proactively rotate the active account to the next healthy account in the pool. |
| Telemetry | Cumulative token offloading ledger report ( |
| Discovery | Discover all models available in the local |
Running Tests
.\.venv\Scripts\pytest.exe -vLicense
Released under the MIT License.
This server cannot be deployed
Maintenance
Related MCP Connectors
AI work orchestration for plans, tasks, teams, and coding-agent dispatch.
Coordination hub for AI coding agents: message teammates, ask humans, audit every event.
Coding agents from Claude Code, Cursor and Codex claim jobs and lock files on one shared board.
Task manager for AI agents. Orchestrate agents to achieve large goals in unified control plane.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables Codex to orchestrate multi-agent coding by routing tasks to local Claude Code workers via CCSwitch, managing cost and model selection for planning, execution, and review.7MIT
- FlicenseNot gradedqualityCmaintenanceEnables Codex to delegate bounded tasks to multiple AI model workers through a persistent OpenCode 2 service, with isolated Git worktrees and safe patch review and application.-
- AlicenseNot gradedqualityCmaintenanceEnables multiple AI coding CLIs (Claude Code, Gemini/Antigravity, Codex, and OpenCode) to collaborate as a coordinated team by routing cross-agent prompts, sharing messages and review tickets, tracking tasks on a shared store, and isolating each agent in its own Git worktree with turn-budget safeguards—all inspectable and steerable from a local web dashboard.MIT
- AlicenseAqualityBmaintenanceEnables AI agents to delegate complex coding tasks, refactorings, and automated code reviews to OpenAI Codex and Google Antigravity CLIs, running them autonomously in YOLO mode with process supervision.6MIT