Google Antigravity CLI
The Complete Guide

Gemini CLI is dying June 18, 2026. Antigravity CLI replaces it — with multi-model support, a free tier, and real agent capabilities. Here's everything you need to know.

⏰ Gemini CLI Sunset: 6 DAYS left — June 18, 2026
📑 Quick Navigation
What Is It Install Guide Pricing vs Alternatives Migration FAQ

What Is Google Antigravity CLI?

Google Antigravity CLI (binary: agy) is Google's terminal-first AI coding agent, launched May 19, 2026. It replaces the Gemini CLI, which sunsets for individual users on June 18, 2026.

Unlike the Antigravity 2.0 desktop IDE, the CLI runs entirely in your terminal. It shares the same agent engine — meaning you get multi-step reasoning, multi-file editing, tool calling, MCP server support, and conversation history, all keyboard-driven.

Key Features

🤖
Multi-Model Support

Default: Gemini 3.5 Flash (Medium). Switch to Claude 3.6 Opus or GPT-5.5 with one click when Gemini hits a wall.

Gemini 3.5Claude 3.6GPT-5.5
🔌
Plugin System

Install plugins with MCP servers, hooks, skills, and sub-agents. agy plugin import gemini migrates your old extensions.

MCP NativeOpen Source
🔒
Terminal Sandbox

Built-in sandbox uses nsjail (Linux), sandbox-exec (macOS), AppContainer (Windows) to isolate agent commands.

SecureZero Overhead
📂
Workspace Support

Use /add-dir to expand context across multiple project directories, similar to Claude Code.

Multi-dirSSH Friendly

How to Install Antigravity CLI

Works on Linux, macOS, and Windows. You need a Google account (free works).

macOS / Linux

# Install Antigravity CLI
$ curl -fsSL https://antigravity.google/install.sh | sh

# Verify installation
$ agy --version

# Sign in with Google
$ agy auth login

# Start coding
$ cd your-project && agy

Windows (PowerShell)

# Install via PowerShell
PS> irm https://antigravity.google/install.ps1 | iex

# Verify and authenticate
PS> agy --version
PS> agy auth login

⚠️ VM Users: One Common Error

On virtual machines without AES hardware instructions, the CLI will crash on startup. Fix: enable AES-NI in your VM settings (VirtualBox: Settings → System → Processor → Enable PAE/NX).

Antigravity CLI Pricing (June 2026)

Free Tier
$0

Google account required. Generous rate limits during preview period. Default Gemini 3.5 Flash model.

Free ForeverPreview Limits
Ultra ⭐ Best Value
$99.99/mo

All models: Gemini 3.5, Claude 3.6 Opus, GPT-5.5. High rate limits. Previously the $249.99 tier — now much cheaper.

Save $150/mo
Code Assist Enterprise
Custom

Teams on Code Assist Standard/Enterprise keep Gemini CLI alive with continued model updates. No migration needed.

EnterpriseGemini CLI Lives
💡 Cost Comparison: Antigravity Ultra vs Competitors

If you currently pay for Claude Code Max ($200/mo) + Codex (included with ChatGPT Pro $200/mo), switching to Antigravity Ultra ($99.99/mo) gives you access to all three models for less than half the cost. Many power users run Antigravity as primary and keep a single Claude Pro ($20/mo) as backup.

Antigravity CLI vs Alternatives (June 2026)

Feature Antigravity CLI Claude Code Cursor 3.5 GitHub Copilot
Price Free / $99.99 Ultra API / $200 Max $20 Pro / $40 Ultra $10-$39/mo
Default Model Gemini 3.5 Flash Opus 4.7 Composer 2.5 GPT-4o / Claude
Multi-Model ✅ Gemini + Claude + GPT ❌ Claude only ✅ GPT + Claude ✅ Multiple
Interface Terminal (TUI) Terminal IDE (VS Code fork) VS Code plugin
Free Tier ✅ Yes ❌ No ✅ Limited ✅ Limited
MCP Support ✅ Native ✅ Plugin marketplace ✅ Yes ⚠️ Limited
Sandbox ✅ Built-in (nsjail) ⚠️ Manual ✅ IDE sandbox ❌ No
SWE-bench ~72% (est.) 80.8% 🏆 75% (Composer 2.5) ~70%
Best For Budget-conscious devs who want multi-model Pure code quality, agentic loops IDE-first, multi-file refactor Teams, GitHub ecosystem

