Antigravity CLI: What It Is, What It Costs, and How to Start

Install Google’s agy terminal agent, review your first edit, and run a headless prompt. See who moved from Gemini CLI and what Google’s terms permit.

Published

Antigravity CLI: What It Is, What It Costs, and How to Start

If you used Gemini CLI with a personal Google plan, Antigravity CLI is its replacement. Type agy in a project folder and you can ask Google’s coding agent to change a file, inspect the edit, and decide what to run next. Google made the switch for personal users on June 18, 2026.

Gemini CLI vs Antigravity for personal projects

The account you used with Gemini CLI determines whether you need to switch. Google moved free individual users and Google AI Pro and Ultra subscribers to Antigravity CLI. Developers using Gemini Code Assist Standard or Enterprise licenses, or paid Gemini API keys, could keep using Gemini CLI. If you have both a personal login and a work license, check which one your project uses. Google’s transition announcement

On first launch, agy looks for your old Gemini CLI configuration and lets you choose which extensions and settings to bring over. If you’re deciding what to keep on a work machine, the Gemini CLI and Claude Code comparison covers the older tool’s place in that decision. Google’s migration guide

Google’s Antigravity CLI product page showing its terminal interface
Google Antigravity CLI

Think of agy as a pair programmer sitting at the terminal you opened. The project directory tells it where to start, a plain-language request gives it a task, and a diff shows you which lines it changed. If you prefer to inspect plans visually or oversee several agents from a desktop window, the Google Antigravity guide covers the wider platform.

Install Antigravity CLI in your terminal

As verified on December 2, 2026, personal access starts at $0 per month, and Google lists Free and Google AI Plus together under a weekly quota measured by work done, with no fixed prompt count. Full Antigravity pricing

Use the command for your shell from Google’s CLI download page. On macOS, Linux, or the Linux terminal on a Googlebook, run:

Bash
curl -fsSL https://antigravity.google/cli/install.sh | bash

On Windows, open PowerShell and run:

Powershell
irm https://antigravity.google/cli/install.ps1 | iex

How to start Antigravity CLI and sign in

Open a fresh terminal. Run agy --version to check that your shell can find the program. Then start in an empty folder so the first edit is easy to spot. Here’s Google’s example for a macOS or Linux shell:

Bash
mkdir agy-demo && cd agy-demo
agy

For a personal account, choose Google OAuth when prompted, then finish signing in through the browser window that opens. If Antigravity finds a valid sign-in in your computer’s secure credential store, it can open the session without a browser prompt. Over SSH, open the sign-in link on your local computer and paste the returned code into the remote terminal. Google’s CLI sign-in instructions

During setup, choose your display preferences and check the folder before confirming workspace trust. This is the directory the agent will index. For a first session in an existing project, open your terminal inside that project before launching agy.

How to use Antigravity CLI on a first task

Google’s getting-started example begins with a small request. In the prompt inside agy, ask for a Python script that fetches the text of a web page. Google’s walkthrough shows the agent creating main.py. If it asks for approval to create the file, press Y after checking the filename. In auto mode, workspace edits and sandboxed commands can run automatically.

Type /diff inside the session to inspect the change. For this task, look for where the script gets its URL and what it does with the returned text. Then ask the agent to run the script and show its output. The diff answers “What did it write?” Running the script answers “What happens when I use it?” Type /exit to return to your shell.

The Antigravity CLI command for a single prompt

Use agy -p from the shell when you want one answer printed and have no follow-up ready. For example, from the demo folder after the script exists:

Bash
agy -p "Explain how main.py gets the web page text."

That’s headless mode. A script can make the same call without opening the interactive interface. Stick with an interactive session when the next instruction depends on what you see in the diff.

One canal loops back for interactive review while a straight channel delivers a headless response
Use the interactive session for follow-up decisions. Use headless mode for a task you can state in one prompt.

What Google permits in headless mode

Section 6 of Google’s Antigravity terms explicitly permits calling Antigravity “as a tool or subagent from another harness, using the Antigravity CLI in headless mode, or configuring it through supported customization and extension mechanisms”. This permission covers the unmodified Antigravity runtime accessed through supported interfaces. It also covers a third-party user interface built around that runtime and supported extensions such as plugins and hooks.

The distinction for a developer is what crosses the boundary. Another coding tool can hand a task to the official CLI. Copying an Antigravity sign-in token into that tool so it can spend your entitlement directly is prohibited. Section 6 also prohibits bypassing or modifying the runtime, turning it into a raw model proxy for an external agent, and sharing, pooling, or reselling individual access. Google identifies separate administrator agreements for access through its business services.

