Google Antigravity Swarm: What /swarm Is and How to Use It
Google Antigravity's /swarm coordinates parallel agents. Learn how to start a team, validate code, and check available models, plans, and quota usage.
by Ailton Carvalho · AI and automation · November 11, 2026 · 16 min read
In this article
- The short answer
- 1. What /swarm is in Google Antigravity and how its architecture works
- 2. Gemini 4 Carbon and swarm models: which role each one plays
- 3. Plans: access to /swarm and access to Gemini 4 Carbon
- 4. Single agent vs. swarm: when it makes sense
- 5. How to use /swarm in the Google Antigravity app and CLI
- 6. API pricing, quotas, and practical limits
- A ready-made prompt for your agent
- Frequently asked questions
- Conclusion
The short answer
Google Antigravity Swarm is a multi-agent orchestration feature that turns a single prompt into a coordinated team of autonomous agents working in parallel through a shared message board. Released in preview on November 10, 2026, alongside the Gemini 4 Carbon frontier model and version 1.5.5 of the official CLI, the /swarm command serves projects where work can be split into independent tasks across multiple files, modules, or tests. The coordinator assigns tasks through the board, with options for isolated copies and dedicated verifiers. The tool is available in both the graphical app and the command line, but requires operational care: it uses quota substantially faster than a regular session. For anyone already setting up local tools with MCP servers in Claude Code and Cursor, swarm adds a complementary layer of collaborative automation.
1. What /swarm is in Google Antigravity and how its architecture works
According to the official Antigravity blog, centralizing review, synthesis, and task assignment in the coordinator's context can create a bottleneck. That does not mean all subagent use is sequential. Swarm is designed to let workers communicate with each other on the shared board while the coordinator stays in touch with the user.
The /swarm feature uses a decentralized architecture with four main components:
- Coordinator: the main session that talks directly to the user. It does not write implementation code, to avoid becoming the team's bottleneck; its job is to define scope, create specialized workers, monitor the board, and report the final result.
- Specialized workers: parallel agents with their own independent contexts. Each worker receives a public assignment on the board defining exactly which file or package it owns and what criteria determine when the task is complete. By default, workers use the same model as the main conversation, but you can ask the coordinator for another model enabled in the picker.
- Adversarial verifier: an independent agent whose sole job is to read the code diffs produced by workers, run test suites, and flag problems before the coordinator consolidates the delivery. Separating roles does not automatically change the model; the verifier uses the session's model unless you request another one. The documentation says the coordinator typically adds one verifier for every two to four workers.
- Shared message board: a persistent, linear feed where all agents post their actions, questions, and results. Workers do not exchange private messages with each other. Direct messages from the user to a worker, however, bypass the board.
Waiting on the board does not consume tokens. An agent with no immediate tasks enters the waiting state and uses zero tokens while sleeping. It wakes automatically when another member mentions it on the board. The user can also message the worker directly through the documented interface. According to the documentation, the coordinator also adds a stall monitor (@monitor), which stays silent and wakes only if the entire swarm becomes inactive before reaching its goal, alerting the coordinator to redirect the work.
At the file system level, workers share the workspace by default. When edits or builds will run simultaneously, ask the coordinator for an isolated working copy for each worker. In Git repositories, the isolated copy preserves staged, unstaged, and untracked changes. Outside version control, the changelog allows requesting an isolated copy of folders with up to 100,000 entries and 4 GiB. Isolated copies separate each worker's edits; integrating the diffs still requires review and validation.
2. Gemini 4 Carbon and swarm models: which role each one plays
The official November 10, 2026 announcement presents Gemini 4 Carbon as a model for extended reasoning, software engineering, cybersecurity, and scientific research. That is the manufacturer's description. It does not replace evaluating results in your project.
The Antigravity blog suggests Carbon for coordination, architecture, and adversarial verification, while lighter models handle parallel edits and routine implementation. The general announcement states that Carbon uses more tokens than Argon to explore alternatives and verify results. Swarm does not require a single specific model configuration.
By default, workers use the main conversation's model. You can request a different model for a specific role, as long as it is available in your account's picker. Gemini 4 Argon and Gemini 3.8 Flash appear in the official table, with availability varying by plan. Assigning Flash to a targeted edit is an organizational suggestion, not a guarantee of quality or savings.
To standardize behavior, constraints, and coding conventions across different models in the same repository, consider the guideline alignment documented in RuleSync for consistent rules across AI agents. If a worker needs another model, you can ask the coordinator to transfer a waiting worker to a different model available in the picker; the conversation is preserved without restarting the task from scratch.
3. Plans: access to /swarm and access to Gemini 4 Carbon
Access to the /swarm command and access to the Gemini 4 Carbon model follow different subscription requirements. The swarm documentation lists availability for Google AI Pro and Google AI Ultra in the app and CLI. The model table reserves Carbon for Ultra and Enterprise, with no access on Free, Plus, or Pro.
This is not a contradiction between pages: a coordination feature can work with other models. On Pro, Argon requires a paid subscription or a trial with an eligible premium device. Some partner models also require paid Pro. Check your account's picker before designing the team.
My recommendation is to evaluate the feature you need, the models enabled, and the quota before choosing a subscription.
Carbon's paid API is a separate way to access the model. The per-token prices listed below are neither Antigravity's monthly subscription fee nor an automatic estimate of a swarm's cost.
4. Single agent vs. swarm: when it makes sense
My recommendation is to start with one agent when the change is localized or depends on frequent human decisions. Consider swarm when there are workstreams that can advance independently, such as testing separate modules or investigating different areas of the code. The documentation suggests dividing work by files, packages, or questions.
Parallelism does not establish how much time you will save. Briefing, review, and integration also take work. If everyone needs to edit the same file, rethink the division before multiplying workers. For a Brazilian business, the useful criterion is a verifiable delivery with acceptable quota usage.
| Criterion | Single agent | Documented swarm behavior |
|---|---|---|
| Organization | One main conversation to handle the request | Coordinator and workers in their own conversations |
| Review | Must be specified in the request | Coordinator typically adds one verifier for every 2 to 4 workers |
| Files | Scope defined for the session | Shared workspace by default; isolated copies can be assigned |
| Waiting | Depends on the workflow used | Members waiting on the board use no tokens |
| Quota | One conversation as a baseline | Documentation warns of much faster usage |
Source: official Swarm documentation, read on 2026-11-11. The single-agent column provides an organizational baseline, without a measured comparison of speed or cost.
5. How to use /swarm in the Google Antigravity app and CLI
The walkthrough below adapts the official utility-testing example. The paths are examples from the documentation, not files Antigravity creates automatically. The reader operates the interface commands; the coordinator assigns the work and monitors execution.
Step 1: Check access and the project
Confirm that you have an app with swarm available or a CLI with the feature, introduced in version 1.5.5, a Pro or Ultra plan, and models enabled in the picker. Sign in yourself through the official interface if needed. Do not give the agent your credentials.
This example requires the project to already contain src/utils/date.ts, src/utils/currency.ts, and a test script configured for the command below. Ask the agent to check the files and configuration before editing. If any requirement is missing, it must report the incompatibility and stop this walkthrough, without inventing files or silently adapting commands.
npm test
Step 2: Activate the feature and describe the request
Open the conversation in the project. You, the reader, type /swarm, press Tab to insert or complete the command, and add the request. In the app, the documentation also allows Enter to insert it. A translated example of the official request is:
/swarm Add unit tests for src/utils/date.ts and src/utils/currency.ts and run npm test to verify.
To use this article's copyable prompt, enter its content as the request after inserting /swarm. Sending the block as an ordinary message is not the documented way to invoke the feature. The agent does not need to simulate typing or operate interface shortcuts.
Step 3: Divide tasks, isolate edits, and plan for review
Ask the coordinator to divide tests by file, publish each worker's boundaries on the board, and assign isolated copies if edits or builds will run simultaneously. Include a verifier in its own conversation to review diffs and run the suite. If you request a different model for the verifier, choose one available in the picker.
The documentation says the coordinator typically adds one verifier for every two to four workers. That ratio describes the usual organization; it does not replace a coherent division of work. Require every assignment to state what can change, what must be preserved, and what result proves delivery.
Step 4: Open the monitoring view
In the CLI, open the board by entering the command below in the conversation or pressing Alt+S:
/swarm board
On macOS, the shortcut depends on the terminal sending Option as Alt. The board command is the documented alternative. In the app, click Open the Swarm UI in the coordinator's response. The panel provides Board for messages, Members for members, and Graph for mention relationships and history playback.
In the CLI, p filters the feed to a member, f toggles following posts, and z expands the focused panel. Use q to return to the prompt. These controls are actions for the reader, not instructions for the model to execute interface commands.
Step 5: Adjust requirements and handle pauses
Communicate changes to the coordinator in the main conversation; it forwards the instructions through the board. To speak directly to a worker in the CLI, start the message with @ followed by its name. In the app, open its conversation from the Members tab. The user's direct message goes only to that worker.
If work pauses because of quota, record the error and decide how to resume. According to the documentation, a new board post, a message to the member, or a model change can reactivate it. A quota refresh alone does not restart the work. To switch models, ask the coordinator for another available model; transferring a waiting worker preserves its conversation.
Step 6: Review, test, and fix
Ask the verifier to read the diffs and run the example's test command. If it finds failures, it should report them to the responsible worker. Once the cause is fixed, request another verification. When running commands, show each command before executing it and stop at the exact error to analyze it; do not treat an interrupted test as a pass.
Step 7: Check integration before removing members
Check the diffs incorporated into the chosen working branch and rerun the suite on the integrated code. Before removing any worker with an isolated copy, confirm that its changes have been incorporated. The documentation says removal is permanent and deletes the working copy. Waiting members use no tokens, so there is no need to remove them to save tokens while they wait.
Step 8: Present a report with evidence
Request the final report only after integration and testing. It should identify changed files, summarize integrated diffs, provide the suite's result on the integrated code, and list any outstanding issues. Check the board for assignments, message exchanges, and review. The verifier's conversation and execution on the integrated branch must support the reported result.
The evidence used in this walkthrough combines integrated diffs, a passing suite, and the review record on the board. A message saying the work is finished does not, by itself, prove that tests ran or that changes reached the code being delivered. This article describes the documented procedure; it does not report a firsthand execution of the feature.
6. API pricing, quotas, and practical limits
In the CLI, the command menu identifies /swarm with the literal label "(Preview & Quota Heavy)", warning about quota usage from each separate agent.
For those using Gemini 4 Carbon through the API in Google AI Studio or Gemini for business, the official announcement by Koray Kavukcuoglu set introductory promotional prices effective through November 30, 2026:
- Input tokens: $2.00 per million tokens.
- Output tokens: $10.00 per million tokens.
- Prices after the promotional period: starting December 1, 2026, prices rise to $4.00 per million input tokens and $20.00 per million output tokens.
On Antigravity's monthly plans for end users, usage follows a rate-limit structure. Pro and Ultra have quotas that refresh every five hours and weekly usage limits. On Pro, refreshes apply until the weekly limit is reached. Usage depends on the work the agent performs, and limits may change. Pro and Ultra allow additional credits for overages, with usage charged at Gemini Enterprise rates. The page documents the AI Credit Overages setting: Never prevents automatic credit usage; Always allows credits to be used when the base quota runs out. Check this choice before starting an extensive task, without assuming the subscription includes additional usage.
CLI 1.5.5 documents pauses when quota is exhausted. The worker pauses instead of retrying, and the error appears once. A quota refresh does not restart it automatically: a new board post, a message to the worker, or a change to its model is needed to resume execution.
A ready-made prompt for your agent
With the project open, type /swarm, press Tab, and paste the text below as the request, filling in the placeholders. The reader inserts the command and operates the board; the coordinator organizes, monitors, and validates the work following the walkthrough above.
Respond in English (United States). Act as the swarm coordinator.
Reader details:
- Repository or folder: <PROJECT_DIRECTORY>
- Working branch: <WORKING_BRANCH>
- Verifier model, available in the picker: <VERIFIER_MODEL>
- Request: add tests for src/utils/date.ts and src/utils/currency.ts.
Rules:
- never print, paste into the chat, or write to a version-controlled file any password, token, API key, or login code.
- show each command before running it and stop at the exact error.
- do not invent commands.
Follow these steps in order:
1. Check for an app with swarm available or a CLI with the feature introduced in version 1.5.5, a Pro or Ultra plan, and enabled models. If sign-in is needed, leave that action to the reader through the official interface. Check the folder, the two specified files, and the script configured for npm test before editing. If a requirement is missing, report the incompatibility and stop the walkthrough.
2. The reader inserts /swarm with Tab and adds this request in the project conversation. Do not simulate this action or send interface commands on your own.
3. Divide tests by file and publish scope and criteria on the board. Assign isolated copies if edits or builds will run simultaneously. Include a verifier in its own conversation, using <VERIFIER_MODEL> if available. The documentation describes one verifier for every two to four workers as the usual organization.
4. Tell the reader to open /swarm board or use Alt+S in the CLI; on macOS, the shortcut depends on the terminal. In the app, point to Open the Swarm UI in the response. Explain Board, Members, and Graph; in the CLI, p filters, f follows, z expands, and q returns to the prompt. These are the reader's actions.
5. Receive adjustments in the main conversation and forward them through the board. Explain direct messages using @ followed by the name in the CLI or the conversation in Members in the app. If quota causes a pause, record the error; a post, message, or model change can resume the member. A refresh alone does not restart it. If requested, transfer a waiting worker to an available model, preserving the conversation.
6. Ask the verifier to review diffs and run npm test. Report failures to the responsible worker, fix the cause, and repeat verification. Do not count an interrupted run as a pass.
7. Check the diffs incorporated into <WORKING_BRANCH> and run npm test on the integrated code. Before any removal, confirm that the changes from each isolated copy have been incorporated. Removal is permanent and deletes the copy; waiting members can remain without using tokens.
8. Only then present changed files, a summary of integrated diffs, test results, and outstanding issues. Tell the reader to check assignments, messages, and review on the board, along with the verifier's conversation.
Final validation:
Require integrated diffs in the specified branch, a passing npm test run on the integrated code, and a review record on the board, supported by the verifier's conversation. Report any outstanding issues.
Only say you are finished when this evidence is available and there are no outstanding task issues.
Frequently asked questions
What is Google Swarm?
Google Antigravity Swarm is a native multi-agent orchestration feature released in preview on November 10, 2026. It lets a developer run a team of specialized agents in parallel from a single command. Workers share the workspace by default, but you can request isolated working copies for each worker when edits run simultaneously, while verifiers independently audit tests and coordination is recorded on a board shared by the team.
How do I use /swarm in Antigravity?
To use the feature, open the Antigravity App or CLI, type /swarm, press Tab, and add a detailed description of what you want to build or test, specifying modules and success criteria. The coordinator analyzes the request, creates specialized workers for each independent part of the project, and provides real-time monitoring. In the terminal, you can open the interactive message board at any time using the board command in the conversation or pressing the Alt+S shortcut.
Is Gemini 4 Carbon available on the Google AI Pro plan?
Not for direct use in Antigravity. According to the official model table in the technical documentation, Gemini 4 Carbon is restricted to Google AI Ultra subscribers and Gemini Enterprise business customers. Although the /swarm command is enabled for Google AI Pro users, subscribers on that plan run the swarm using Gemini 4 Argon, Gemini 3.8 Flash, or partner models. On Pro, Argon access requires a paid subscription or a trial with an eligible premium device; some partner models require paid Pro. Use only models enabled in your account's picker.
Why is the /swarm command marked as quota-heavy?
The command carries a high quota usage warning because each worker created by the coordinator operates as an independent agent session, with its own context and concurrent API calls. The documentation warns that swarm uses quota much faster than a single conversation. This does not provide a fixed cost multiplier: usage depends on the work performed and the models used.
What happens when a swarm worker runs out of quota?
When it reaches the configured model's quota limit, the worker pauses instead of generating retries that would consume additional resources. The worker pauses and the error appears once. A quota refresh does not restart it automatically: it needs a new board post, a message to the worker, or a switch to another model available in the picker, preserving the conversation history.
Does swarm work in projects that do not use Git?
Yes. Workers share the workspace by default, but you can request an isolated working copy for each worker when needed. Outside version control, the Antigravity CLI version 1.5.5 changelog allows requesting an isolated copy of folders with up to 100,000 entries and a total size of 4 GiB.
Conclusion
The /swarm feature organizes parallel work with a coordinator, workers, and review recorded on the board, but delivery still requires integrated diffs and passing tests. Choose models available in your account and a task that can be divided, taking quotas and additional credits into account. The documentation consulted on 2026-11-11 distinguishes access to the feature from access to Carbon and keeps swarm in preview. If you need an agent to read your ERP, store, or database, that calls for a custom integration (MCP, webhook, queue). Describe the system and what you want to automate at