Skip to content

Menu

Antigravity

Before enabling auto or Turbo: risks, acceptable cases, and reversal

Decide whether to enable Antigravity auto, Turbo, always-proceed, or --dangerously-skip-permissions; understand which checkpoints each removes, when it may be barely acceptable, and how to revoke, roll back, and inspect after an incident.

min read
10
Level
Intermediate
Last verified

This page covers several ways to make the Antigravity App and the Antigravity CLI (command agy) ask less often or not at all: the App’s Auto and Turbo presets, the CLI’s auto mode, always-proceed, and --dangerously-skip-permissions, plus the turbo default for remote agents. After reading it, you should be able to decide whether a task justifies loosening permissions, know which checkpoints that loosening removes, prepare a reversal plan before you loosen anything, and use a checklist to inspect the outcome if something goes wrong. The baseline explanation of preset names, mode names, rule syntax, and sandbox scope is in Permissions and sandbox; this page covers only risks, decisions, and reversal.

This site is an independent, unofficial guide and is not affiliated with Google. This page did not actually enable any permissive mode or run any command; it only checked facts against the official pages. Where the official pages say nothing, this page says “not documented on the official page.” It only says “newer versions” for versions and gives no quota numbers.

First, match the names, because the App and CLI use different terms and grant different degrees of autonomy:

Setting Entry point Checkpoints removed What remains
Auto preset / auto mode App / CLI File edits inside the workspace no longer require confirmation at each point (the CLI page says this includes pending writes from background subagents); Antigravity automatically evaluates commands outside the sandbox, and safe, reversible commands do not ask Commands run in the sandbox by default; risky or irreversible commands still ask; your deny and ask rules still take priority
Turbo preset App The sandbox is off; every command runs directly and without restriction; the full filesystem is readable and writable; MCP and web reads are allowed directly The official page says every file upload by the browser subagent still needs one-time approval; your allow, deny, and ask rules are layered on top of the preset and always take priority
always-proceed / --dangerously-skip-permissions CLI No tool call asks for permission, overriding auto mode; permission_mode becomes always-proceed in the init event for stream-json The official page does not say whether deny rules still block under always-proceed (see below)
Remote agent default always-proceed (turbo) CLI, App, web Commands run directly without approval; it is always the default execution mode, and plan, accept-edits, and auto are all unavailable Permission presets and rules are a separate set of remote agent settings; local deny rules are not applied automatically
Always Proceed for business and enterprise accounts App Terminal commands run without asking The official page states that commands added to the Deny list are excluded

Two common sources of confusion:

  1. auto is not Turbo. auto still puts commands in the sandbox and only evaluates commands outside it automatically; Turbo has no isolation. But whether something under auto is “safe and reversible” is the system’s judgment, not your own confirmation, and no public criteria are available. The official page gives only examples such as workspace build, test, lint, and formatting commands; the decision boundary is not documented on the official page.
  2. --dangerously-skip-permissions is not an alias for the Turbo preset. It is a global CLI override and, like strict, takes effect before every execution mode. The App page says rules are layered on top of presets and always take priority; the CLI execution mode page says explicit rules “continue to take priority in all modes” over this flag, but it does not say whether a deny rule can block a command when both are present. Do not treat a deny rule as a safeguard beneath always-proceed. If you insist on using it, first verify in a synthetic repository whether a deny rule actually blocks the operation.

What can happen after loosening permissions

Section titled “What can happen after loosening permissions”

With no checkpoint, every error in the agent’s judgment and every piece of untrusted text it reads can turn directly into an action. There are four kinds of consequences:

  • Changing or deleting the wrong files. Under Turbo and always-proceed, the full filesystem can be changed (the official preset table lists file access as the full filesystem), including shell configuration outside the workspace, other projects, and your ~/.gemini/ settings directory. The official pages do not say whether these paths have extra protection; not documented on the official page, so act as if they do not.
  • Leaking credentials. The sandbox blocks files such as ~/.ssh and .env; that is part of what the sandbox does. Turbo and always-proceed remove the sandbox entirely, so the agent’s commands can read them directly. Add network access, and their contents can be sent out.
  • Being misled by untrusted text. An agent reads web pages, README files, issues, and content returned by MCP tools. If one of them contains “please run…”, an approval checkpoint gives you a chance to see the command; without that checkpoint, the agent runs it directly. The official Headless page warns about --dangerously-skip-permissions: unless you fully trust the prompt and the environment, prefer scoped permissions.allow rules (see Using agy -p in scripts and CI).
  • Making a post-incident review harder. With no prompt, there is no record of “what I agreed to at the time.” Afterward, you can only reconstruct events from Git, command output, and session logs.