A caller passes a task through the official CLI gate while the credentials stay inside
A caller can delegate work to the official runtime. The account credentials stay with it.

Antigravity CLI vs Claude Code in an existing workflow

If you already work in Anthropic’s Claude Code or OpenAI’s Codex, decide whether you want a new terminal session or just a way to delegate a task from your current one. For the latter, use the Antigravity setup for Claude Code and Codex. For a choice between working environments, see Google Antigravity vs Claude Code.

Voice mode in the terminal

On December 2, 2026, Google said Gemini 4 Live powers native voice mode in both the Antigravity desktop app and CLI. While an agent works, you can hear progress, interrupt to redirect it, and approve routine steps by voice. High-impact actions still require a click. Google’s Gemini 4 Live announcement

Common questions

What is the CLI command for Antigravity?

Run agy in the project directory. It opens an interactive session there.

What does Antigravity do?

Its agents can edit project files and run commands in response to a task. In the CLI, you can inspect the resulting changes with /diff.

How to upgrade Antigravity CLI?

Run agy update in your shell, then check the installed version with agy --version. Google’s CLI command reference

What is the difference between Antigravity and Antigravity CLI?

Antigravity is Google’s development platform. The CLI is the terminal interface to its agents. The platform also offers a desktop app, editor integrations, and a software development kit.

Should I use Gemini CLI or Antigravity?

Use Antigravity CLI if you relied on Gemini CLI through free individual access or a personal Google AI subscription. If you use an eligible work license or paid API key, the personal-account transition alone gives you no reason to switch.

Is Antigravity getting worse?

Google’s public docs describe features and limits. For a project-specific answer, look at how the edits hold up on your own tests. Keep a small task with a known passing test and compare the resulting edits on the same starting files.

Is there anything better than Antigravity?

It depends on the job. If reviewing several plans visually matters more than staying in the shell, start with the desktop app. If you want another terminal agent, compare candidates on the same edit and the checks you use before accepting it.

Why is Antigravity bad?

One concrete drawback for someone planning a batch of jobs is quota predictability. A complex task can use more of the weekly allowance than a short one, so counting prompts tells you little about how much work will fit.

Will Antigravity be free forever?

Google offers individual access today and says usage limits may change. Its current plans page gives no lifetime guarantee.

If you’re choosing which terminal agent to keep, compare the Claude Code alternatives on a task from your own project. For more developer guides, subscribe to the newsletter.

Published
Category
Build
Related Articles
Claude Code Channels

Claude Code Channels

Message a running Claude Code session from your phone. Set up Telegram, connect a Discord team room, and choose who can send requests or approve tools.Dec 2, 2026Build
Claude Worktree

Claude Worktree

Run Claude Code sessions in separate Git worktrees. Start two features, test a pull request, isolate a subagent and decide which files survive cleanup.Dec 2, 2026Build
AgentMail: What It Is, What It Costs, and How to Start

AgentMail: What It Is, What It Costs, and How to Start

Give an AI agent its own email address. See the first inbox call in Python, the free plan’s limits, and when Gmail or SMTP fits better.Dec 2, 2026Build
Antigravity CLI in Claude Code and Codex: The Setup Google Allows

Antigravity CLI in Claude Code and Codex: The Setup Google Allows

Google's terms now let Claude Code or Codex call the Antigravity CLI as a subagent. The exact rule, what stays forbidden, and a setup built from the docs.Dec 2, 2026Build
LM Studio: What It Is and How to Run Your First Local Model

LM Studio: What It Is and How to Run Your First Local Model

Find the LM Studio desktop installer, choose a model that fits your memory, chat offline, and send your first request to its local server.Dec 2, 2026Build
Kiro Crew: What Teams Share and How to Get Started

Kiro Crew: What Teams Share and How to Get Started

How a shared Kiro Crew turns review feedback into team skills, who can join, what the crew seat costs and how to connect your first host.Dec 2, 2026Build
How to Install Claude Code on macOS, Linux and Windows

How to Install Claude Code on macOS, Linux and Windows

Install Claude Code on macOS, Linux or Windows. Choose your terminal, verify the install, sign in, fix common errors and update or uninstall it.Dec 2, 2026Build
Claude Managed Agents on Amazon Bedrock and the Claude API

Claude Managed Agents on Amazon Bedrock and the Claude API

Choose between the Claude API and Amazon Bedrock, see who runs the tools and bills usage, and create an agent with Anthropic’s documented request.Dec 1, 2026Build
Newsletter

One letter, every Sunday.Working systems, not hot takes.

Weekly. No spam. Unsubscribe anytime.