Reference · Reference
Google Antigravity CLI (agy) Cheat Sheet
Search and one-click copy commands for Google's AI coding CLI, Antigravity CLI (agy). The successor to Gemini CLI — covering subcommands, flags, slash commands, shortcuts, and settings.
Last updated:
Version: v1.1.x (verified on v1.1.14 / 2026-08-19) | Updated August 2026
How to use
Expand how to useCollapse how to use
- 1
Search commands
Type a keyword to filter across command names, flags, descriptions, and examples at once.
- 2
Filter by category
Switch between CLI commands, flags, slash commands, shortcuts, and settings to quickly find what you need.
- 3
One-click copy
Use the copy button to copy a command to your clipboard and paste it straight into your terminal or an Antigravity CLI session.
Latest updates
Recent notable updates to Antigravity CLI. See the bottom of the page for the full history.
v1.1.14 (August 18, 2026)
- Latest release as of 2026-08-18 (covers changes through v1.1.6-v1.1.14). Commands, flags, and settings were re-verified against the GitHub CHANGELOG
- Added the --output-format flag (text/json/stream-json) and the --json-schema flag to print mode for strongly-typed, machine-readable NDJSON output (v1.1.8); the models and agents subcommands also support --output-format (v1.1.12)
- Added a Vim editing mode: set editorMode in settings.json (default: default) to vim for Normal/Insert/Visual/Visual Line modes with the major motions (v1.1.11)
v1.1.5 (July 2026)
- Latest release as of 2026-07-21 (covers changes through v1.1.1-v1.1.5). Commands, flags, and shortcuts on this page were re-verified against the GitHub release notes
- Added
/effortand the--effortlaunch flag to view and change the model's reasoning effort (v1.1.5) - Added
/codesearch(aliases/cs,/search) for interactive regex-based code search across the workspace (v1.1.3)
CLI Commands
agy
Examples
agyStart an interactive sessionagy "prompt"
Examples
agy "Explain the structure of this repo"Start with an initial instructionagy -p "prompt"
Notes
- --print-timeout sets the wait timeout (default 5m)
Examples
agy -p "Fix the failing tests"Run non-interactively and print the resultagy run
agy models
Examples
agy modelsList supported modelsagy agents
Examples
agy agentsList custom agentsagy plugin install
agy plugin uninstall
agy plugin list
agy plugin enable
agy plugin disable
Examples
agy plugin disable my-pluginDisable the specified pluginagy plugin import gemini
Examples
agy plugin import geminiMigrate Gemini CLI extensions in bulkagy changelog
Examples
agy changelogShow the release notesagy install
Notes
- --skip-aliases preserves existing agy / antigravity aliases
- --skip-path does not modify the shell profile PATH
agy help
CLI Flags
--model
Examples
agy --model gemini-3-proStart with a specific model--effort
--mode
Examples
agy --mode planStart in plan mode--agent
Examples
agy --agent my-agentStart with the specified custom agent-p, --print
--output-format
--json-schema
--disable-slash-commands
-i, --prompt-interactive
-c, --continue
--conversation
--add-dir
--project
Examples
agy --project my-projectLaunch with the specified project--new-project
Examples
agy --new-project my-projectCreate and launch a new project--sandbox
--dangerously-skip-permissions
Examples
agy --dangerously-skip-permissionsStart without permission prompts (use with caution)--print-timeout
--log-file
--skip-aliases
--skip-path
Slash Commands
/
?
/usage
/context
/add-dir
/open
/diff
/codesearch
Notes
- Queries are interpreted as regex by default; -F / --literal switches to exact matching
- f: or file: globs include or exclude paths
Examples
/codesearchOpen interactive code search/clear
/resume
/rewind
/fork
/rename
/copy
/config
/permissions
/model
/effort
Notes
- Direct form /effort level switches without opening the picker
Examples
/effortOpen the reasoning-effort picker/plan
/agents
/tasks
/skills
/mcp
/hooks
/btw
/keybindings
/statusline
/title
/credits
/exit
/logout
Shortcuts
Settings
curl -fsSL https://antigravity.google/cli/install.sh | bash
Examples
curl -fsSL https://antigravity.google/cli/install.sh | bashInstall on macOS/Linuxirm https://antigravity.google/cli/install.ps1 | iex
Examples
irm https://antigravity.google/cli/install.ps1 | iexInstall via PowerShellcurl -fsSL https://antigravity.google/cli/install.cmd -o install.cmd && install.cmd && del install.cmdInstall via Command Prompt (CMD)rm ~/.local/bin/agy
Examples
rm ~/.local/bin/agyDelete the installed binaryrm -rf ~/.gemini/antigravity-cliFull cleanup including the settings directory — this cannot be undone (also remove the PATH and alias lines that agy install added to your shell profile)Remove-Item "$env:LOCALAPPDATA\agy\bin\agy.exe"
Examples
Remove-Item "$env:LOCALAPPDATA\agy\bin\agy.exe"Delete the binary with PowerShelldel "%LOCALAPPDATA%\agy\bin\agy.exe"Delete the binary with Command Prompt (CMD)~/.gemini/antigravity-cli/settings.json
~/.gemini/antigravity-cli/keybindings.json
toolPermission
request-review / strict / ...
artifactReviewPolicy
colorScheme
altScreenMode
copyOnSelect
editor
editorMode
verbosity
runningLightSpeed
notifications
showTips
showFeedbackSurvey
enableTerminalSandbox
allowNonWorkspaceAccess
enableTelemetry
modelProvider
~/.gemini/config/mcp_config.json
.agents/mcp_config.json
GEMINI.md
AGENTS.md
Version history
The Antigravity CLI version and key changes used to verify the data on this page.
- Latest release as of 2026-08-18 (covers changes through v1.1.6-v1.1.14). Commands, flags, and settings were re-verified against the GitHub CHANGELOG
- Added the --output-format flag (text/json/stream-json) and the --json-schema flag to print mode for strongly-typed, machine-readable NDJSON output (v1.1.8); the models and agents subcommands also support --output-format (v1.1.12)
- Added a Vim editing mode: set editorMode in settings.json (default: default) to vim for Normal/Insert/Visual/Visual Line modes with the major motions (v1.1.11)
- Added the copyOnSelect setting (auto-copy on selection, default on) and the modelProvider setting (set to gemini with GEMINI_API_KEY for direct Gemini API access) to settings.json (v1.1.8 / v1.1.13)
- Added an index argument to /copy (v1.1.6), a heading outline opened with t in the artifact viewer (v1.1.12), and non-interactive answers for read-only slash commands in print mode (v1.1.9-v1.1.12). The delete-conversation key in the /resume picker moved from Ctrl+Delete to F4 (v1.1.13)
- Latest release as of 2026-07-21 (covers changes through v1.1.1-v1.1.5). Commands, flags, and shortcuts on this page were re-verified against the GitHub release notes
- Added
/effortand the--effortlaunch flag to view and change the model's reasoning effort (v1.1.5) - Added
/codesearch(aliases/cs,/search) for interactive regex-based code search across the workspace (v1.1.3) - Added the
--agentlaunch flag and theagy agentssubcommand to select and list custom agents (v1.1.1) - Multiple leading slash commands can now be stacked in a single prompt (v1.1.4)
- Latest stable release (2026-07-08). Agent execution mode cycling (default → accept-edits → plan) is now publicly available and can be switched with
shift+tab - Slash commands streamlined:
/planreplaces the legacy/planningand/fastwas removed. The new--modelaunch flag sets the execution mode directly request-reviewis now the default mode: it pauses before file writes to show a line-level diff preview, and thefshortcut accepts or rejects individual changes- Added an Agent Mode option to the
/settingspanel to persist a default execution mode; footer keybinding hints now respect customkeybindings.json - Note: the official docs had not yet reflected 1.1.0 on this date, so this entry was verified against the GitHub CHANGELOG / release notes
- Latest release as of 2026-07-02 (covers changes through v1.0.11-v1.0.16). Every command, flag, shortcut, and setting on this page was re-checked against the official docs (antigravity.google/docs/cli/*) and GitHub Releases
- Added the
--project/--new-projectlaunch flags (v1.0.12), theagy plugin disablesubcommand, and the/creditsslash command - Added
altScreenMode,editor,runningLightSpeed,notifications,showTips, andshowFeedbackSurveyto settings.json - Ctrl+C now cancels the active agent operation on the first press and exits the CLI on a double press; Ctrl+D forward-deletes when the prompt has text (v1.0.11)
- Latest release as of 2026-06-19. All commands, flags, and shortcuts on this page were verified against the official docs and GitHub for this version
- The
agy modelssubcommand lists supported models (added in v1.0.5) - The
agy changelogcommand shows release notes (added on 2026-06-04)
- Announced by Google on 2026-05-19 as the successor to Gemini CLI. The legacy Gemini CLI was shut down on 2026-06-18
agy plugin import geminimigrates Gemini CLI extensions to Antigravity plugins
About the Google Antigravity CLI command reference
Antigravity CLI (command name agy) is Google's terminal AI coding agent. Announced in May 2026 as the successor to Gemini CLI, it replaced the legacy Gemini CLI, which was shut down on June 18, 2026. It brings multi-step reasoning, multi-file editing, tool calling, and persistent history to the terminal, and you can migrate Gemini CLI extensions with agy plugin import gemini. This page is a cheat sheet covering CLI subcommands, flags, slash commands, keyboard shortcuts, and settings, verified against the GitHub release and official docs for v1.1.5 (July 2026). It covers the CLI (agy), not the Antigravity IDE.
Key features
- Covers five categories: CLI subcommands, flags, slash commands, shortcuts, and settings
- Full-text search across command names, descriptions, and examples
- Category filters to switch between terminal commands and in-session actions
- One-click copy to paste commands straight away
- Guidance for migrating from Gemini CLI (agy plugin import gemini)
Use cases
- Checking command equivalents when migrating from Gemini CLI to Antigravity CLI (agy)
- Reviewing options for non-interactive runs with agy -p (CI and scripts)
- Searching slash commands (/agents, /mcp, etc.) and shortcuts during a TUI session
- A reference for the key settings.json keys and permission presets
Frequently asked questions
What is the Antigravity CLI (agy)?
It is the command-line interface for Google's terminal AI coding agent. The command name is agy, and it runs multi-step reasoning, multi-file editing, and tool calling from the terminal. It supports both an interactive TUI and non-interactive runs via agy -p (for CI and automation).
How does it relate to Gemini CLI? Do I need to migrate?
Antigravity CLI is the successor to Gemini CLI. Google announced the replacement on May 19, 2026, and the legacy Gemini CLI was shut down on June 18, 2026. Settings live under ~/.gemini/antigravity-cli/, and the agy plugin import gemini command migrates Gemini CLI extensions to Antigravity plugins.
Are the Antigravity IDE and the Antigravity CLI different?
Yes. The Antigravity IDE is an editor (GUI) product, while the Antigravity CLI (agy) is a command-line tool that runs in the terminal. This page covers the CLI (agy) commands, flags, slash commands, and settings.
How do I install the Antigravity CLI?
On macOS/Linux run curl -fsSL https://antigravity.google/cli/install.sh | bash, and on Windows (PowerShell) run irm https://antigravity.google/cli/install.ps1 | iex. After installing, you can run agy install to configure PATH and shell settings.
What permission presets are available?
There are four: request-review (default, for most work), proceed-in-sandbox (auto-proceed inside a sandbox), always-proceed (no prompts, for controlled workspaces only), and strict (prompt for all non-read tools). You can switch them with /permissions.
How do I use slash commands?
During a TUI session, type "/" in the prompt to open the command menu. Commands include /agents (manage agents), /mcp (manage MCP servers), /diff (show diffs), and /rewind (roll back), and you can show help with "?".
Which version does this cheat sheet cover?
It covers Antigravity CLI v1.1.x (verified on v1.1.14 / August 19, 2026). The listed commands have been cross-checked against the official docs (antigravity.google) and GitHub, with the v1.1.x changes sourced from the GitHub CHANGELOG / release notes.
Can I customize the keyboard shortcuts?
Yes. The shortcuts listed here are the defaults, and you can change them via the /keybindings command or the keybindings.json file. To reset, delete keybindings.json to restore the defaults.
How do I uninstall the Antigravity CLI (agy)?
There is no dedicated uninstall command (as of v1.1.14). On macOS/Linux, delete the installed binary at ~/.local/bin/agy; on Windows, delete agy.exe under %LOCALAPPDATA%\agy\bin. For a full cleanup, also remove the settings directory ~/.gemini/antigravity-cli/ and the PATH and alias lines that agy install added to your shell profile.
How do I skip permission prompts?
There are two ways. For a whole session, switch the permission preset to always-proceed (run without prompts) via /permissions. At startup, the agy --dangerously-skip-permissions flag auto-approves all tool permission requests. Both skip safety checks, so limit them to controlled workspaces or sandboxed runs (the proceed-in-sandbox preset).
How do I check the Antigravity CLI changelog?
Run the agy changelog command to show the release notes in your terminal (added on June 4, 2026). You can also review each version's changes on the GitHub Releases page. The version history section on this page summarizes the main changes of the versions used to verify this data.