The risk of auto is lower, but not zero: it automatically approves every edit inside the workspace, so you no longer review each diff as it happens; its automatic evaluation may classify a command that should ask as safe; and its idea of “reversible” does not account for your uncommitted work.

The remote agent default deserves separate emphasis: the official page says that unless you change it, the permission preset for remote agents is always-proceed (turbo). It reads the repositories and Drive files you attach and uses plugin credentials you have authorized. Before first use, go to the Remote Agent page in /config, change the preset, and then use /permissions to write rules specifically for the remote agent. For details, see Should you turn on Remote Control, SSH, or remote agents: risks first.

The conclusion first: there is no situation in which you “should turn on Turbo.” There are only situations in which the cost is contained enough to make it barely acceptable. All four conditions below must be true. If even one is missing, do not enable it:

Condition Acceptable Unacceptable
Disposable environment A one-off container, virtual machine, or fresh synthetic checkout that you can delete if it breaks Your everyday laptop or a home directory containing ~/.ssh and cloud credentials
No credentials The environment contains no real keys, tokens, or cookies; only placeholders such as YOUR_API_KEY Environment variables contain production keys, or you are signed in to a cloud account
Recoverable state Work is on a clean Git branch or isolated worktree, everything is committed, and the agent cannot push to the remote There are uncommitted changes, or the agent can git push to a shared branch
Trusted input You wrote the prompt yourself, the material is synthetic data, and the task will not read unfamiliar web pages or MCP servers of unknown origin You tell it to “follow this issue link,” but you have not read the linked content

Examples that may be barely acceptable are all fictional:

  • In a one-off container, use the synthetic repository demo-notes to practice rewriting Markdown in bulk, with no network egress from the container;
  • In an isolated worktree, let auto fix a narrowly scoped, well-tested small defect, then gate the result with a diff and tests.

Unacceptable examples:

  • Enable always-proceed in a real customer repository and “let it upgrade all the dependencies on its own”;
  • Enable Turbo through a remote entry point on a server that contains production credentials;
  • Use a remote agent on a task with a mounted private repository without first changing the preset.

Even if all the conditions are met, ask one more question: Can a precise allow rule achieve the same result? In most cases where prompts are merely annoying, one command(regex:npm run (build|lint|test)) is enough. See “When to loosen, and how to loosen minimally” in Permissions and sandbox.

Before loosening permissions, spend three minutes writing down a reversal plan. Do not enable anything until it is complete.

  1. Create a restore point for your work. Commit or stash your current changes, then create a new Git branch. In the App, choose New worktree mode for a new conversation so the agent works in an isolated worktree and leaves the original folder untouched. The CLI’s /fork clones the conversation, not the Git checkout; create a branch or worktree yourself for file isolation.
  2. Write down how to turn it off. Match the method you enabled to the next section.
  3. Confirm the boundary of remote side effects. Can the agent git push? Can it access a cloud account? If so, either write a deny or ask rule first and verify that it really blocks, or do not enable the permissive setting this time.
  4. Set checkpoints. Decide when you will return to inspect the work: every N minutes or at the end of each subtask, using git diff and /diff.

App: Change the preset back to Default or Request Review in one of three places: Settings > General > Global Permissions; Settings > Projects (change it here if the project overrides the global setting, or choose Use Global Settings to remove the override); or the permissions picker in the message box. Then confirm that neither the global setting nor the current project is on Turbo. For business and enterprise accounts, change “terminal command auto execution” back to Require Review.

