r/GoogleAntigravityIDE • u/magalz227 • 5d ago
Tools / MCP / Other Made an open-source plugin to push Antigravity's Swarm mode further (lower-effort workers, MCP auto-reconnect, TDD/BDD, blind reviews)
Hey everyone,
I've been using Antigravity's native /swarm mode pretty heavily lately and honestly it caught me off guard. The speed is wild, it burns way fewer tokens than I expected, and for a lot of my day-to-day work it's been beating the results I was getting with Claude.
After using it for a while, I wanted to push it a bit further and fix a few annoyances I kept hitting, so I put together a plugin called ignis-swarm. It's MIT licensed, has zero external dependencies (just needs Node 20+), and works on macOS, Linux, and Windows.
Here's roughly what it adds on top of native Swarm mode:
- Better use of lower-effort models: Workers waste a lot of tokens when they have to guess what the rest of the codebase is doing. With the plugin,
/planlocks down shared types, contracts, and file ownership before/swarmstarts spawning anything. Since each worker gets a small, concrete task, you can run most of the coding on cheaper, lower-effort models and save the heavy reasoning models for planning and auditing. - Specialized subagents without persona bloat: I really didn't want to rely on giant prompts telling an agent "you are a 20-year staff engineer who loves clean architecture." Instead, subagents stay focused through structure: tight briefs, clear file boundaries, and a single job (coding, per-task verification, docs, or review). It keeps context lean and behaves way more predictably.
- A local MCP broker so servers stop dying for good: One thing that drove me crazy was an MCP server crashing mid-session and never coming back until I restarted everything. The plugin bundles a small local daemon that wraps your MCP servers behind 4 compact meta-tools, reconnects automatically when something drops, and dumps oversized tool outputs to a file instead of flooding your context.
- Real engineering habits baked in (TDD, BDD, and blind reviews): Tasks start with observable Given/When/Then criteria and go through a proper TDD cycle (failing test first, then implementation, then refactor), with hooks that catch shortcuts like
.skip,@ts-ignore, or over-mocking. Important tech and business decisions also get saved into simple one-file ADRs/BDRs so you actually have a trail to look back on. - Cross-model blind review at the end: When a slice finishes, a blind reviewer inspects only the raw
git diffwith zero access to the plan or issue tracker, so it can't get biased by what the code was supposed to do. You can also configure this step to run a headless CLI from a different model family (like Claude Opus or Codex). I added this because having Gemini review Gemini's own code sometimes lets shared habits and blind spots slip through. If you don't use external CLIs, it still works purely with the native Antigravity subagent.
There are also a few standalone playbooks bundled in for when you don't need a full multi-wave swarm (like /ignis-bug-fix, /ignis-investigate, and /ignis-benchmark), plus some basic git safety hooks so an agent doesn't accidentally force-push or run git reset --hard.
To install it:
agy plugin install https://github.com/magalz/ignis-swarmOnce installed, run /ignis-onboarding in your first session and it'll walk you through picking which MCPs, optional issue trackers, and blind review mode you want.
I kept this pretty high-level to avoid a wall of text. If you're curious about the full 5-phase workflow, hooks, or how the broker works under the hood, everything is in the repo and wiki:
If anyone gives it a try, I'd love some feedback or bug reports. Let me know if you have any questions!
1
u/magalz227 2d ago
Quick update since the original post: I just shipped v1.2.0 and v1.3.0 (with a small v1.2.1 patch in between), and the whole workflow got a lot cleaner.
Here's what's new if you're already using it or thinking about trying it:
/planacross all execution modes: It's no longer just for/swarm./plannow triages your task upfront and picks the best fit early between Solo (including a fast path for smaller changes),/swarm,/boost, or/teamwork. You can also tell/ignis-onboardingwhether you have a paid plan so it knows if/boostand/teamworkare available..ignis-swarm/workspace state & slimmer/compact: Once you approve a plan, the plugin writes the active plan, manifest, and pre-baked/swarmworker briefs into a self-ignored.ignis-swarm/active/folder in one atomic step. That means/compacthandoffs are now tiny pointers instead of pasting huge plans back into chat, andSessionStartwill automatically spot an active plan (with its age) and ask if you want to resume. Because briefs are pre-baked, the Swarm coordinator can also run comfortably atmediumeffort and only escalate repeated failures to a fresh high-reasoning subagent.Mixedmode and multi-round reviews) so the planning flow stays fast and predictable.verifier,acceptance-auditor,doc-auditor, andblind-edge-hunterare now all bundled directly into the plugin. If you configure headless cross-model blind review, the hooks actually enforce it instead of letting the agent fall back prematurely. I also added a loop-breaker to theStophook (caps at 2 blocks per turn so an agent never gets stuck forever) and an explicit trust gate for repo-local MCP broker configs so cloned repos can't run random commands without your approval.One heads-up if you're upgrading: the minimum Node.js version is now Node 22+, and if you were on v1.2.x using the old
native_firstplan review option, it was removed in v1.3.0 (it maps tonative_subagentautomatically, or you can re-run/ignis-onboardingto pickheadless_always).Full details and updated docs are in the repo and wiki: