Quick answer: Google Antigravity’s /swarm mode is a preview feature that coordinates multiple AI subagents in parallel. Instead of one agent handling every step, Antigravity can create a coordinator, specialized workers and adversarial verifiers to plan, build and test large software changes together.
What is /swarm in Google Antigravity?
Google introduced /swarm alongside Gemini 4 Carbon in Antigravity. It is designed for long-horizon work where a single agent becomes a bottleneck, such as large refactors, broad test migrations or changes spanning many files.
The system can divide work across isolated git worktrees so parallel edits do not collide. A coordinator distributes the work, specialized agents operate in parallel and verifier agents challenge the result by running tests and reviewing diffs.
How Swarm Mode works
- Coordinator: interprets the goal and organizes the work.
- Parallel workers: handle specialized tasks in isolated worktrees.
- Shared message board: lets agents coordinate progress without forcing every detail through one context.
- Verifiers: test and challenge changes before completion.
Why Google built Swarm Mode
A single coding agent can work well for scoped tasks, but large projects often require planning, implementation, testing and review at the same time. Google says Swarm Mode is intended to reduce the coordinator bottleneck and preserve context across longer jobs.
Which model powers /swarm?
The initial Antigravity rollout paired /swarm with Gemini 4 Carbon, Google’s strongest Gemini 4 option for long-horizon software engineering and other demanding professional tasks. Antigravity also supports newer Gemini models such as Gemini 4 Neon for eligible users.
When should you use /swarm?
- Large codebase migrations
- Changes spanning many files and tests
- Tasks that benefit from parallel implementation
- Work that needs independent verification
- Long-running agentic coding projects
FAQ
Is Google Antigravity Swarm Mode available now?
Yes, Google lists /swarm as a preview feature in Antigravity.
Does /swarm use multiple agents?
Yes. It coordinates a primary system with specialized parallel workers and verifier agents.
Why use isolated git worktrees?
They allow agents to edit in parallel without creating direct file conflicts in one working tree.

