Antigravity CLI full-access mode

Run Antigravity CLI without permission prompts with agy --dangerously-skip-permissions. What it changes, what it still blocks, and the machines where it is safe.

Updated November 23, 2026 · Checked against Antigravity CLI 1.4.7 in EnvHaven v1.9.0

In EnvHaven: The image launches agy with --dangerously-skip-permissions, and sets the Gemini provider whenever a GEMINI_API_KEY is present. Each workspace is its own Linux machine, so full access stays contained there. On any other machine, here is the switch, what it changes and where it is safe.

The switch

For one session:

agy --dangerously-skip-permissions

As the default, in ~/.gemini/antigravity-cli/settings.json:

{
  "toolPermission": "always-proceed"
}

What it does

Both auto-approve every tool permission request. Ask and deny rules still take precedence, and --sandbox runs it with terminal restrictions.

Milder settings

--mode takes accept-edits, auto or plan, and Shift+Tab cycles modes in a session.

Where full access is safe

  • On your everyday computer: rarely. An agent with full access can delete files, read credentials and run anything a mistyped instruction or a malicious README suggests.
  • In a container or VM that holds nothing you would miss: yes. A mistake costs a rebuild.
  • In an EnvHaven workspace: by default. The image launches agy with --dangerously-skip-permissions, and sets the Gemini provider whenever a GEMINI_API_KEY is present. The workspace is a separate Linux machine, so the worst case stays there.

Turning prompts back on

Leave out the flag, or reset the setting you changed. In a workspace, the setting EnvHaven applies is described above, and editing or removing it brings Antigravity CLI’s own defaults back.

How this was checked

From the help text of Antigravity CLI 1.4.7, as shipped in EnvHaven v1.9.0:

--dangerously-skip-permissions Auto-approve all tool permission requests without prompting