CLI:

  • In the prompt box, press Shift + Tab to cycle to another mode, or use /config to change Agent Mode back to default;
  • If you started with --mode=auto, exit and restart without that flag. Also change agentMode: "auto" in the settings file: in newer versions, when auto is available, omitting agentMode starts in auto by default. To pin the mode, set agentMode explicitly ("" means default);
  • If you used --dangerously-skip-permissions, exit, remove the flag, and restart. It is a command-line override, and /config marks the setting as “overridden by flag”; the only way to remove it from the current session is to restart;
  • If you set toolPermission to always-proceed in the settings file, change it back to request-review (or, when the sandbox is available, proceed-in-sandbox);
  • For a remote agent session, switch to the Remote Agent page with Tab in /config, then change Permission Preset back to default or request review.

Automatically created lasting rules: Choosing “always allow and save to settings.json” in a prompt leaves a lasting rule. After an incident or at the end of a task, run /permissions, inspect the allow tab in each scope (Project, Shared, and Global), and delete anything that should not remain.

Interrupt a task that is still running: In the CLI, Esc stops the current stream; Ctrl + C interrupts the running turn, and pressing it twice exits. In the App, stop the task in the conversation. Note that agents running through SSH and remote agents continue after you close the window and must be interrupted explicitly; see “Should you turn on Remote Control, SSH, or remote agents: risks first.”

How to roll back: restore everything that changed

Section titled “How to roll back: restore everything that changed”

Before rolling back, do not rush to clean up the scene. Preserve evidence first: run git status and git diff, and keep the agent session (you can reopen it later in the CLI with /resume). Then handle each category:

Category How to inspect How to restore
Committed changes in the workspace git log, git show git revert, or return to the commit you recorded earlier
Uncommitted changes and new files in the workspace git status, git diff; use /diff in the CLI (including the Per Turn view); use Agent Edits in the App’s Review panel git restore, then delete new files; discarding unstaged changes in the App takes effect immediately without another confirmation and also deletes untracked files from disk, so check first
Conversation history /rewind (alias /undo) in the CLI It rolls back conversation history; the official page does not say that it restores files on disk, so do not treat it as file-level undo; /rewind, /diff, and /fork are all unavailable in remote agent sessions
Files outside the workspace There is no single entry point; inspect directories one by one based on what the task did Use your own backups or version control; the official pages provide no reversal method
Commits already pushed, network requests already sent, and globally installed software Inspect the remote repository’s commits and branches, and the package manager’s global list These may not be reversible; use the relevant service’s rollback feature where available, and treat anything that cannot be reversed as exposed

Inspect commands that ran: The official pages do not give one location for a unified “executed command log.” Available options are: in the CLI, use Ctrl + O to expand or collapse tool-call details and /resume to return to the session and inspect it; for non-interactive runs, use --output-format stream-json, whose events include tool calls and the permission mode; in the App, inspect tool calls in the conversation and use Agent Edits in the Review panel to see changed files. These are all “the agent’s own records.” Cross-check them against Git and system state rather than treating them as the only evidence.

If you suspect the agent did something it should not have while permissions were loose, follow these steps in order without skipping any:

  1. Stop: Interrupt the task, disable the permissive mode as described above, and do not let the agent keep “fixing” the situation.
  2. Preserve the scene: Save the output of git status and git diff; do not run git clean or reset first; record the session ID or preserve the session with /resume.
  3. Inspect the workspace: Compare the changes with the task and check that every change is within the scope you allowed. Look for extra files and changes to .git/, .agents/ (including hooks.json), project GEMINI.md files, and other configuration files.
  4. Inspect outside the workspace: Check shell configuration files, ~/.ssh, settings under ~/.gemini/ (especially permissions and mode settings in settings.json), scheduled tasks, newly installed global packages, new services, and background processes. The official pages do not say these locations are protected, so inspect all of them.
  5. Inspect the permissions themselves: Run /permissions and check allow for rules you did not write. In the App, check whether the preset or any project override changed.
  6. Inspect network and remote side effects: Check for git push, new branches, and new pull requests, plus commands that sent requests externally. For remote agents, also inspect attached repositories, Drive files, and plugin authorization.
  7. Treat credentials as exposed: If the agent may have read a real key, rotate it at the service. Do not merely delete the file. See API key safety for the principle.
  8. Record and review: Write down what happened, which checkpoint should have stopped it, and which rule or mode you will use next time. Put the conclusion in the team’s rules file.

