agy auto mode, its YOLO switch,
and what each still asks.

Start Antigravity CLI with agy --mode auto, or press Shift+Tab until the mode reads Auto. Auto mode approves file edits and safe commands without asking. It still asks before irreversible actions, and a command that would leave the terminal sandbox is checked by a separate reviewing agent first. agy has no mode called YOLO. The flag people mean is --dangerously-skip-permissions.

Since agy 1.5.7, eligible sessions start in Auto when no mode is saved, including agy -p. Choose Default in /config to restore the previous behavior.

Updated

Set up Antigravity CLI phone approvals
Hacker NewsFeatured on Hacker News
Claude Code, Codex, Cursor, Gemini CLI and more
iPhone, Android and Mac
Your code never leaves your machine

Turn on Auto mode

Three ways, from one session to every session.

  1. Step 1

    Start a session in Auto mode

    Run agy --mode auto. The flag applies to that session and overrides your saved mode.

  2. Step 2

    Or switch inside a session

    Press Shift+Tab to cycle default, accept-edits, auto and plan, or pick Auto under Agent Mode in /config. Auto is skipped where it is not available.

  3. Step 3

    Make it the default

    From agy 1.5.7, a session with no saved mode starts in Auto if eligible. To choose it explicitly, select Auto under Agent Mode in /config, or set "agentMode": "auto" in ~/.gemini/antigravity-cli/settings.json.

~/.gemini/antigravity-cli/settings.json
{
  "agentMode": "auto"
}

agentMode also takes accept-edits and plan. To restore Default on 1.5.7, select Default in /config, which saves "agentMode": "".

The four agy modes

These are Agent Modes. Tool Permission is a separate setting. In 1.5.7, strict overrides Auto and accept-edits.

ModeRuns without askingStill asks

default

/config → Agent Mode → Default

Reading files in the workspace, and anything an allow rule in /permissions covers.File edits and new files, with a diff to review, and terminal commands.

accept-edits

agy --mode accept-edits

File edits and new files inside the workspace.Terminal commands, and edits outside the workspace.

auto

agy --mode auto

Workspace file edits, commands inside the terminal sandbox, and commands outside it that a reviewing agent judges safe and reversible.Irreversible or high-risk actions, such as destructive Git and file commands. Web, MCP and outside-the-workspace actions keep their default, which is to ask.

plan

agy --mode plan

Analysis. agy outlines the steps before it writes any code.The plan waits for your review before agy goes ahead, unless you change Artifact Review in /config.

When agy says auto mode is not available

agy prints one line and carries on in the default mode, so it is easy to miss.

Terminal
$ agy --mode auto
warning: --mode auto is not available for this account; continuing in the default mode.

Account

Auto mode is unavailable for some accounts, including Gemini Enterprise accounts that follow their organization’s permission settings. Turning on the terminal sandbox does not change account eligibility.

Version

Auto mode arrived in agy 1.3.5 on 14 October 2026 for macOS and Linux, and in 1.4.4 on 21 October for Windows. Run agy update, then agy --version.

Sandbox

Auto mode needs the terminal sandbox. On Windows that means Windows 11 version 24H2 or later with the August 2026 update. On Linux the sandbox needs unprivileged user namespaces. Where it cannot run, agy stops offering modes that need it.

How the Auto mode review has changed

Auto mode shipped in agy 1.3.5. Later releases changed what the reviewing agent lets through.

1.3.6Allows the workspace's own format, lint and fix commands. Blocks commands that would upload sensitive data.
1.4.3Subagents and custom agents get the same review, instead of asking about every command that leaves the sandbox.
1.4.4Takes agy's own question into account when you reply with a short answer like yes, checks every command in a pipeline, and prompts before destructive Git or file commands.
1.4.7Asks less often about routine commands, such as cleaning up temporary files, stopping a local process or running a formatter.
1.4.8Stops any single slow check after 10 seconds, so the review times out less often.
1.4.9Knows whether the working folder is a Git or other repository, so it stops running git status where there is none and times out less often.
1.5.7Starts eligible interactive and headless sessions in Auto by default. Strict and administrator-required reviews still apply.

Is there an agy YOLO mode?

Not under that name. Both guesses fail.

Terminal
$ agy --yolo
flags provided but not defined: -yolo

$ agy --mode yolo
warning: unrecognized --mode value "yolo" (valid: accept-edits, auto, plan)

To skip most native tool prompts for a session, use agy --dangerously-skip-permissions or set toolPermission to always-proceed in /config. Protected commands and administrator-required reviews still apply. How the flag and the presets work.

Auto mode decides for you. Pushary asks you.

In Auto mode a reviewing agent picks which commands are safe. Some people want that call back. Pushary connects to agy through its hooks and sends each risky call to your phone. You answer yes or no, and every answer is recorded.

One command

bash
npx pushary@latest setup

Setup can set toolPermission to always-proceed when you have no saved preset. Pushary then handles decisions for its supported tools. Explicit presets and administrator-required reviews still apply. Disconnecting restores any preset Pushary changed.

Does your team run AI agents? With AI agent approvals for teams, each question goes to whoever’s agent asked, or to a lead you choose, and you see who said yes.

Decide the risky calls yourself.

Your rules let the safe ones run. The rest wait for your yes or no on your phone.

Start your trial

$9.99/mo after a 3-day free trial. Cancel anytime.

agy auto mode questions

What does agy auto mode still ask before running?

Irreversible or high-risk actions. Workspace file edits and commands inside the terminal sandbox run without a prompt. A command that would leave the sandbox goes to a separate reviewing agent first, which lets safe, reversible ones through and sends the rest back to you. Since 1.4.4 that includes destructive Git and file commands. Web reads, MCP tools and files outside the workspace keep their default, which is to ask.

Why does agy say --mode auto is not available for this account?

If your account or platform is ineligible, agy can fall back to Default. Check your account, CLI version, and terminal sandbox support. Gemini Enterprise follows its administrator’s permission policy.

How do I make agy start in auto mode every time?

Starting in agy 1.5.7, no saved mode means Auto wherever supported, including headless agy -p. To keep Default, pick Default under Agent Mode in /config. agy saves "agentMode": "" in ~/.gemini/antigravity-cli/settings.json. You can still choose accept-edits or plan.

What is the difference between agy auto mode and --dangerously-skip-permissions?

Auto mode keeps a gate: a reviewing agent decides which commands are safe, and irreversible ones come back to you. --dangerously-skip-permissions has no reviewer. It skips most native tool prompts. Protected commands and administrator-required reviews still apply. Since agy 1.3.2 it no longer approves the implementation plan in plan mode.

How do I run agy in YOLO mode?

agy has no mode or flag by that name. agy --yolo stops with flags provided but not defined, and --mode yolo prints a warning listing the real values. What people mean by YOLO is agy --dangerously-skip-permissions for one session, or the always-proceed Tool Permission preset in /config. Protected commands and administrator-required reviews still apply. Gemini CLI's own YOLO switch is --approval-mode=yolo.

Do my /permissions rules still apply in auto mode?

Yes. An active deny rule can still block a command Auto would otherwise run. In 1.5.7, the strict Tool Permission preset wins over Auto and accept-edits, so file edits still ask. A hook approval or command(*) allow rule cannot bypass administrator-required review.

Does Pushary work with agy auto mode?

For supported tool calls, Pushary runs against the always-proceed Tool Permission preset rather than the Auto reviewer. Setup only changes the preset if you have not explicitly chosen one. Strict and administrator-required review stay with agy. Disconnecting restores any setting Pushary changed.