How to Use Google Antigravity, a Complete Agent Workflow Guide
A hands-on guide to Google Antigravity covering setup, plans, rules, permissions and an eight-phase agent workflow, from first plan to Cloud Run deploy.

- 1.What is Antigravity and which version should you pick?
- 2.How do you install Antigravity and what do you need to get started?
- 3.Which plans and models do you need to do real work?
- 4.How do you work with agents without losing control?
- 5.Phase 0, how do you set up rules and permissions before the first prompt?
- 6.Phase 1, how do you write a spec with /grill-me?
- 7.Phase 2, what should you check in the agent's plan?
- 8.Phase 3, when is it safe to let the agent run alone with /goal?
- 9.Phase 4, how do you get an agent to write tests that actually test?
- 10.Phase 5, which checks do you need before trusting the code?
- 11.Phase 6, how do you document a project built by an agent?
- 12.Phase 7, how do you deploy the service and keep an eye on it?
- 13.How do you run several agents in parallel without conflicts?
- 14.How do you extend Antigravity with skills, MCP and the SDK?
- 15.Which mistakes most often wreck an agent project?
- 16.Key Takeaways
- 17.Frequently Asked Questions (FAQ)
- 18.Conclusions
- 19.Rate this article
- 20.Related Articles
- 21.Looking for a Software Engineer?
Google Antigravity is Google's development environment where AI-model agents plan, write, test and document code while the developer keeps hold of the decisions. You can try it free with a personal Google account (weekly limits apply), and it pays off most when a project moves in phases, with one role and one reviewable artifact at every step.
On 4 December 2026 Google updated Antigravity with a new interface for running several agents in parallel, covering Git worktrees, cloud agents and a side thread that works with any model.
On usage, Pichai wrote on December 5 that Antigravity daily active users are up over 60%, without saying from what base.
Update of December 1, 2026
Varun Mohan announced on X a Gemini quota reset for everyone and the removal from Antigravity of models such as Gemini 3.8 Flash and Argon. The model table now lists them for Enterprise only. This guide shows the models and plans in force today.
Antigravity downloads from antigravity.google and signs in with a personal Google account. You need to be at least 18 and hold an account tied to a supported country. The individual plan costs $0 a month with weekly limits and, like Google AI Plus, offers only Gemini 4 Hydrogen. Neon and Carbon require a paid Google AI Pro (or a trial on eligible devices) or Ultra, while the Claude 5.5 models go to non-trial Pro and Ultra.
Developers run into it in three ways. Some open it as an editor and let the agent complete functions, others treat it as a control panel for delegating whole tasks and reviewing the results, and a third group launches it from a terminal on a server. Google introduced it as an agent-first IDE, and with version 2.0, unveiled at Google I/O 2026, it turned the product into a family of tools. This guide does not list buttons. It builds a method, because an agent's ceiling rarely sits in the model and almost always sits in how you hand it the work.
After a suspended account went viral, Google is expanding SMS verification from December 1.
If you pair Gemini with other agents, check the updated limits for Antigravity used with Claude Code and Codex.
You can also pull Search Console data into the agent, as shown in our guide to Search Console MCP for Claude Code, Codex and Antigravity.
After Jules and Antigravity, Google is trying another idea of agent, one that works toward goals rather than single tasks: here is how Stitch Loop works inside the workspace.
For Antigravity's first birthday Google reset everyone's quota, but the plan ceilings stay: here is what the reset changes.
Google Labs has also launched Stitch Loop, an agent that keeps improving live products, reading code and live metrics and opening pull requests on security, latency and accessibility.
What users built with Hydrogen in the first 24 hours, with times and costs, is covered in our roundup of Gemini 4 Hydrogen demos.
One concrete use of subagents, compatible with Antigravity and Claude Code, is Google's open source plugin for reviewing a design before the code, Elephant-Goldfish Model for Claude Code.
To run several agents in parallel there is /swarm, and the step-by-step guide explains how to use /swarm in Antigravity.
Since November 12 the Antigravity picker also offers Gemini 4 Hydrogen, the execution model built to work alongside Carbon, which at launch was reserved for AI Pro and Ultra subscribers and which the model table now opens to every plan.
Update of November 10, 2026, Gemini 4 Carbon is now available and its price doubles on December 1.
Meanwhile, Gemini 4 Carbon has surfaced in the Antigravity build.
To stay grounded we follow one example project from start to finish, a small service that crawls a website and flags broken links. The project is deliberately simple. It shows how prompts, permissions and checks change when you move from "ask for everything at once" to phased work. Every product detail comes from the official Antigravity documentation as read on November 1, 2026, and where a page says nothing, I say so.
On licensing, cost per execution and where these automations break, see the guide on what no-code automation really gets done.
What is Antigravity and which version should you pick?
Antigravity is now a family of five surfaces sharing the same agents, rules and artifacts. The choice depends on where you want to watch the work happen, not on what each version can do.
| Surface | What it is | When to choose it |
|---|---|---|
| Antigravity App | The 2.0 desktop application, editor-free, built to run several agents in parallel with projects, worktrees and dynamic subagents (macOS, Windows, Linux) | You delegate a lot and review results when a task ends |
| Antigravity IDE | Standalone editor with the Agent Manager built in, opened with Cmd+E (Ctrl+E on Windows and Linux) | You want to read and fix code while the agent works |
| Antigravity CLI | The agy command in a terminal | Servers, SSH sessions, scripts |
| Extensions | VS Code 1.90+, JetBrains 2026.2.1+, Visual Studio 2026 (17.8+), Zed 0.140.0+, Xcode 27 beta 6+, Eclipse 2026-06+ in public preview | You don't want to switch editors |
| Antigravity SDK | The google-antigravity Python package (Python 3.10 or later) | Building your own agents |
One detail matters for anyone choosing today. In the Antigravity 2.0 announcement (May 19, 2026) Google says the Agent Manager stays available in the IDE but will be removed in a future release, since multi-agent work is moving to the app. Anyone starting from scratch should learn the app's flow and treat the IDE as a finishing editor. The announcement post also lists the headline additions, namely dynamic subagents, asynchronous task handling, JSON hooks, scheduled tasks and live voice transcription, while remote access and cloud agents are flagged as future launches.
How do you install Antigravity and what do you need to get started?
The app needs macOS 12 or later (Apple Silicon or Intel), 64-bit Windows 10 or Windows 11, or a Linux distribution with glibc 2.28 or newer (Ubuntu 20, Debian 10, Fedora 36, RHEL 8). Sign-in works with a personal Google account or Gemini Enterprise, and Google Workspace accounts must be enabled by an administrator. Full instructions live on the Install page.
The CLI installs with a single command and the binary lands in ~/.local/bin/agy. Windows has equivalent scripts for PowerShell and the command prompt.
curl -fsSL https://antigravity.google/cli/install.sh | bash agy --version agy -p "read the structure of this repository and describe it in five lines"
The -p flag runs a single prompt and prints the answer, while -i opens the interactive session with an initial prompt. A prompt written as a bare argument is not accepted, because in version 1.4.5 the CLI replies with an error. With -p nobody is there to approve permissions, so a tool that asks for them is refused and the command ends with the message "no output produced". Reading files works without any rule, whereas in my test /plan and /grill-me stopped exactly that way. The documentation points to two ways out, a rule in permissions.allow of ~/.gemini/antigravity-cli/settings.json (for example command(git status)) or --dangerously-skip-permissions, which should be kept for a throwaway folder.
Before installing, note two constraints the official FAQ spells out. Antigravity is not available to anyone under 18, and the account must be tied to a supported country (the list is organized by region and includes Italy, along with many countries across the Americas, Europe, Africa, Asia and Oceania). The Terms of Service forbid using Antigravity OAuth tokens directly inside third-party software, while the version of December 1, 2026 lets Claude Code and other agents call the official, unmodified CLI. If you are migrating from Gemini CLI, the steps are in the agy CLI guide.
Which plans and models do you need to do real work?
The individual plan costs $0 a month and, like Google AI Plus, has a quota that refreshes every week, so it is enough to test the method but not to keep an agent busy all day. Google AI Pro and Google AI Ultra refresh the quota every 5 hours up to a weekly cap (higher on Ultra) and can draw on purchased AI credits once the quota runs out. The Pro trial has a lower quota and fewer models. The "AI Credit Overages" setting has two values, Never and Always. The Plans page publishes no numbers for the caps, so I won't invent any. Businesses go through Google Cloud, with Standard and Plus plans at $30 per seat per month (see the Pricing page).
The /usage command, which also works in the CLI with -p, shows the quotas you have left. In my test on November 1, 2026, my subscription split them into three groups, namely the Gemini models, the Claude and GPT models plus Gemini 4 Argon, the latter with its own weekly limit. The offer has changed since then, and the usage screen shown on the Models page has two groups, Gemini and Claude, each with a 5-hour limit and a weekly one. It pays to check them before you launch a long task.
On models, the reference is the Models page, which changes often. As of December 1, 2026, the individual plan and AI Plus have only Gemini 4 Hydrogen. AI Pro and Ultra add Neon (used in new conversations unless you pick another model) and Carbon, both of which require an eligible device on the Pro trial; Hydrogen remains the default model for Free, Plus and standard Pro trials. Claude Sonnet 5.5 and Opus 5.5 are available to non-trial Pro, Ultra and Enterprise. In the table, Gemini 3.8 Flash, Gemini 4 Argon, 3.7 Flash, 3.6 Flash and 3.1 Pro appear only for Enterprise. We track plan changes in our pieces on Argon and its exit from Antigravity and Claude Opus 5.5 in Antigravity.
Gemini models also have a reasoning level (Low, Medium, High, plus Extra on Neon and Hydrogen). The rule of thumb is simple. Medium for nearly everything, High only for the plan and for stubborn bugs, Low for formatting fixes. More reasoning burns more quota, so it is the first dial to turn down when the week runs dry halfway through.
How do you work with agents without losing control?
With one role and one artifact per phase. The classic mistake of people new to agents is the single prompt ("build me the app, test it and ship it"), which yields a result nobody can review because every decision is blended together. Splitting the work into phases forces the agent to leave behind a document, a diff or a test you can read in two minutes and correct before the cost of the error grows. It is the same idea as spec-driven development, brought into a tool that already has artifacts in its menu.
| Phase | Role to assign | Antigravity feature | What stays in the folder |
|---|---|---|---|
| 0 | Tech lead | Rules, AGENTS.md, permissions | Rules file |
| 1 | Analyst | /grill-me | SPEC.md with the requirements |
| 2 | Architect | Planning mode, implementation plan | Annotated plan |
| 3 | Developer | /goal on small tasks | Code on a branch |
| 4 | Tester (QA) | Dedicated prompt, shell | Tests with a simulated network |
| 5 | Reviewer | Review skill, /boost | List of findings |
| 6 | Technical writer | Walkthrough | README.md |
| 7 | DevOps | Terminal, /schedule | Live service and checks |
The role is no copywriter's flourish. Telling the agent "act as a tester" really does change the goal of the turn, because it shifts attention from "make it work" to "make it fail", which is also why a test phase written by the same agent that wrote the code still deserves a manual review.
Phase 0, how do you set up rules and permissions before the first prompt?
You write the rules before the code, because the agent rereads them every turn and you don't. Rules live in Markdown files. The recognized paths are AGENTS.md or GEMINI.md in the project folder, .agents/rules/*.md for rules split by topic, and ~/.gemini/AGENTS.md or ~/.gemini/config/rules/*.md for rules that apply everywhere. In per-folder rules the frontmatter decides when they activate, through a trigger field set to always_on, model_decision, glob or manual. To see what a good instructions file looks like, read the format comparison in AGENTS.md, DESIGN.md and SKILL.md.
# Link checker Python 3.12 service with FastAPI and httpx (async). Tests with pytest. ## Rules - Every command goes through make (make run, make test). Don't install global packages. - One function, one responsibility. No file longer than 200 lines. - Tests never make real network requests. Use respx to simulate responses. - Before writing code, show a plan and wait for my approval. - Don't touch .env or the deploy/ folder without asking.
I tried both cases with the CLI. A rule with trigger: always_on in .agents/rules/ was applied to every answer, while a file in the same folder with no frontmatter was ignored without any warning, as the documentation says.
Three limits on that page deserve attention, because they are the ones that cost you an afternoon. Each rules file can weigh at most 24,000 bytes, the total of always-on and global rules has a budget of 20,000 tokens, and a file with no valid frontmatter or a wrong trigger is silently discarded, with no error. If the agent ignores a rule, check this first.
Permissions are the second half of the setup. The app offers four presets, described on the Permissions page. Request Review asks for confirmation almost everywhere, Default is the compromise, Auto (preview, since version 2.23.0, unavailable on business or enterprise accounts) lets the agent decide when to stop, and Turbo switches off the terminal sandbox, allows unrestricted commands and grants access to the whole filesystem. For the first few days I would run Request Review or Default. Turbo, in my view, only makes sense inside a virtual machine or a container you can throw away. Allow, ask and deny lists apply in every preset and the most restrictive one always wins (Deny, then Ask, then Allow). The terminal sandbox works inside the workspace and temporary folders and has no network access by default.
On my account the CLI replied that --mode auto is not available and carried on in the default mode, so check that Auto is enabled on your account before you build your workflow around it.
Phase 1, how do you write a spec with /grill-me?
The /grill-me command makes the agent do the opposite of what it usually does. Instead of answering right away, it questions you about the requirements before implementing anything. You answer in writing and ask it to save everything to a file, so the spec outlives the conversation.
/grill-me I want a service that, given an address, crawls the pages of the same domain and returns the broken links. Ask me whatever you need about depth, request limits, redirect handling, output format and cases I don't need to cover. When I've answered, summarize everything in SPEC.md and stop.
The useful questions are nearly always the ones you wouldn't have thought of, like what to do with login-protected links or how many requests per second it is fair to send to someone else's site. If SPEC.md has no "out of scope" section, ask for one. That list is what protects you from invented features later. Anyone who wants to see the method applied step by step can pair this with Google's codelab on spec-driven development in Antigravity.
Phase 2, what should you check in the agent's plan?
In Planning mode the agent produces artifacts, meaning structured documents such as the implementation plan (also triggered with /plan), diffs, diagrams and browser recordings. The upside is that you can comment on the artifact before the agent touches your project files, and the Proceed button starts the work only once you agree. The page on the implementation plan describes the review actions and behavior.
/plan Read SPEC.md and AGENTS.md. Propose a folder structure, a list of modules with a one-line responsibility each, and an implementation order in steps that can be tested one at a time. Don't write code. Point out the risks and what is unclear.
When you read the plan, look for three things. Modules that do two jobs (split them), steps too big to verify (break them up) and dependencies added for no reason (remove them or justify them). A one-line comment on the artifact costs less than a diff to undo.
Phase 3, when is it safe to let the agent run alone with /goal?
The /goal command runs to completion without asking for input along the way. It is handy and dangerous in equal measure, so you use it only when the plan is approved and the task is small, with a success criterion a machine can check. "Implement the module that extracts links from an HTML page, until pytest passes" is a good goal. "Build the app" is not.
/goal Step 1 of the plan. Implement extract_links(html, base_url), which returns the absolute same-domain links, with no duplicates and no anchors. Write the tests with sample html, run make test, and fix until they pass. Work on a dedicated branch and stop after step 1 without starting the next one.
The closing sentence ("stop after step 1") is the real brake. Without it the agent tends to roll on into the next step, and by then you are reviewing five things at once instead of one.
Phase 4, how do you get an agent to write tests that actually test?
Tests written by the same agent that wrote the code tend to confirm it. The fix is to switch roles and give the agent the opposite goal, which is to find where the code breaks, with a hard rule on the network (already in AGENTS.md, but repeating it in the prompt costs nothing).
Act as a tester. Read the code in app/ without modifying it. Write tests in tests/ that try to break it: infinite redirects, wrong relative links, timeouts, responses with no content-type, huge pages. No real network requests, use respx. For every failing test list the probable cause, but don't fix the code.
"Don't fix the code" matters. A tester who repairs their own findings hides the defects, whereas a list of failures tells you how solid the developer's work was, meaning the earlier agent.
Phase 5, which checks do you need before trusting the code?
This is where the reviewer comes in, and it works best as a skill. A skill is a folder with a SKILL.md file (description required in the frontmatter, name optional) that sits in .agents/skills/ in the project or in ~/.gemini/config/skills/ to have it everywhere, and the CLI turns every skill into a slash command. Google is moving the old workflows in this direction too, so it pays to write repeatable procedures as skills from day one.
--- name: revisione description: Critical review of the current diff before merge --- Read the branch diff. Flag only real problems, in order of severity. Check error handling, unvalidated input, secrets in the code, new dependencies, and queries or requests with no limit. For each finding give file, line and a proposed fix. If you find no problems, say so in one line.
The skill works from the CLI too. With the file in .agents/skills/revisione/, the command agy -p "/revisione m.py" read the file and produced a list of problems sorted by severity, without changing anything.
For stubborn bugs there is /boost, available in the app and CLI on paid plans only. The Boost page describes it in three stages (strategy, parallel execution and verification with subagents, synthesis), and the subagents inherit the workspace's file and command access rules. It costs more tokens, as the piece on how /boost works explains, so save it for cases where a single agent has already failed twice.
A word on the security of connected tools. MCP servers (the protocol agents use to reach outside services) are configured in ~/.gemini/config/mcp_config.json or in the project's .agents/mcp_config.json, with stdio transport locally and Streamable HTTP remotely. By default every MCP tool asks for approval, and the MCP page lists 300 seconds for the connection and 180 for each call. Leave the approval prompt on until you truly know what the server does.
Phase 6, how do you document a project built by an agent?
When implementation ends, the agent generates a walkthrough, a summary of the changes (for browser tasks it can include screenshots and recordings). Read it before writing anything else, since it is the document that tells you what was really done, and compare it against SPEC.md.
Act as a technical writer. Read SPEC.md, the code and the tests. Write README.md with a title, a two-sentence description, requirements, installation, startup, an example request and response, how to run the tests and known limitations. Don't invent features that don't exist in the code. If something is unclear, list it at the end instead of guessing.
Phase 7, how do you deploy the service and keep an eye on it?
Our example runs nicely on Google Cloud Run, the service that runs containers straight from source code. The deploy is a single command, but you need to understand what the access option means before running it.
gcloud auth login gcloud config set project YOUR_PROJECT_ID gcloud run deploy link-checker --source . --region europe-west1 # add --allow-unauthenticated only if the service has to be public
Without --allow-unauthenticated the service requires IAM authentication. With the flag it becomes reachable by anyone, and a public link checker with no request limits is an open invitation to use it as a scanning tool. Better to start private and open it up after setting a limit.
After release, scheduled tasks come into play. With /schedule you hand the agent a one-off or recurring instruction in cron format, for example a nightly check of your site's links that opens a report if it finds broken ones. The reply arrives in the background, and to avoid waking up to a surprise bill, set "AI Credit Overages" to Never.
How do you run several agents in parallel without conflicts?
In the app, every project offers local mode or "New worktree" mode. The rule is easy to remember. One agent per worktree, always, whenever two tasks touch the same repository, because two agents in the same folder overwrite each other's files and you end up doing the merge. With dynamic subagents the main agent can delegate parts of the task, and asynchronous task handling lets you keep working while the others finish. If you are comparing tools, there is also our analysis of which desktop app handles multiple AI agents in parallel best.
A good use of parallelism is the division by roles already described. While one agent writes the next module, another writes the tests for the previous one and a third updates the documentation, each in its own worktree and on a separate branch to merge in order.
How do you extend Antigravity with skills, MCP and the SDK?
Skills collect the procedures you repeat (review, release, migration), MCP connects outside services, and the Python SDK is for when the agent has to run inside your own program. The package installs with pip install google-antigravity, exposes classes such as Agent and LocalAgentConfig, and supports local models through LiteRT, Ollama, LM Studio and vLLM. An example using Gemma 4 locally appears in the article on the SDK and Gemma 4 offline, with its 24 GB memory requirement.
For terminal users, the CLI offers /agents, /statusline and /usage. The last is the one I open most often, since it shows how much quota is left before I launch a long task.
Which mistakes most often wreck an agent project?
The first is the prompt with no success criterion ("improve the code"), which the agent interprets its own way and closes when it feels done. The second is accepting a plan without reading it, a costlier error because every later step inherits it. The third is leaving Turbo on for the work machine, with access to the whole disk, for convenience. Then come rules forgotten in a file that never activates (the wrong frontmatter, remember?), parallel tasks in the same folder, and a public deploy made before there is a request limit.
A fourth flaw is subtle. After a run of successes you stop reading the diffs, and the agent stops being a collaborator you review and becomes an automation you depend on. The phased method exists precisely to keep the reading short enough that nobody skips it.
Key Takeaways
- The single prompt costs you control, because it blends every decision into a result you can't review. One role and one artifact per phase leave a document you can read in two minutes at every step.
- Write rules before the code and verify them after. A file without valid frontmatter is silently discarded, so if the agent ignores an instruction, that is the likeliest cause.
- Turbo removes the terminal sandbox and opens the whole filesystem. Request Review or Default is enough for the first few days, and Turbo belongs on a machine you can throw away.
- One agent per worktree keeps two tasks from overwriting each other's files, and the same goes for branches merged in order.
- Before tying your work to a model, check the models page, because the list shifts week to week (three models leave on November 2, 2026).
Frequently Asked Questions (FAQ)
1. Can I use Antigravity with my work account?
Yes, but an administrator has to enable it. Google Workspace accounts must be configured by the organization's administrator, and Gemini Enterprise requires an assigned license. Some presets, such as Auto, are not available on business or enterprise accounts.
2. Does Antigravity replace Cursor or Claude Code?
It depends on how you work, and the most useful answer is that they are different tools. Antigravity bets on orchestrating several agents with artifacts to review, while the others center on a single agent in the terminal or editor. If you already use a tool that works, make the call on a real task rather than on product sheets, and the desktop app comparison helps you set up the trial.
3. How much can it cost to leave an agent running overnight?
Only as much as your credits setting allows. With "AI Credit Overages" on Never, the agent stops when the plan's base quota runs out, while with Always it keeps drawing on purchased credits. For a scheduled task, the first is the prudent choice.
4. Why does the agent ignore a rule I wrote?
The rule probably wasn't loaded. A file without valid frontmatter or with an unrecognized trigger is discarded without warning, subfolders of .agents/rules/ are ignored unless registered in .agents/rules.json, and the limit is 24,000 bytes per file. Trim it, fix the frontmatter and try again.
5. Do I need a powerful computer?
No, as long as the models run in the cloud. The system requirements cover only the application. Memory becomes an issue when you use local models through the SDK, as with Gemma 4, which needs 24 GB.
6. Can I move a job from the app to the CLI?
Rules, skills and MCP configuration live in files, so you find them in both. What changes is the available commands (the CLI converts every skill into a slash command) and rule @-mentions, which the CLI doesn't support.
Conclusions
A good first experiment costs an afternoon. Take a small, pointless project (the link checker is perfect), write the six lines of AGENTS.md, kick off /grill-me and carry on to the README without skipping a phase. The result matters less than what you learn about how you delegate, because the phase where you spend the most time correcting points to the artifact you're missing. From the second project on, the phases become habit and the single prompt, as a rule, stops tempting you.
Start with AGENTS.md, one small project and Request Review on. Add parallelism and Turbo only after you've read three plans in a row without correcting them.
Enjoyed the article?
Open the discussion on X
Related Articles

Gemini Bots coming to Antigravity, the leak on Google's always-on agent

How to use /swarm in Google Antigravity, a guide to parallel agent teams

Google Antigravity launches /boost, deep multi-agent reasoning for the token price

Gemini 4 Neon tops 100 trillion tokens, Antigravity daily users up 60%

Google now allows Antigravity with Claude Code, what stays banned

Google Unveils Agent Compute Engine, a microVM for Every AI Agent
Stay updated
🌐 3k readers worldwide, every SaturdaySubscribe to the newsletter to receive new articles directly in your inbox.
