Command reference ยท Antigravity CLI
agy
Starts the Antigravity CLI TUI in the current working directory.
agy with no arguments opens the interactive terminal interface (TUI) in the current directory. On first launch in a directory with an existing Gemini CLI configuration, the CLI detects it automatically and offers an interactive migration checklist. Sign-in goes through the OS keyring (Keychain/Secret Service/Credential Manager); if no session is saved, it opens your default browser automatically. Over SSH without a local browser, the CLI instead prints an authorization URL to open in your local browser plus a code to paste back into the terminal.
โ WHEN TO USE IT?
Start a new project interactively
Run agy in the project folder to open the TUI and work with the agent in a dialogue
Switch over from Gemini CLI
Run agy in a folder with an existing Gemini CLI configuration to get the automatic migration checklist
โ WHEN NOT TO?
You want a single command to run without a TUI, e.g. in a script
agy with no flags always opens the full interactive interface and blocks the terminal.
Better: agy -p / --print for non-interactive execution
SOURCES
- Antigravity CLI README (GitHub) โ raw.githubusercontent.com
- Antigravity CLI Doku: Getting Started โ antigravity.google
- Antigravity CLI Doku: Install โ antigravity.google
- Antigravity CLI Doku: Migration von Gemini CLI โ antigravity.google