Speed and lightness
A single Go binary that starts in milliseconds. No Node.js, no npm dependencies, low RAM usage.
Antigravity CLI (the command is agy) is Google’s new AI agent for the terminal and the official successor to Gemini CLI. It can read your project, edit multiple files at once, run commands, and remember your conversations — straight from the terminal.
agy shares its agent engine with Antigravity 2.0 (Google’s desktop app for AI development) but runs as a lightweight terminal app optimized for keyboard-driven work and SSH sessions.
| Topic | Gemini CLI | Antigravity CLI (agy) |
|---|---|---|
| Technology | Node.js-based (requires Node 20+) | A single self-contained Go binary — no Node.js |
| Startup | Seconds | Milliseconds, low RAM usage |
| Status | Free access shuts down June 18, 2026 | Google’s actively developed CLI |
| Agent engine | Its own | Shared with the Antigravity 2.0 desktop app |
| Conversations | Sessions | Persistent history, exportable to the desktop app |
curl -fsSL https://antigravity.google/cli/install.sh | bashThe installer places the agy binary in ~/.local/bin/ and updates your PATH.
Verify the installation:
agy --versionirm https://antigravity.google/cli/install.ps1 | iexThe binary is installed to C:\Users\<YourUsername>\AppData\Local\agy\bin.
curl -fsSL https://antigravity.google/cli/install.cmd -o install.cmd && install.cmd && del install.cmdLater updates are handled by the CLI itself:
agy updateIf your shell cannot find agy after installation, repair the PATH setup:
agy installStart agy in a project folder:
cd your-projectagySign-in uses your Google account:
/logout inside the CLI.The access token is stored securely in your system keyring, so you don’t need to sign in every time.
Enter a Git repo:
cd your-projectgit statusStart agy:
agyGive it a read-only task first:
Read this project and explain its structure.Don't make any changes and don't run any commands yet.agy asks for permission before editing files or running commands. Read what it wants to do before approving.
Speed and lightness
A single Go binary that starts in milliseconds. No Node.js, no npm dependencies, low RAM usage.
SSH and remote work
Designed for keyboard-first work over SSH — including a login flow that works on headless servers.
The Google ecosystem
Gemini models, Google sign-in, and a shared engine with Antigravity 2.0. Sessions can be exported to the desktop app.
MCP and plugins
Supports MCP servers (same format as Claude Code and Gemini CLI) and has a plugin system.
Verified with agy --help (version 1.0.3):
| Flag/command | Use |
|---|---|
agy | Start an interactive session |
agy -p "..." | Run a single prompt non-interactively and print the answer (headless/script use) |
agy -c | Continue the most recent conversation |
agy --conversation <id> | Resume a specific conversation |
agy -i "..." | Start interactively with an initial prompt |
agy --add-dir <path> | Add an extra directory to the workspace (repeatable) |
agy --sandbox | Run in a sandbox with terminal restrictions |
agy update | Update the CLI |
agy changelog | Show changes in recent versions |
agy plugin list | List installed plugins |
Useful slash commands inside the CLI:
| Command | Use |
|---|---|
/credits | See quota/credit status and purchase G1 credits |
/diff | Review changes the agent has made |
/changelog | Show version history |
/statusline | Customize the status line |
/logout | Sign out and clear saved credentials |
/help | See all commands and shortcuts |
agy stores its configuration in ~/.gemini/antigravity-cli/:
~/.gemini/antigravity-cli/├── settings.json # Model, color scheme, trusted workspaces, telemetry├── mcp_config.json # MCP servers├── conversations/ # Saved conversations├── knowledge/ # The agent's knowledge about your projects├── plugins/ # Installed plugins└── keybindings.json # Keyboard shortcutsExample settings.json:
{ "colorScheme": "dark", "enableTelemetry": false, "model": "Gemini 3.5 Flash (High)", "trustedWorkspaces": [ "/home/you/projects" ]}agy uses the same MCP format as Claude Code and Gemini CLI. Add servers in ~/.gemini/antigravity-cli/mcp_config.json:
{ "mcpServers": { "home-assistant": { "command": "node", "args": ["/path/to/ha-mcp/index.js"], "env": { "HA_URL": "http://homeassistant.local:8123" } } }}This means you can give agy access to your Home Assistant, your own databases, or other tools via MCP.
agy has three access levels:
| Level | What happens |
|---|---|
| Default | agy asks for permission before file changes and commands |
--sandbox | Commands run in a sandbox with terminal restrictions; “proceed-in-sandbox” auto-approves only commands inside the sandbox |
--dangerously-skip-permissions | Everything is auto-approved — only use in isolated environments |
Good practice:
--sandbox when analyzing code you don’t trust