Skip to content
Remote Control
Agent settings2-0Antigravity AppFeaturesAgent settings Antigravity App FeaturesAntigravity AppAntigravity CLI
Available on:
Antigravity AppAntigravity CLI

Configure how the Antigravity agent executes terminal commands, modifies files, and uses the terminal sandbox across the desktop application and CLI.

This setting controls how agent actions—terminal commands, file access, MCP tools, and web page reads—are approved using a permission preset:

  • Request Review (“Every command requires approval.”): The sandbox is off and every terminal command requires approval. The agent can read and write the workspace, and needs approval for anything else.
  • Default (“Ask before sensitive operations.”): Commands run without prompting inside the Terminal sandbox; running outside the sandbox requires approval. The agent can read and write the workspace and temp directories, and needs approval for anything else.
  • Auto (Preview) (“Automatically decide if commands run.”): Commands run without prompting inside the Terminal sandbox, and the agent can read and write workspace and temporary directories without asking. When a command needs to run outside the sandbox, Antigravity automatically evaluates it so safe, reversible commands proceed without prompting while risky or irreversible actions still pause for your approval.
  • Turbo (“Run all commands without restrictions.”): All commands run without prompting with no isolation or restrictions, and the agent has full read and write access to your filesystem.

Your configured allow, deny, and ask permission rules are layered on top of the preset and always take precedence. To learn more, refer to Agent permissions.

You can change the preset in three places:

  • For all projects: Open Settings > General > Global Permissions > Permission Preset.
  • For a single project: Override the global preset under Settings > Projects. Projects default to Inherit Global, which follows your global preset.
  • From the message box (v2.23.0+): Choose a preset from the permissions picker. The picker changes your global preset, or the project’s preset if the project overrides it. To remove a project override, choose Use Global Settings.

For screenshots of the Settings selector and the message box picker, refer to Change your permission preset.

This setting controls how the agent executes generated shell commands:

  • Require Review: The agent never executes terminal commands without prompting (except those explicitly added to your configurable Allow list).
  • Proceed in Sandbox: Commands run without prompting inside the Terminal sandbox; commands that need to run outside it still require review.
  • Always Proceed: The agent executes commands without prompting (except those explicitly added to your configurable Deny list).

This setting allows the agent to view and edit files outside of the active project folders:

  • By default, the agent only has access to the folders inside your project and the application’s local app data directory ~/.gemini/antigravity/ (which contains artifacts, knowledge items, and more).
  • Enforcing this boundary protects your local sensitive data. Enable non-workspace access with caution.

This setting restricts agent terminal commands to an isolated sandbox:

  • When enabled, shell commands execute inside the sandbox without access to sensitive system paths or unauthorized networks.
  • You can configure this setting globally in application preferences or override it per project.
  • To learn more, refer to the Terminal sandbox guide.