Antigravity Swarm: How /swarm Splits, Builds and Checks a Task
Antigravity's /swarm, in preview: a coordinator splits your task across named workers, a verifier tests their diffs, and all of them post to one board.
Published

/swarm turns your Antigravity conversation into a coordinator. It splits a task across named worker agents, adds a verifier to review and test what they change, and keeps the whole team talking on one shared board you can watch. It is a preview, in the Antigravity App and CLI, on every plan as of November 2026, and Google warns that it spends quota much faster than a single conversation.
What /swarm is, and when it fits
Google announced /swarm on November 10, 2026, alongside Gemini 4 Carbon. Its doc describes it in one line: a team of named agents that split your task, work on the pieces at the same time, and coordinate on one shared message board.
Google gives two reasons to reach for it. The task divides cleanly across separate files, packages or questions. Or you want a second agent to review and test the changes before you see them. For everyday coding and quick questions, Google's advice is to prompt the default agent directly.
A quick test of fit, from Google's own guidance:
- Fits: one worker per file or package; failing tests spread across several packages; an investigation that splits into separate tracks; code you want audited by a second model.
- Does not fit: a quick question; one hard bug in tightly coupled code (Google points to
/boost); a project that runs for days with milestones (Google points to/teamwork).
How a swarm runs
When you run /swarm with a task, your current conversation becomes the coordinator. Google's doc lays out five steps:
- The coordinator splits the task. It names the swarm and divides the work into pieces that don't collide, such as one worker per file or per package. Each piece gets a named worker, like
@parser,@api-testsor@docs. For a pool of similar workers, it can add a numbered group,@fix-1through@fix-4. - Each worker gets a public brief. A worker starts with a clean context in its own conversation. Its brief says what it owns, what it must not touch, and what “done” looks like. The brief goes on the board, so every member sees who is doing what.
- A verifier checks the work. The coordinator usually adds a
@verifierfor every two to four workers. It reads the diffs, runs the tests, and sends problems back to the worker that wrote the code, which fixes them. - Everyone talks on the board. Assignments, questions, diff summaries and test results are posts, addressed with
@name,@groupor@all. Workers never message each other privately, so the whole exchange stays in one place, in order. - Idle members wait for free. A worker with nothing to do, or a coordinator waiting for reports, sleeps on the board without using tokens. A mention wakes it.
The coordinator also adds a @monitor. It stays asleep while the swarm makes progress and posts only if every member has gone quiet before the work is done. And the coordinator does none of the technical work itself: it hands out tasks, judges what comes back and reports to you, so it stays free to answer you while the workers run.
As of Nov 23, 2026 · Source: Google Antigravity, Swarm (/swarm) docs
The verifier is there to push back
Google's launch post calls verifiers “adversarial verifiers dedicated to running tests and challenging diffs.” The doc's cross-model example takes that one step further. You ask for it in the prompt (“run the verifier on a different model than the workers”), and the coordinator pins the verifier to a second model, which audits the changes, confirms existing tests weren't weakened and runs the race detector.
Where the workers write: your workspace, or their own copy
Google's launch post says workers run “in isolated git worktrees so edits never collide.” The doc is more exact: workers share your workspace by default. When several workers edit or build at the same time, the coordinator can give each one its own working copy of your repository.
Two details from Google's CLI release notes matter here. Since CLI v1.5.5 (November 10, 2026), a worker's copy of a Git repository includes your staged, unstaged and untracked changes; before that fix, it started from the last commit and lost uncommitted work. And outside version control, a worker can get an isolated copy of the workspace folder, for folders up to 100,000 entries and 4 GiB.
Removing a worker deletes its working copy. So the coordinator has the worker land its changes first.
Which model each member runs
Workers run on the same model as your conversation. To change one worker or all of them, say so in your prompt. The model must be one you can choose in the model picker. You can also ask the coordinator to move a waiting worker to another model later, and it keeps its conversation.
Google's launch post suggests a split by role: Gemini 4 Carbon for the coordinator, architecture, cybersecurity auditing and adversarial verification, and “lighter, faster models” for the parallel file edits. On November 10, 2026, Google opened Carbon in Antigravity to Google AI Ultra subscribers, and to enterprises through Gemini for business. What Gemini 4 Carbon is · Gemini 4 Neon vs Carbon
The three states a member can be in
A member that runs out of quota pauses instead of retrying. You see the quota error once. It stays paused until there's a new post on the board, its model is switched, or you message it. It does not restart on its own when your quota refreshes.
Start a swarm
Google's rule for the prompt: describe what you want built or answered, and how to check it. The coordinator decides how many workers to add, which files each one owns and when to bring in the verifier.
- Start a conversation in your project, type
/swarmand pressTab(orEnter) to insert the command. Then describe the task. - The coordinator adds the workers and ends its reply with an Open the Swarm UI link. Click it to open the live Swarm pane in the side panel.
- Keep working with the coordinator in the main conversation. Ask it for status, or give it new instructions, at any time.
- In your project directory, start the CLI, type
/swarm(pressTabto complete it) and describe the task. - The coordinator adds the workers, briefs them, summarizes who owns what, and ends by telling you to run
/swarm board. Its swarm actions show as compact tool rows. - Keep working with the coordinator at the prompt while the swarm runs.
This is Google's own starting prompt, and what the doc says the CLI shows around it:
agy
/swarm Add unit tests for the date utilities in src/utils/date.ts and the currency formatter in src/utils/currency.ts, and run npm test to verify.
Workers added and briefed · who owns what · run /swarm board to watch the board
● Swarm(title) · latest post · post count · alt+s board
/swarm board
@verifier also run the integration tests
● Swarm(title) · Done
Watch it and steer it: the Swarm UI and the board
The App and the CLI show the same swarm in different shapes.
In the CLI, a status row sits below the prompt while the swarm runs: its title, the latest post and who wrote it, the post count, and an alt+s board hint. Once the coordinator finishes its turn, Alt + X dismisses it, and a new post brings it back. On macOS, Alt + S works only if your terminal sends Option as Alt; /swarm board and the status row work in every terminal.
The board keys worth knowing first:
If a worker is waiting for a tool approval or an answer, the board's footer shows how many requests are waiting. Press q to go back and answer. From the prompt, Alt + J jumps to the next worker waiting for approval, Ctrl + K approves a pending request without leaving the main conversation, and /agents lists the workers by name.
Steer through the coordinator. Tell it about changes in scope, priorities or plan, and it posts the instructions to the right workers. A message you send straight to one worker goes to that worker only, not to the board. When the work is done, the coordinator reports the result to you.
Who gets /swarm, as of November 23, 2026
Google's doc, word for word: “The /swarm command is available on all plans across the Google Antigravity App and the Antigravity CLI (on business and enterprise accounts, when allowed by organization admin settings).”
- Plans: all plans, including free. In the same doc's comparison table,
/boostand/teamworkare paid plans only. - Surfaces: the Antigravity App and the Antigravity CLI. The doc lists no IDE or IDE extension, and Google's slash-command catalog lists
/swarmfor “App, CLI”. - Business and enterprise accounts: only where an organization admin's settings allow it. The App's v2.33.0 release, dated November 17, 2026, is the one that opened
/swarmto these accounts. - Versions: App v2.31.0 (November 9, 2026) and CLI v1.5.5 (November 10, 2026) added it. Google's changelog notes that new versions roll out gradually and may take a few days to reach every user.
What a swarm costs
Google publishes no price and no quota figure for a swarm. What it publishes is a warning, in three places:
- The doc: “Every worker is its own agent, so a swarm uses quota much faster than a single conversation.”
- The launch post: “As a fair warning, even with zero-token idle waits and dynamic model hot-swapping, parallel multi-agent systems consume quota much faster than a standard chat.”
- The CLI menu, where
/swarmis labeled “(Preview & Quota Heavy)”, because every worker is a separate agent that uses your quota.
A swarm uses your plan's quota, the same quota as any conversation. Google's plans page says rate limits track the amount of work the agent does, so a complex task uses more than a simple one. Google AI Ultra and Pro quotas refresh every five hours (Pro's until it reaches its weekly limit), and other plans refresh weekly. Pro and Ultra can keep going on purchased AI credits once the baseline runs out, under the AI Credit Overages setting: Never waits for the refresh, Always spends credits. In the CLI, the useG1Credits setting does the same job and is off by default. Antigravity pricing and limits
What Google's pages say keeps a swarm's quota use down:
- Waiting is free. A member asleep on the board uses no tokens, so you don't need to stop idle workers.
- Lighter models for routine workers. Google's launch post suggests the strongest model for the coordinator and the verifier, and faster models for the parallel edits.
- A quota stop is a pause. A member out of quota stops retrying and waits; it won't restart by itself when your quota refreshes.
A rule before your first swarm: check your usage (the App's Settings page, or /usage in the CLI), decide whether overages should be Never or Always, and give the swarm a task whose pieces you could name yourself. If you can't say how the work splits and how it's checked, you are asking the coordinator to guess, and every worker it adds spends quota.
Where it stops
- It is a preview, and it is still moving. The CLI shipped swarm fixes in three releases in a row, v1.5.5 to v1.5.7, between November 10 and 12, 2026.
- It wants a task that divides. A hard bug in tightly coupled code is
/boostterritory, a multi-day migration with milestones is/teamwork's, and both are paid plans. For everyday coding, Google says to use the default agent. - Shared by default. Workers edit your own workspace unless the coordinator gives them copies. A prompt that gives each piece its own files, as Google's examples do, keeps workers out of each other's way.
- Removal is permanent. A killed worker can't be revived, and removing one deletes its working copy.
- A paused worker stays paused. After a quota stop, it needs a new post, a model switch or your message.
- Approvals still need you. A worker waiting on a tool approval waits until you answer it.
- Two surfaces only. The doc covers the App and the CLI. A headless
agy -prun can start a swarm but can't open/swarm board, and Remote Control leaves out the coordinator's link to the Swarm UI, per Google's CLI release notes.
How /swarm differs from one long conversation and from subagents
Google's launch post draws the line in two steps. A single agent “works well for scoped tasks, but breaks down when a change spans dozens of files and test suites.” Subagents spin off isolated helpers that are “powerful for delegating one-off tasks, but still bottlenecked by a single coordinator context reviewing, synthesizing, and routing every step.”
The subagents doc puts the difference in one sentence: subagents report privately to the agent that started them, while swarm workers coordinate on one shared board with @mentions, and idle workers wait without using tokens until someone mentions them.
Source: Google's comparison table in the Swarm doc, as of November 23, 2026. The same table puts /boost at seconds to hours and /teamwork at hours to days.
Coming from Claude Code? How Claude Code's subagents work · Google Antigravity vs Claude Code
Google's worked example: three handlers, three workers, one verifier
This is Google's example from the doc, not a run of ours. The prompt names the files, the split and the check:
/swarm Add input validation to the three API handlers in src/routes/users.ts, src/routes/orders.ts, and src/routes/products.ts. Give each handler its own worker, add tests next to each handler, and have a verifier run npm test when they finish.According to the doc, the coordinator adds one worker per handler so no two workers edit the same file, and a @verifier that runs the tests and reviews all three diffs.
As of Nov 23, 2026 · Source: Google Antigravity, Swarm (/swarm) docs, Example prompts
Three things make the prompt work: each piece has its own file, the prompt says how the work splits, and it says how it is checked. Google's other example prompts keep that shape for other jobs.
A second model as the checker:
/swarm Add retry with exponential backoff to the HTTP client in pkg/httpclient and the webhook sender in pkg/webhooks. Run the verifier on a different model than the workers, and have it check for race conditions and run go test -race ./....A read-only investigation:
/swarm Find out why our CLI takes four seconds to start. Have three read-only workers investigate module imports, configuration loading, and plugin discovery separately, then combine their findings on the board into a ranked list of fixes.Test repair across packages:
/swarm Run pytest across the repository, group the failing tests by package, assign one worker per broken package to fix the failures without deleting assertions, and have a verifier re-run the full suite.Inside Google, the launch post says, engineers spent five weeks running swarms on multi-package migrations, root-cause investigations that crossed subsystems, and architectural redesigns.
Is Antigravity's /swarm free?
It is on every plan, free included, as of November 23, 2026. It runs on your plan's agent quota, and Google warns that it uses that quota much faster than a single conversation.
How many agents does a swarm use?
Google sets no fixed number. The coordinator decides how many workers to add, usually adds one verifier for every two to four workers, and adds a monitor.
Does every worker get its own git worktree?
No. Workers share your workspace by default. The coordinator can give each worker its own working copy when several edit or build at the same time.
Can I use /swarm in the Antigravity IDE or an IDE extension?
Google's doc lists the Antigravity App and the Antigravity CLI only.
Can workers run on different models?
Yes. Ask for it in the prompt, such as running the verifier on a different model than the workers. The model must be one you can choose in the model picker.
Where to go next
The best AI coding agents
How Antigravity sits among the coding agents worth paying for, and which fits which job.
New to the product? Start with what Google Antigravity is and how to start. Running agents that wake on their own is a different pattern: always-on agents.
Swarm (/swarm)
Google’s documentation for /swarm: how it works, the Swarm UI, the board keys and the example prompts.
- Published
- Category
- Build