Want the best AI coding tools at the lowest price?

We track every AI coding tool's pricing, benchmarks, and hidden costs. Get our weekly breakdown.

Get TrendPulse Signals → $29/mo

Migrate from Gemini CLI → Antigravity CLI

Migration deadline: June 18, 2026. After this date, Gemini CLI stops working for individual accounts.

1
Install Antigravity CLI
$ curl -fsSL https://antigravity.google/install.sh | sh
2
Import your Gemini CLI config
$ agy plugin import gemini
# Converts extensions, MCP servers, skills, hooks
3
Authenticate with Google
$ agy auth login
# Same Google account as Gemini CLI — OAuth tokens transfer
4
Test in a disposable folder
$ mkdir test-agy && cd test-agy && agy
# Verify your plugins and settings work before using on real projects
5
Switch models as needed
# Inside agy, use slash commands:
/model gemini-3.5-flash # default
/model claude-3.6-opus # for hard bugs
/model gpt-5.5 # alternative reasoning

Which AI Coding Tool Should You Use?

🎯 Use Antigravity CLI if you want:

The cheapest way to access Gemini 3.5 + Claude + GPT in one terminal tool. Free tier is generous. $99.99 Ultra is a steal compared to stacking individual subscriptions. Great for SSH workflows and budget-conscious developers.

🏆 Use Claude Code if you want:

The absolute best code quality. SWE-bench leader at 80.8%. Opus 4.7 is unmatched for complex refactoring and multi-file agentic loops. Worth the $200/mo if coding is your full-time job and you need the highest accuracy.

💻 Use Cursor 3.5 if you want:

An IDE-first experience with Cloud Agents. Best for developers who want autocomplete + agents in the same window. $20/mo Pro is the sweet spot for most developers. Composer 2.5 is excellent for multi-file refactors.

🐙 Use GitHub Copilot if you want:

The most proven, widely-adopted option with deepest GitHub integration. Best for teams already on GitHub. $10/mo individual is the cheapest paid option. Agent mode is now GA with BYOK support.

Frequently Asked Questions

Q: Will my Gemini CLI extensions work in Antigravity CLI?
A: Most will, but not automatically. Run agy plugin import gemini to convert extensions to the new plugin format. MCP servers, skills, and hooks migrate over. The file layout changes from ~/.gemini/ to ~/.gemini/antigravity-cli/. Always test after migration.
Q: Can I use Antigravity CLI for free?
A: Yes. A free Google account gives you access during the preview period with generous rate limits. You get Gemini 3.5 Flash as the default model. No credit card required.
Q: What happens after June 18, 2026?
A: Gemini CLI stops serving requests for all individual-tier accounts (free, Pro, Ultra). Enterprise Code Assist Standard/Enterprise users keep the old tool. Individual developers must migrate to Antigravity CLI.
Q: Is Antigravity CLI open source?
A: The CLI itself is not fully open source, but the plugin system and extension framework are. You can create and share plugins freely. The agent engine is proprietary Google technology backed by Gemini models.
Q: Does Antigravity CLI work over SSH?
A: Yes, it's specifically designed for terminal-first workflows including remote SSH sessions. It's optimized for keyboard-driven workflows with minimal resource overhead — no GUI required.
Q: Antigravity CLI vs Antigravity 2.0 — what's the difference?
A: Antigravity 2.0 is a desktop IDE (graphical app). Antigravity CLI is a terminal tool (binary: agy). They share the same agent engine and account, but are installed and run independently. You can export CLI conversations into 2.0 for GUI continuation.

🔥 Stay ahead of every AI tool change

TrendPulse tracks AI coding tools, crypto, and market trends in real-time. Get pricing alerts, benchmark updates, and migration guides before everyone else.

Get Signals — $29/mo → Compare All AI Tool Prices →

📚 Related Guides

💰 AI Coding Tools Pricing 2026 🤖 Best AI Coding Agents Compared 📈 Best AI Trading Bots 2026 ⚔️ Claude vs GPT-5.5 vs Gemini