Antigravity CLI vs Gemini CLI: Which One You Need and How to Migrate#
Published by Alex Sorokoletov
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 account | Tool | Why |
|---|---|---|
| Free, Google AI Plus | Antigravity CLI | Gemini CLI stopped serving it on June 18, 2026 |
| Google AI Pro or Ultra (personal) | Antigravity CLI | Same; Pro and Ultra also get Claude models in agy |
| Gemini Code Assist Standard or Enterprise | Gemini CLI or Antigravity CLI | Gemini CLI access is unchanged; Antigravity CLI has an enterprise sign-in through a GCP project |
| Code Assist for GitHub through Google Cloud | Gemini CLI | Access unchanged |
| Code Assist for GitHub, not through Google Cloud | Neither | No new installs after June 18, 2026; requests stop in the following weeks |
| Paid Gemini API key | Either | Gemini CLI keeps working with paid keys; agy also accepts GEMINI_API_KEY |
| Google Workspace plan | Ask your admin | Workspace 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 CLI | Gemini CLI | |
|---|---|---|
| Command | agy | gemini |
| Install | curl -fsSL https://antigravity.google/cli/install.sh | bash (Windows: install.ps1) | npm @google/gemini-cli |
| Source | Closed; one Go binary per platform, about 90 MB packed | Open source, Apache-2.0, Node.js |
| Releases | 104 on GitHub from 1.0.4 (June 1) to 1.5.23 (December 3, 2026), often one a day | v0.72.0 on December 2, 2026 |
| Agents | Subagents, background agents, /swarm, an Orchestrator that plans with one model and executes with another | One agent per session, subagents |
| Models | Gemini 4 family, plus Claude Sonnet 5.5 and Opus 5.5 on Pro and Ultra | Gemini models, not tuned for Gemini 4 |
| Extensions | Plugins (agy plugin), Agent Plugins format | Extensions |
| Hooks | ~/.gemini/config/hooks.json | hooks 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 app | Agent engine, settings and permissions; sessions export to Antigravity 2.0 | No |
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#
- Install:
curl -fsSL https://antigravity.google/cli/install.sh | bash, then check withagy --version. - Run
agyin 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. - Import extensions:
agy plugin import gemini. Custom commands become skills, and MCP servers declared by an extension go tomcp_config.json. - Move workspace skills from
.gemini/skills/to.agents/skills/. Global skills in~/.gemini/skills/stay where they are. - 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 useserverUrlinstead ofurlorhttpUrl:
{
"mcpServers": {
"internal": {
"serverUrl": "https://mcp.example.com/sse",
"env": { "API_TOKEN": "..." }
}
}
}
- 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#
| Model | Free and Google AI Plus | Google AI Pro | Google AI Ultra | Enterprise |
|---|---|---|---|---|
| Gemini 4 Hydrogen | Yes (default) | Yes | Yes | Yes |
| Gemini 4 Neon | No | Yes (paid or eligible trial) | Yes | Yes |
| Gemini 4 Carbon | No | Yes | Yes | Yes |
| Orchestrator | No | Yes | Yes | Yes |
| Claude Sonnet 5.5, Claude Opus 5.5 (thinking) | No | Yes (not on the trial) | Yes | Yes |
| Gemini 4 Argon, Gemini 3.x | No | No | No | Yes |
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