Part of the AI Coding Harness Guide — environment design for coding agents in production.

Antigravity CLI vs Gemini CLI: Which One You Need and How to Migrate#

Published by

Antigravity CLI (agy) is the terminal agent for personal Google accounts: free, Google AI Plus, Pro and Ultra. Gemini CLI (gemini) stopped serving those accounts on June 18, 2026 and stays for organizations on Gemini Code Assist Standard or Enterprise, Code Assist for GitHub on Google Cloud, and paid Gemini API keys. To move, install agy, run agy plugin import gemini, then move skills and MCP servers to their new paths.[1][2]

Which one you need#

Your accountToolWhy
Free, Google AI PlusAntigravity CLIGemini CLI stopped serving it on June 18, 2026
Google AI Pro or Ultra (personal)Antigravity CLISame; Pro and Ultra also get Claude models in agy
Gemini Code Assist Standard or EnterpriseGemini CLI or Antigravity CLIGemini CLI access is unchanged; Antigravity CLI has an enterprise sign-in through a GCP project
Code Assist for GitHub through Google CloudGemini CLIAccess unchanged
Code Assist for GitHub, not through Google CloudNeitherNo new installs after June 18, 2026; requests stop in the following weeks
Paid Gemini API keyEitherGemini CLI keeps working with paid keys; agy also accepts GEMINI_API_KEY
Google Workspace planAsk your adminWorkspace plans do not include Antigravity plans or higher limits

Gemini CLI's own README now says it is not tuned for the Gemini 4 series and should not be used to benchmark Gemini 4 models.[3]

What is different#

Antigravity CLIGemini CLI
Commandagygemini
Installcurl -fsSL https://antigravity.google/cli/install.sh | bash (Windows: install.ps1)npm @google/gemini-cli
SourceClosed; one Go binary per platform, about 90 MB packedOpen source, Apache-2.0, Node.js
Releases104 on GitHub from 1.0.4 (June 1) to 1.5.23 (December 3, 2026), often one a dayv0.72.0 on December 2, 2026
AgentsSubagents, background agents, /swarm, an Orchestrator that plans with one model and executes with anotherOne agent per session, subagents
ModelsGemini 4 family, plus Claude Sonnet 5.5 and Opus 5.5 on Pro and UltraGemini models, not tuned for Gemini 4
ExtensionsPlugins (agy plugin), Agent Plugins formatExtensions
Hooks~/.gemini/config/hooks.jsonhooks block in settings.json
Settings~/.gemini/antigravity-cli/settings.json, permissions in ~/.gemini/config/~/.gemini/settings.json and .gemini/settings.json
Shared with the desktop appAgent engine, settings and permissions; sessions export to Antigravity 2.0No

Both read GEMINI.md and AGENTS.md rule files, including the global ~/.gemini/GEMINI.md, so project instructions keep working without changes.[2][4]

How to migrate from Gemini CLI#

  1. Install: curl -fsSL https://antigravity.google/cli/install.sh | bash, then check with agy --version.
  2. Run agy in a project. On first launch it finds the Gemini CLI profile and shows a checklist: convert extensions and global configuration, move the session token into the OS keyring, and map display settings.
  3. Import extensions: agy plugin import gemini. Custom commands become skills, and MCP servers declared by an extension go to mcp_config.json.
  4. Move workspace skills from .gemini/skills/ to .agents/skills/. Global skills in ~/.gemini/skills/ stay where they are.
  5. Move MCP servers out of settings.json. Antigravity reads them from ~/.gemini/config/mcp_config.json (global) and .agents/mcp_config.json (workspace). Remote servers use serverUrl instead of url or httpUrl:
{
  "mcpServers": {
    "internal": {
      "serverUrl": "https://mcp.example.com/sse",
      "env": { "API_TOKEN": "..." }
    }
  }
}
  1. Re-create hooks in ~/.gemini/config/hooks.json (or with /hooks). The migration page does not list hooks or policies among the imported assets, so check them after the first run.

Google says there is no one-to-one feature parity, and some Gemini CLI terminal themes and experimental overlays do not carry over.[1][2]

Models and limits by plan#

ModelFree and Google AI PlusGoogle AI ProGoogle AI UltraEnterprise
Gemini 4 HydrogenYes (default)YesYesYes
Gemini 4 NeonNoYes (paid or eligible trial)YesYes
Gemini 4 CarbonNoYesYesYes
OrchestratorNoYesYesYes
Claude Sonnet 5.5, Claude Opus 5.5 (thinking)NoYes (not on the trial)YesYes
Gemini 4 Argon, Gemini 3.xNoNoNoYes

Pro and Ultra limits refresh every five hours; free and Google AI Plus limits refresh weekly. Pro and Ultra can spend purchased AI credits past the limit (/credits, "useG1Credits": true). Bring-your-own-key does not raise plan limits. agy usage (or /usage) prints the remaining quota.[5]

Should you switch?#

On a personal account you have no choice: Gemini CLI no longer serves it. On a Code Assist Standard or Enterprise license, Gemini CLI keeps working and stays open source, which matters if you audit or fork the agent, pin it in CI, or rely on hooks in settings.json. Move when you need Gemini 4 models, the Orchestrator, or one setup shared with the Antigravity desktop app. Antigravity ships almost daily and is closed source, so pin a version in scripts and read the changelog before upgrading.

FAQ#

Is Gemini CLI discontinued? No. It stopped serving free, Google AI Plus, Pro and Ultra accounts on June 18, 2026. Organizations on Gemini Code Assist Standard or Enterprise, Code Assist for GitHub on Google Cloud, and paid API keys still use it.

Can I use Gemini CLI for free? Not with a personal Google sign-in since June 18, 2026. A paid Gemini API key still works.

Does Antigravity CLI read GEMINI.md? Yes. It reads GEMINI.md and AGENTS.md in the workspace and ~/.gemini/GEMINI.md globally.

How do I move Gemini CLI extensions to Antigravity CLI? Run agy plugin import gemini. Custom commands become skills and MCP server definitions move to mcp_config.json.

Can Antigravity CLI use Claude? Yes, on Google AI Pro (not the trial), Ultra and Enterprise: Claude Sonnet 5.5 and Claude Opus 5.5 with thinking.

Is Antigravity CLI open source? No. The GitHub repository holds the README, changelog and examples, and releases ship as binaries.

Sources: [1] Google: transitioning Gemini CLI to Antigravity CLI (May 19, 2026) · [2] Antigravity CLI migration guide · [3] Gemini CLI README (v0.72.0) · [4] Antigravity CLI README and changelog · [5] Antigravity plans and models

Related: Gemini CLI version tracker · Gemini CLI hooks reference · Gemini CLI settings reference

Get the weekly digest

New Claude Code, Codex, Gemini CLI and OpenCode guides and release analyses, once a week, plus occasional notes.

One email a week plus occasional notes. Confirm by email; unsubscribe from any issue. Privacy