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

Antigravity Swarm: How /swarm Splits, Builds and Checks a Task

/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.

Google Antigravity's documentation page for the Swarm (/swarm) command
Google Antigravity: the Swarm (/swarm) doc

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:

  1. 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-tests or @docs. For a pool of similar workers, it can add a numbered group, @fix-1 through @fix-4.
  2. 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.
  3. A verifier checks the work. The coordinator usually adds a @verifier for 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.
  4. Everyone talks on the board. Assignments, questions, diff summaries and test results are posts, addressed with @name, @group or @all. Workers never message each other privately, so the whole exchange stays in one place, in order.
  5. 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.

The coordinator hands out the work. A verifier checks it.One /swarm run, as Google’s doc describes it
One swarm
1 · CoordinatorSplits and namesOne worker per file or package, each with a public brief
2 · WorkersBuild in parallelEach in its own conversation, from a clean context
3 · @verifierReads diffs, runs testsSends problems back to the worker who wrote the code
4 · CoordinatorReports to youIt judges what comes back and does no technical work itself
On the board the whole time
Mentions@name, @group or @all; no private messages between workers
@monitorPosts only if every member goes quiet before the work is done
Waiting membersAsleep on the board, using no tokens until mentioned

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

StateWhat it means
Active (working)Running a turn: thinking, running a tool, or waiting on the model.
WaitingAsleep on the board, using no tokens until a post mentions it.
KilledRemoved from the swarm. It can't be revived; the coordinator adds a new worker instead.

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.

  1. Start a conversation in your project, type /swarm and press Tab (or Enter) to insert the command. Then describe the task.
  2. 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.
  3. Keep working with the coordinator in the main conversation. Ask it for status, or give it new instructions, at any time.

This is Google's own starting prompt, and what the doc says the CLI shows around it:

Starting a swarm in the Antigravity CLI, with Google’s example prompt (an illustration from the docs)

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.

Antigravity App: the Swarm paneAntigravity CLI: the live board
Open itThe Open the Swarm UI link, or Overview › Plugins › Swarm/swarm board, Alt + S, or the swarm's status row
The feedBoard: each post's sender, recipients, number and time; unread posts below a New divider; Search, Filters, FollowPosts, with the selected post in full in the Message pane
The membersMembers: the coordinator, then Active, Standing by and a collapsible Retired group, each with its status, model ID and latest postRoster: each member's state (working, waiting, killed), when it last posted and its model
The historyGraph: who mentioned whom, arrows weighted by post count, with replay controls and Live[ and ] step to the previous or next post in the Message pane
Talk to one workerOpen its conversation from Members, or Subagents in OverviewStart the prompt with @ and its name

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:

KeyWhat it does
Tab / Shift + TabMove between Roster, Posts and Message
pFilter the feed to one member, or to the selected post's author
oOpen the selected member's conversation
zZoom the focused pane, or restore the layout
fFollow mode on or off
qClose the board and return to the prompt

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, /boost and /teamwork are 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 /swarm for “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 /swarm to 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 /swarm is 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 /boost territory, 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 -p run 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.

Subagents/swarm
Best forA focused side task: codebase research, browser checks, a test runBroad tasks that split cleanly across independent files, packages or investigation tracks
How agents coordinateEach runs in the background and reports back to the agent that started itA coordinator splits the task across named workers and a verifier on one shared board
How you startAutomatic delegation, or an @subagent mention/swarm and a task; it starts at once
WorkspaceCurrent workspace, or an isolated branch or working copy when requestedCurrent workspace by default, or per-worker copies for overlapping edits
VerificationThe parent agent checks the subagent's replyA dedicated @verifier reviews diffs and runs tests before sign-off
Typical horizonSeconds to minutesMinutes to hours
Plan tierAll plansAll plans

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:

Text
/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.

One worker per handler, so no two workers edit the same fileGoogle’s example prompt, split the way its doc says the coordinator splits it
The split
Workersrc/routes/users.tsInput validation, with tests next to the handler
Workersrc/routes/orders.tsInput validation, with tests next to the handler
Workersrc/routes/products.tsInput validation, with tests next to the handler
The check
@verifierRuns npm testReviews all three diffs
CoordinatorReports the resultTo you, in the main conversation

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:

Text
/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:

Text
/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:

Text
/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

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.

Published
Category
Build
Related Articles
Devin AI: What It Is, What It Costs, and How to Start

Devin AI: What It Is, What It Costs, and How to Start

See how Cognition’s Devin turns a ticket into a pull request, what it costs to try, and when to use Cloud or Desktop alongside Cursor and Claude Code.Nov 23, 2026Build
Codex Usage Limits, Reset Times and the December Change

Codex Usage Limits, Reset Times and the December Change

Check your remaining Codex usage in the app, CLI or web. See which limits reset, how model choice affects your allowance and what changes in December.Nov 23, 2026Build
Cursor vs Codex

Cursor vs Codex

Choose Cursor for hands-on editing or Codex for delegated tickets. Compare model access, seat limits, code review and the work of switching.Nov 23, 2026Build
Google Antigravity: What It Is, What It Costs, and How to Start

Google Antigravity: What It Is, What It Costs, and How to Start

Learn how Google’s coding agents work, which plan you need, and how to go from a project folder to a change you can review.Nov 23, 2026Build
Claude Code’s Code Mode: What Changes Between Tool Calls

Claude Code’s Code Mode: What Changes Between Tool Calls

Claude can run several tool calls in one JavaScript step. See who can enable Code Mode, what reaches the model, and where approvals and redaction apply.Nov 22, 2026Build
Augment Code Review

Augment Code Review

Should your team pay for Augment Code? See how it finds cross-repository dependencies, where its index stops, and how shared usage affects the bill.Nov 21, 2026Build
Vercel Board

Vercel Board

Set up Vercel Board for two agents and a developer. Track a fix through review, choose channel permissions, and sync the thread with Slack or GitHub.Nov 20, 2026Build
Gemini API Tool Retrieval: How an Agent Loads a Schema on Demand

Gemini API Tool Retrieval: How an Agent Loads a Schema on Demand

Follow a refund from schema search to function call, choose server-side or client-side retrieval, and see when deferring Gemini tools costs more.Nov 20, 2026Build
Newsletter

One letter, every Sunday.Working systems, not hot takes.

Weekly. No spam. Unsubscribe anytime.