Antigravity CLI Cheatsheet - Google Terminal AI Coding Agent (agy)

All Antigravity CLI (agy) terminal AI coding-agent commands in one place — from install to sessions/planning, MCP to subagent management — organized by scenario. Copy and go.

AI CLI·17 commands·Last updated 2026-08-26

Install & Launch 4

curl -fsSL https://antigravity.google/cli/install.sh | bash
One-line install for macOS/Linux
irm https://antigravity.google/cli/install.ps1 | iex
Install on Windows via PowerShell
agy
Start the TUI in the project dir
/config
Open the interactive Settings Editor

Sessions & Planning 5

/model
Choose the reasoning model (persists across sessions)
/planning
Enable multi-turn plan generation mode
/resume
Open the conversation picker to restore history
/fork
Clone the current thread into a parallel session
/clear
Clear the screen and reset active context

Tools & Integrations 8

/mcp
Open the MCP server manager
/agents
Open the Agent Manager to monitor background subagents
/hooks
Browse active pre-flight/post-format script hooks
/tasks
Open the Task Manager to monitor background shell logs
/skills
Browse loaded local and global Agent Skills
/permissions
Switch global permission presets (request-review/always-proceed/strict)
/diff
Show unified diff of modified workspace files
/logout
Disconnect profile and purge auth tokens from the keyring

Tips

  • The Antigravity CLI command is `agy`; first launch uses Google account OAuth and asks you to pick a color scheme, rendering mode, and workspace trust.
  • `/planning` enables multi-turn plan mode — produce a plan before big engineering tasks; `/permissions` switches global policy between request-review/always-proceed/strict.
  • `/agents` and `/tasks` monitor background subagents and shell execution logs respectively, giving a clear view of each parallel task progress.

FAQ

What is the Antigravity CLI command name?

The command is `agy` (the install script registers it to ~/.local/bin). It shares the lineage with Google Antigravity platform/IDE and signs in via Google account OAuth.

How is the Antigravity CLI related to the Antigravity IDE?

The CLI (agy) is Antigravity lightweight, fast, terminal-first surface for running autonomous coding agents, executing shells, and managing background subagents; the IDE is the full-featured agentic dev environment. Both share the same agent harness.

Official References

Each command links to its official documentation below, so you can verify the latest usage and read deeper.

Maintained by LaoHand

Publicly updated on Aug 26, 2026, continuously proofread against official docs.

Contact Us

Wrong command or description? Send us corrections, business inquiries or product feedback by email.

Contact Us

Edit this page on GitHub

Edit the source file directly and open a PR to improve this cheatsheet.