Antigravity
Create a project in the Antigravity app and review artifacts
Create a multi-folder project in the Antigravity app, give the agent one task, and check the result in order through the implementation plan, walkthrough, and change review.
This page covers how the Antigravity desktop app works at a basic level: create a project, put the folders you want the agent to see into it, give the agent a task, then review the plan, summary, and code changes it hands back, in that order. After reading, you should be able to complete one loop in the app: hand off a task, read the plan, read the changes, and decide whether to keep them.
This page is written from the official documentation; the author did not actually operate the app. For UI wording and menu locations, trust the official pages and what you see on screen. The app updates quickly, so this page only describes behavior in newer versions and leaves version numbers to the official pages.
How the app differs from the CLI
Section titled “How the app differs from the CLI”Both are different shells around the same agent, and they share one sign-in (see Choosing an Antigravity surface). For the parts that matter here, the differences are in three places:
| Item | App | CLI (agy) |
|---|---|---|
| Working scope | A project with one or more folders, each project with its own agent settings | Runs in default-cli-project by default; use --project or --new-project to pick or create a project |
| Reviewing plans and results | Side panel and review pane, with a Proceed button and inline comments | A keyboard-driven review panel and the full-screen /diff viewer |
| Committing to Git | Stage, commit, and push from the review pane | Use Git yourself in the terminal |
If you would rather start in the terminal, begin with CLI overview and Install and sign in. The official implementation plan and walkthrough pages are labeled for the app, IDE extensions, and the standalone IDE, not the CLI; the artifacts overview and review changes pages cover both the app and the CLI.
On first launch with a personal Google account, newer versions of the app ask what best describes your work: Software Engineering, Knowledge Work, Data & Analytics, Science, Design, or Other. The choice sets the initial interface layout. You can skip it (the default is the Software Engineering setup) and change it later under Settings > General > Interface Layout. Enterprise and Workspace accounts sign in differently; see Plans and accounts.
Projects and folders
Section titled “Projects and folders”A project is a set of folders plus a set of settings: it defines which directories the agent can access and has its own agent settings. A project can hold a single folder, or a frontend and a backend repository together, so the agent sees all the context in one task.
Folders in a project come in two kinds:
- Local folder: an ordinary directory without Git configured;
- Local Git checkout: a working copy of a Git repository.
When you start a new conversation, newer versions of the app let you choose how the agent works:
- Local mode: the agent edits your current folders or checkouts directly. Suited to quick, interactive edits, and to several agents working in the same place;
- New worktree mode: creates a new Git worktree for this conversation and leaves your original folder untouched. Suited to complex tasks and to keeping parallel agents from conflicting. With a mix of Git checkouts and plain folders, only the Git checkouts get new worktrees; plain folders are still edited in place.
The official page also notes that in the Knowledge Work layout, new conversations in newer versions run directly in the project folders and do not show the worktree selector.
A new project starts from Inherit Global: it follows your global permission settings and has read and write access to all of the project’s folders. A project can set its own permissions on top of the global ones. Projects on a remote machine go through SSH, which is outside the scope of this page.
Permission presets
Section titled “Permission presets”A permission preset decides how the agent’s terminal commands, file access, MCP tools, and web page reads get approved. The official page lists four. In newer versions of the app you can switch in three places: globally (Settings > General > Global Permissions), per project (Settings > Projects, overriding the global one), and from the permissions picker in the message box.
| Preset | Terminal sandbox | Terminal commands | File access |
|---|---|---|---|
| Request Review | Off | Every command needs approval | Workspace only |
| Default (the default) | On | Run without prompting inside the sandbox; approval needed outside | Workspace and temp directories |
| Auto | On | Run without prompting inside the sandbox; outside it, Antigravity evaluates automatically and risky or irreversible commands still pause for your approval | Workspace and temp directories |
| Turbo | Off | All commands run directly, no isolation | Whole filesystem |
Your own allow, deny, and ask rules sit on top of the preset and always take precedence; conflicts are resolved in the order Deny, Ask, Allow. Auto needs the sandbox to be available, and the official page says it is currently not offered for enterprise accounts. Keep Default the first time, and do not pick Turbo. For how the permission rules behind the presets are written, see Your first agent task.
A minimal example
Section titled “A minimal example”This walkthrough uses fictional data. The goal is to have the agent consolidate documents in a synthetic folder while only changing what you allow.
- Prepare a brand-new synthetic folder
~/ag-demo/noteson disk and put two or three fictional meeting-note text files in it. Do not use real business material. - In the app, create a new project and add
~/ag-demo/notesas a folder. Leave the permission preset on Inherit Global, with the global preset on Default. - Start a new conversation and choose Planning mode (the agent plans first, then acts; Fast mode skips the dedicated planning phase and only suits very small changes such as renames).
- Write the prompt so that the task, the boundaries, and the acceptance check are all stated:
Task: consolidate the meeting notes in the notes folder into one summary.md.Allowed: create summary.md only; do not modify or delete any existing file.Format: one line per meeting, with the date, the topic, and one action item; write "none" if there is no action item.Acceptance: every line in the summary can be found in the source notes; do not add anything the notes do not say.Give me an implementation plan first and wait for my confirmation before starting.- Read the artifacts it hands back in the order of the next section, then decide whether to keep
summary.md.
How to read artifacts
Section titled “How to read artifacts”An artifact is a structured deliverable the agent produces to do its task and to communicate progress. Artifacts include Markdown plans, code diffs, architecture diagrams, images, and browser recordings. The point is to let you review at key milestones instead of watching every tool call. The three you use most, in order:
1. Implementation plan. Before acting, the agent hands you a plan that says what it will change. You can comment on the plan, for example to narrow the scope, switch the tech stack, or correct a mismatch. Comments attach to your next message, and a chip such as “2 Comments” appears above the message box. Then click Proceed on the plan’s card, or send a message with your feedback instead. When reading a plan, look at three things: whether the files it will change are within what you allowed; whether it contains extra actions you did not ask for (installing dependencies, editing config); and whether it states how the result will be checked. You can ask for planning explicitly at any time with /plan.
2. Walkthrough. When the task is done, the agent hands you a concise summary of the changes, so you can get up to speed even if you did not follow every step. For browser tasks you can ask it to embed screenshots; when you plan with /plan, the official page says the agent is asked to include screenshots and recordings when available. A walkthrough is the agent’s own account, so compare it with the real diff in the next step. Do not conclude that the change is right from the walkthrough alone.
3. Change review (Review pane). In the conversation’s Overview panel click Review, or click Review on the “N files changed” card under a response, to open a Review tab. Key points:
- The menu at the top picks what to compare: Uncommitted (the default, staged and unstaged), Branch (everything since the branch split from its base branch; it does not appear when no base branch can be found), or Agent Edits (the files the agent modified in this conversation);
- Clicking a card for one turn shows only that turn’s changes, with For Turn and the corresponding prompt in the header;
- Hover over a line and click + to add an inline comment; comments are attached to your next message together with the file and line numbers;
- In the Uncommitted view you can stage, unstage, or discard files. Discarding unstaged changes takes effect immediately without confirmation, and it also deletes untracked files from disk;
- Commit commits the staged changes; if nothing is staged, it includes everything by default. If you leave the message empty, the agent writes one from the conversation.
Separately, Plan Review Policy under Settings > General has two options: Request review (shown as Always Ask, recommended) and Always proceed. The official page stresses that the latter does not let the agent go past a plan you asked for with /plan; it still stops and waits for approval, and the plan card may show no Proceed button, in which case you approve by replying with a message such as “proceed”.
Counterexample and rewrite
Section titled “Counterexample and rewrite”Counterexample:
Tidy up the project for me.The problem: no scope, no prohibitions, no acceptance check. The agent’s plan may touch many files, and you will find it hard to tell whether “tidy” is finished.
Rewrite:
Task: consolidate the meeting notes in the notes folder into summary.md.Allowed: create summary.md only; do not modify or delete any existing file.Acceptance: every summary line can be found in the source notes. Plan first, and wait for my confirmation.Another common counterexample is committing straight away because the walkthrough reads smoothly. The rewrite: compare against the real diff in the Review pane first, then commit. If the diff includes files you did not ask for, add a comment asking the agent to revert them, or discard them yourself.
Verification checklist
Section titled “Verification checklist”- The project contains only folders you deliberately added, and they hold synthetic data or content you can afford to have changed;
- Both the global and the project permission presets are what you expect, and Turbo was not selected by accident;
- Every file in the plan is within what you allowed, with no extra dependency or config actions;
- Every file changed in the Review pane is one you expected, with none extra;
- Every line of
summary.mdcan be found in the source notes, with nothing invented; - Before committing, you have checked the branch and the commit message, and nothing unrelated is swept in.
Failure recovery and safety boundaries
Section titled “Failure recovery and safety boundaries”- It changed a file it should not have: use the Agent Edits view in the Review pane to find the files changed in this conversation. Revert committed changes with Git yourself; unstaged changes can be restored with Discard, but that cannot be undone, so confirm the file first.
- You want to protect your current working copy: next time use New worktree mode so the agent edits an isolated worktree, and do not use an important working copy for a first experiment.
- The plan is wrong: do not click Proceed. Comment or send a message to correct it and have it hand back a new plan.
- Commands keep asking for approval: this is normal for the Default preset (approval is needed outside the sandbox). Do not switch to Turbo for convenience; if you really need to, allow a specific command prefix with a precise allow rule.
- Enterprise or Workspace accounts: the official page says enterprise accounts use a different set of “permission settings” (terminal command auto execution, non-workspace file access, and so on) and do not get the Auto preset. Follow your administrator’s policy and do not work around it.
- The UI does not match this page: the app updates by version; trust the official pages and your own UI.
This is an independent project with no affiliation to Google. Antigravity features, quotas, and models change with official releases; defer to the official pages.
Next: read Your first agent task for permission rules and a read-only task; return to Choosing an Antigravity surface for the full picture of surfaces; see Plans and accounts for account types and where quotas come from.