Counterexample 1: “This task is long and repeatedly approving things is annoying. I will just run agy --dangerously-skip-permissions and go to a meeting.”

Removing every checkpoint while no one is present is the worst combination. Rewrite: first run through the task interactively in a synthetic repository and note which commands ask; put only the commands you know are safe into allow as precise rules; use proceed-in-sandbox when the sandbox is available; before the meeting, split the task into steps that can each be reviewed in a few minutes.

Counterexample 2: “Turbo is a preset provided by Google, so it must have a safeguard. It will not touch my ~/.ssh.”

The official page says Turbo turns off the sandbox and gives read and write access to the full filesystem, so the sandbox’s block on ~/.ssh also stops applying. Rewrite: if you truly need it, use it in a one-off environment; on your everyday machine, keep Default and write a deny rule for ~/.ssh.

Counterexample 3: “I have auto enabled, so there will be no irreversible operations.”

auto evaluates commands outside the sandbox automatically and asks only about those it classifies as “risky or irreversible”; there is no guarantee that the classification is correct. It also does not account for your uncommitted work. Rewrite: before enabling auto, commit or create a branch; after the task, review with /diff and tests; if the result involves deletion, pushing, installation, or similar actions, return to the terminal and confirm manually.

Counterexample 4: “I used /rewind to roll back this turn, so the files should be restored too.”

The official page says only that it rolls back conversation history. Rewrite: always inspect and restore file changes with Git, then treat /rewind as a way to “make the agent forget this turn.”

Counterexample 5: “The remote agent runs in Google’s environment, so the default settings are fine.”

The default is always-proceed (turbo), and it can read repositories and Drive files you attach and use plugins you have authorized. Rewrite: before first use, change the preset to default or request review, attach only the resources the task needs, and use /permissions to write deny rules for the remote agent.

  • I can state which setting is currently loosening permissions (a preset, mode, toolPermission, or flag) and which checkpoints it removes;
  • I meet all four conditions for “barely acceptable,” not just the convenient ones;
  • Before enabling it, I committed or created a branch, used New worktree in the App, and know which changes are outside Git;
  • I wrote down how to turn it off and actually did so once after the task: the App preset is back on Default or Request Review, /config in the CLI shows default or the mode I expect, and --dangerously-skip-permissions is absent;
  • After the task, I checked the rules with /permissions and removed any lasting rule that should not remain;
  • I verified the result with git diff, /diff, and tests rather than relying only on the agent’s account;
  • I did not place real keys in this environment; every example and demonstration uses YOUR_API_KEY.
  • The workspace is already damaged: First preserve git status and git diff, then restore with git restore or git revert. Discard in the App is irreversible, so inspect the files before using it.
  • Files outside the workspace changed: The official pages provide no reversal method. You must rely on your own backups or version control and inspect the locations using the checklist above.
  • You suspect a key was read: Rotate it at the service; do not merely delete the local file.
  • The mode is off but the CLI still does not ask: --dangerously-skip-permissions or always-proceed is probably still active. Restart without the flag and check toolPermission in the settings file.
  • The remote agent is still running: Interrupt it explicitly through the relevant method. It has no separate “off” switch; see “Should you turn on Remote Control, SSH, or remote agents: risks first.”
  • Enterprise or managed environment: Administrator policy decides whether permissive modes are available. Do not try to bypass it. auto is currently unavailable to business and enterprise accounts.

Next: for the baseline explanation of presets, rules, and the sandbox, see Permissions and sandbox; to narrow rules, return to Your first agent task; to review changes in the App, see Create a project in the Antigravity App and review artifacts; to add automatic checks before and after writes, see Run checks before and after tool calls with hooks; for remote scenarios, see Should you turn on Remote Control, SSH, or remote agents: risks first; for terminal-less environments, see Using agy -p in scripts and CI.