The Unbreakable, Cross-Platform Autonomous AI Swarm for Gemini CLI
Gemini Mission Control elevates your Gemini CLI from a simple coding assistant into a fully autonomous, self-correcting engineering swarm.
By dividing labor into three highly specialized, isolated agents—The Orchestrator, The Worker, and The Validator—Mission Control can execute complex, multi-file features in parallel while mathematically guaranteeing the safety of your existing codebase.
🌍 100% Cross-Platform: Engineered to run flawlessly on Windows, macOS, and Linux.
Mission Control doesn't just write code; it manages a software development lifecycle.
- Role: Strategic planning and task delegation.
- Superpower: Breaks down vague user requests into atomic, parallelizable tasks.
- Constraint: Read-Only. Strictly forbidden from writing code. Enforces File-Level Isolation (never assigns two workers to the same file at the same time).
- Role: Surgical code execution.
- Superpower: Writes bespoke, high-quality code. Capable of running package managers (like
npm installorpip install) to prepare environments. - Constraint: Code-Only. Strictly forbidden from testing or validating its own work to prevent the "marking your own homework" anti-pattern.
- Role: Ruthless Quality Assurance and Security Auditing.
- Superpower: Forensically analyzes the Worker's output, runs compilers, linters, and test suites (
npm run build,cargo test, etc.). - Constraint: Read-Only. Cannot fix the code. If a test fails, it kicks the forensic report back to the Worker, creating a self-healing Feedback Loop.
We understand that giving an AI write-access to your production codebase is terrifying. Mission Control is built with hardware-level safety constraints:
- Mandatory Backup Gate: The swarm refuses to write a single line of code until a backup or a new Git branch is created.
- Race-Condition Immunity: Parallel tasks are executed concurrently, but validation is forced into a Strict Sequential Gate. This prevents multiple test suites from colliding and corrupting your build folders.
- The Circuit Breaker: If a specific task fails validation 3 times consecutively, the system pulls the plug and aborts the mission. No infinite loops. No burning through your token budget.
- No Destructive Commands: Workers are physically instructed to reject commands like
rm -rfor hard git resets.
Because Mission Control relies on standard Gemini CLI features, it works out-of-the-box on any operating system (Windows, macOS, Linux).
- Ensure you have the Gemini CLI installed.
- Clone or download this repository into your Gemini extensions folder (or link it).
- The extension includes:
gemini-extension.json(Manifest)commands/enter-mission.toml(Starts the autonomous loop)commands/exit-mission.toml(Restores manual control)agents/*.md(The agent personas)
Invoke the mission controller from your terminal:
gemini /enter-missionThe system will respond: "🚀 AUTONOMOUS WORKSPACE ACTIVATED. SYSTEM GUARDRAILS ENGAGED."
Give the swarm a high-level objective:
"Refactor the authentication flow to use JWTs, update the UI store to handle loading states, and ensure all existing login tests pass."
Watch the Swarm Work:
- Orchestrator creates a 4-step plan (1 backup, 3 parallel execution tasks).
- Workers execute the 3 tasks simultaneously.
- Validators step in one-by-one to run
npm testandnpm run build. - If a Validator finds an error, it privately messages the Worker to fix it.
- The mission completes only when all Validators report
[PASS].
When the mission is accomplished, return to standard chat mode:
gemini /exit-mission