Antigravity CLI Cheatsheet - Google Terminal AI Coding Agent (agy)
Antigravity CLI (command agy) is Google terminal AI coding agent, for developers who want Google-ecosystem models plus disciplined planning and permission control. It emphasizes plan-before-execute with transparent /planning and /permissions, and offers subagent management. This sheet covers install, sessions & planning modes, MCP integration, and permission setup.
Install & Launch 4
curl -fsSL https://antigravity.google/cli/install.sh | bashirm https://antigravity.google/cli/install.ps1 | iexagy/configSessions & Planning 5
/model/planning/resume/fork/clearTools & Integrations 8
/mcp/agents/hooks/tasks/skills/permissions/diff/logoutLaunch Flags & Subcommands 19
agy -p "..." / --printagy --model <model>agy --effort <variant>agy --mode planagy --agent <agent>agy --sandboxagy --continue / -cagy --conversation <id>agy --project <id>agy --add-dir <dir>agy --output-format jsonagy modelsagy agentsagy plugin install <name>agy plugin listagy plugin enable <name>agy plugin disable <name>agy changelogagy updateTips
- 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. /planningenables multi-turn plan mode — produce a plan before big engineering tasks;/permissionsswitches global policy between request-review/always-proceed/strict./agentsand/tasksmonitor 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