AI agents · OpenClaw · self-hosting · automation

Quick Answer

What Is Antigravity CLI? Google's New Terminal Agent (May 2026)

Published:

What Is Antigravity CLI? Google’s New Terminal Agent (May 2026)

Antigravity CLI is Google’s new terminal AI agent, launched at Google I/O 2026 on May 19, 2026, replacing Gemini CLI. It’s the terminal surface of the Antigravity platform — same agent harness as the Antigravity 2.0 desktop app, AI Studio, and Managed Agents in the Gemini API.

Last verified: May 21, 2026

Quick facts

PropertyValue
ReleasedMay 19, 2026 (Google I/O 2026)
VendorGoogle
ImplementationGo binary
Default modelGemini 3.5 Flash
Context window1,000,000 tokens
PlatformsmacOS, Linux, Windows
LicenseClosed source (binaries free to use)
ReplacesGemini CLI (sunset June 18, 2026 for consumers)
PricingFree CLI; pay-per-token API; AI Pro / AI Ultra plans for higher quotas

What it does

Antigravity CLI is an agent, not an autocomplete. You give it a task — “refactor this auth module to use the new JWT library” — and it explores your codebase, plans the change, runs tools (file I/O, shell, git, MCP servers), and reports back.

Key capabilities:

  • Multi-agent manager view — spawn N agents on different tasks in parallel, review when they’re done
  • Subagents — agents can spawn child agents with their own context windows for sub-problems
  • Shared sessions with Antigravity 2.0 desktop — pick up where you left off in the GUI
  • MCP support — connect to your MCP servers, GitHub, Sentry, databases, etc.
  • Plugin system — install Antigravity plugins for vendor-specific integrations
  • Background tasks — schedule agents to run on cron or git triggers
  • SSH-style remote auth — run an agent on a remote machine but drive it from your laptop

Install and first run

macOS

brew install google/antigravity/antigravity-cli
antigravity auth login
cd ~/my-project
antigravity

Linux

curl -fsSL https://antigravity.google/cli/install.sh | sh
antigravity auth login

Windows

winget install Google.AntigravityCLI
antigravity auth login

After auth login, your existing Google AI Pro / Ultra plan and quotas are picked up automatically. No new keys to generate.

What’s different from Gemini CLI

CapabilityGemini CLIAntigravity CLI
Default modelGemini 3.1 ProGemini 3.5 Flash
Multi-agentSingle agentParallel via manager view
SubagentsNoYes
Shared session with desktopNoYes
Plugin systemLimitedYes
Background / scheduled tasksNoYes
ImplementationTypeScript (Node)Go (single binary)
Future developmentFrozenActive

How it works under the hood

Antigravity CLI ships as a single statically-linked Go binary — no Node runtime required. The agent harness is the same one powering the rest of the Antigravity product line: Antigravity 2.0 desktop, AI Studio, and Managed Agents in the Gemini API.

The harness handles:

  1. Planning — breaking a task into a tree of subtasks
  2. Tool calling — file I/O, shell, git, MCP servers, web fetch
  3. Memory — per-session and (with opt-in) persistent project memory
  4. Checkpointing — agent runs are resumable across crashes
  5. Cost tracking — per-session token and dollar accounting

Configuration

Project-level config lives in .antigravity/config.toml:

[agent]
model = "gemini-3.5-flash"
fallback_models = ["gemini-3.1-pro"]
max_subagents = 8

[tools]
shell = true
git = true
github = true

[mcp.github]
command = "npx"
args = ["-y", "@modelcontextprotocol/server-github"]

User-level config in ~/.antigravity/config.toml.

Pricing

The CLI is free. You pay for model usage:

PlanAntigravity capacityBest for
Free GeminiLow quotaTrying it
AI Pro $19.99Standard quotaDaily but not heavy use
AI Ultra $99.99 (NEW)5x Pro + priorityFull-day agentic coding
AI Ultra $199.9920x Pro + priorityHeaviest users
Pay-per-tokenNo quota — billed per callVariable workloads

Token rates for Gemini 3.5 Flash: $1.50 / 1M input and $9 / 1M output. Among the cheapest frontier-class rates available in May 2026.

Migrating from Gemini CLI

Steps:

  1. brew install google/antigravity/antigravity-cli (or your platform’s equivalent)
  2. antigravity auth login — uses your existing Google account
  3. cd existing-gemini-cli-project && antigravity migrate — converts .gemini/config.json to .antigravity/config.toml
  4. Your custom MCP servers continue to work unchanged
  5. Before June 18, 2026 — Gemini CLI stops serving free, AI Pro, and AI Ultra users

Enterprise customers can stay on Gemini CLI past June 18 but new features only ship to Antigravity CLI.

Limits and caveats

  • Still very new — bugs and rough edges from week one. Expect rapid patch cadence.
  • Default model is Flash — fast and cheap but Gemini 3.1 Pro is still better on hard tasks. Switch with --model gemini-3.1-pro or set in config.
  • Closed source — unlike OpenAI’s Codex CLI (open source), the Antigravity CLI source is not public. The plugins API is documented but the harness internals aren’t.
  • Multi-agent is powerful but debug-heavy — running 8 agents in parallel produces 8 streams of output and overlapping diffs. The manager view helps; it’s still a behavior shift.

TL;DR

Antigravity CLI is what you should be running in your terminal by mid-June 2026 if you’re on the Google AI stack. It’s the Gemini CLI successor with a much better agent harness, multi-agent manager view, and Gemini 3.5 Flash as default. Free to install, $1.50/$9 per 1M tokens to run. Migrate before June 18 to avoid service interruption.