
Google Antigravity /swarm: How to Run a Team of Parallel Agents (and When Not To)
Also available in Hindi: यह लेख हिंदी में पढ़ें
Google released /swarm in preview in Google Antigravity on 10 November 2026, alongside Gemini 4 Carbon. One command turns your conversation into a coordinator that splits a task among named worker agents, adds a verifier, and runs them in parallel on one shared message board. Antigravity's docs list /swarm on Google AI Pro and Ultra plans in the Antigravity App and CLI.
Who does what
- The coordinator (your conversation) names the swarm, splits the work so pieces don't collide, and reports back. It does not write the code itself.
- Workers such as
@parseror@api-testseach start with a clean context and a public brief: what they own, what they must not touch, and what "done" means. - A verifier is usually added for every two to four workers. It reads diffs, runs tests and sends problems back.
- A monitor wakes only if everyone goes quiet before the work is done.
Idle members sleep on the board and use no tokens until someone mentions them.
Start your first swarm
- Open your project in the Antigravity App or CLI, type
/swarmand press Tab. - Describe the task and how to check it, for example:
/swarm Add input validation to the three API handlers in src/routes, one worker per handler, and have a verifier run npm test. - In the App, click Open the Swarm UI to see the Board, Members and Graph tabs. In the CLI, run
/swarm boardor press Alt+S. On a Mac, Alt+S needs Option set as Meta. - Keep talking to the coordinator to change scope. To reach one worker in the CLI, start your message with its name, such as
@verifier also run the integration tests.
Workers use your conversation's model by default. Ask for a different one if you want it, for example a verifier on another model to audit the workers. Google's blog suggests Gemini 4 Carbon for coordinator and verifier roles, with lighter models doing routine edits.
When to use /swarm
Use /swarm when a big task divides cleanly by file, package or question. For one hard bug, /boost fits better; for multi-day migrations, /teamwork.
Keep quota under control
Every worker is its own agent, so Google warns that a swarm burns quota much faster than one chat. A worker that hits its quota pauses and does not restart by itself when quota refreshes. Removing a worker is permanent and deletes its working copy, so have it land changes first.
Related reading: Claude Code vs Antigravity, Antigravity Knowledge Work layout and Cursor Projects multiplayer.
Sources
- Swarm (/swarm), Google Antigravity docs
- Gemini 4 Carbon and /swarm, Google Antigravity blog (10 Nov 2026)
- Gemini 4 Carbon is now available, Google (10 Nov 2026)
- Google testing Agent Swarm mode for Antigravity, TestingCatalog
FAQ
Is /swarm free?
It needs a Google AI Pro or Ultra plan and uses your plan's quota.
Do I need Gemini 4 Carbon?
No. Workers use your conversation's model. Carbon in Antigravity is for Ultra subscribers.
Can two workers edit the same file?
The coordinator splits work to avoid that and can give each worker its own working copy.
Is it in the IDE extensions?
Google's blog lists /swarm for the Antigravity App and CLI.