r/OnlyAICoding • • 10h ago

Made an open-source plugin to push Antigravity's Swarm mode further (lower-effort workers, MCP auto-reconnect, TDD/BDD, blind reviews)

Post image

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, /plan locks down shared types, contracts, and file ownership before /swarm starts 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 diff with 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-swarm

Once 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 Upvotes

0 comments sorted by