promptgarten ๐ŸŒฑ
๐ŸŒ ES

Command reference ยท Antigravity CLI

agy --mode <default|accept-edits|plan>

Sets the agent execution mode at startup.

agy --mode (since 1.1.0) sets the execution mode at startup: default (= request-review, pauses before file writes for a line-level diff preview to accept/reject), accept-edits, or plan. Without the flag, the same mode can be persisted permanently in the /settings panel under 'Agent Mode', or cycled during the session with shift+tab.

โœ… WHEN TO USE IT?

Start directly in the lower-risk review mode

agy --mode default

Start directly in auto-accept mode when changes should apply without confirmation

agy --mode accept-edits

โ›” WHEN NOT TO?

The mode should persist for all future launches, not just this one

--mode only applies to the current launch.

Better: Set Agent Mode permanently in the /settings panel

SOURCES