
TL;DR
Gemini CLI stops working June 18, 2026. Here is exactly what to do: install Antigravity CLI, migrate your config, update your scripts, and avoid the silent MCP failure that breaks tool calls.
| Resource | Link |
|---|---|
| Google Developers Blog Announcement | developers.googleblog.com |
| Antigravity CLI Installation | antigravity.google/cli |
| Antigravity Documentation | antigravity.dev/docs |
| GitHub Issue #31 (ACP Mode) | github.com/google/antigravity-cli/issues/31 |
| Gemini Code Assist Enterprise | cloud.google.com/gemini/docs |
Last updated: June 17, 2026
Tomorrow, June 18, 2026, Gemini CLI stops serving requests for free-tier and Google AI Pro/Ultra users. If you rely on the gemini binary in your terminal, CI pipelines, or automation scripts, you have roughly 24 hours to migrate to Antigravity CLI or your workflows will break.
This guide covers exactly what to do: installation, config migration, the silent MCP bug that breaks tool calls, and the CI/CD changes you cannot skip.
Must migrate by June 18:
Exempt from migration:
If you are on an enterprise license, your Gemini CLI access continues. But the community is moving to Antigravity, so the ecosystem support for Gemini CLI will decline.
Antigravity CLI is a ground-up Go rewrite, not a fork of the original TypeScript stack. The core features transfer: Agent Skills, Hooks, Subagents, and Extensions (now called plugins). But the implementation details differ in ways that will break existing automation.
Key differences:
| Aspect | Gemini CLI | Antigravity CLI |
|---|---|---|
| Binary name | gemini | agy |
| Language | TypeScript | Go |
| Performance | Standard | Faster startup, async multi-agent |
| Skills directory | .gemini/skills/ | .agents/skills/ |
| Global skills | ~/.gemini/skills/ | ~/.gemini/antigravity-cli/skills/ |
| MCP config | Inline in settings.json | Separate mcp_config.json |
| Extensions | Extensions API | Plugins API |
| Request quota | 1,000/day | Weekly compute cap |
Google explicitly states there will not be 1:1 feature parity at launch. The migration script does not touch your CI configs, cron jobs, or shell aliases. You must audit those manually.
Get the weekly deep dive
Tutorials on Claude Code, AI agents, and dev tools - delivered free every week.
From the archive
Jun 17, 2026 • 9 min read
Jun 17, 2026 • 7 min read
Jun 17, 2026 • 7 min read
Jun 17, 2026 • 11 min read
macOS/Linux:
curl -fsSL https://antigravity.google/cli/install.sh | bash
Or via Homebrew:
brew install --cask antigravity-cli
Windows (PowerShell):
irm https://antigravity.google/cli/install.ps1 | iex
Verify installation:
agy doctor
This runs end-to-end validation. Fix any issues before proceeding.
Run agy and complete the OAuth flow. The settings file lands at ~/.gemini/antigravity-cli/settings.json.
If you were using a custom API key with Gemini CLI, you will need to reconfigure it in the new settings file.
Antigravity CLI includes a migration command for Gemini extensions:
agy plugin import gemini
This converts your Gemini extensions to Antigravity plugins. Review the output for any warnings about incompatible extensions.
Workspace skills move from .gemini/skills/ to .agents/skills/:
git mv .gemini/skills .agents/skills
Global skills move from ~/.gemini/skills/ to ~/.gemini/antigravity-cli/skills/:
mv ~/.gemini/skills ~/.gemini/antigravity-cli/skills
This is where most migrations silently fail. Antigravity CLI moves MCP server configuration from inline entries in settings.json to a dedicated mcp_config.json file.
The trap: Remote MCP servers use a different field name. You must rename url to serverUrl. If you keep url, the server appears to load at startup and passes initial checks. It only fails hours later when you actually invoke a tool - no error at startup, just silent failure during the session.
Before (Gemini CLI settings.json):
{
"mcpServers": {
"myserver": {
"url": "https://mcp.example.com/v1"
}
}
}
After (Antigravity CLI mcp_config.json):
{
"mcpServers": {
"myserver": {
"serverUrl": "https://mcp.example.com/v1"
}
}
}
Run agy inspect after configuration to confirm your plugins, skills, and MCP servers loaded correctly.
The migration script does not touch scripts, cron jobs, or CI configs that invoke the gemini binary directly. You must find and replace these yourself.
Audit your codebase:
grep -r "gemini" .github/workflows/
grep -r "gemini" scripts/
grep -r "^gemini " ~/.bashrc ~/.zshrc ~/.bash_profile
Replace all gemini calls with agy. Common locations:
Missing ACP mode: If you use orchestration bridges with stdio mode, there is no drop-in replacement. GitHub Issue #31 tracks this gap. Workaround: use the HTTP transport or wait for the feature.
Quota change: The daily 1,000-request limit becomes a weekly compute-based cap. Community reports describe exhaustion after roughly 2,000 lines of generated code, with multi-day cooldowns. Plan heavy generation work accordingly.
No backward compatibility: Even features marked as "carried forward" may have different flag names and environment variable conventions. Test everything before June 18.
Before June 18, confirm:
agy doctor passesagy inspect shows all plugins, skills, and MCP serversserverUrl not urlgemini binary references in CI/CD replaced with agyThe migration takes roughly 45 minutes for interactive setup. Auditing automation infrastructure takes longer. Start now.
After June 18:
You can still use Gemini models via the API with paid keys, but the CLI convenience disappears. If you need CLI access without enterprise licensing, Antigravity CLI is now the only path.
Yes. Unlike Gemini CLI which was Gemini-only, Antigravity CLI supports multiple providers including Gemini, Claude, and GPT-OSS models through the /model command.
No. The CLI itself stops serving requests. Having an API key lets you call Gemini models programmatically, but the gemini binary will not work. You would need to build your own tooling or use Antigravity CLI.
They need to move to the new directory structure. Use git mv .gemini/skills .agents/skills for workspace skills. The skill format itself remains compatible.
Yes. Install Antigravity CLI now and run agy doctor and agy inspect. Both tools can coexist temporarily. Validate your config migration before removing Gemini CLI.
Google announced on May 19, 2026 with a June 18 deadline - roughly one sprint cycle. The reasoning was not explained in the blog post. Enterprise customers are exempt, which suggests this is a cost-reduction move for free-tier support.
Yes, enterprise users retain access with "the latest Gemini models and other updates" according to the announcement. But community investment will shift to Antigravity CLI.
Use the GitHub repository at github.com/google/antigravity-cli. The ACP mode gap is tracked as Issue #31.
Google has not published specific numbers. Community reports suggest roughly 2,000 lines of generated code before throttling kicks in, with multi-day cooldown periods. Monitor your usage and plan heavy generation work accordingly.
Read next
Google's Gemini CLI gives you free access to Gemini 2.5 Pro with a 1 million token window. Here is how to use it for TypeScript projects.
4 min readAntigravity marks the first release from a team that originated at Windsurf. After selling non-exclusive IP rights, the founding members joined Google and built this product on top of that foundation.
7 min readFrom Claude Code to Gladia, the ten CLIs every AI-native developer should know. Install commands, trade-offs, and when to reach for each.
8 min readTechnical content at the intersection of AI and development. Building with AI agents, Claude Code, and modern dev tools - then showing you exactly how it works.
Google's open-source coding CLI. Free tier with Gemini 2.5 Pro. Supports tool use, file editing, shell commands. 1M toke...
View ToolOpen-source AI pair programming in your terminal. Works with any LLM - Claude, GPT, Gemini, local models. Git-aware ed...
View ToolGoogle's frontier model family. Gemini 2.5 Pro has 1M token context and top-tier coding benchmarks. Gemini 3 Pro pushes...
View ToolFactory AI's terminal coding agent. Runs Anthropic and OpenAI models in one subscription. Handles full tasks end-to-end...
View ToolPlan and track the short-form clipping pipeline from source video to publish queue.
View AppCreate show notes, clips, titles, and promotional assets from podcast source material.
View AppGenerate room redesign concepts, staging directions, and client-ready makeover briefs.
View AppThe primary command-line entry point for Claude Code sessions.
Claude CodeInstall the dd CLI and scaffold your first AI-powered app in under a minute.
Getting StartedClickable PR link in the footer with review state color coding.
Claude Code
Google's Gemini CLI gives you free access to Gemini 2.5 Pro with a 1 million token window. Here is how to use it for Typ...

Antigravity marks the first release from a team that originated at Windsurf. After selling non-exclusive IP rights, the...

From Claude Code to Gladia, the ten CLIs every AI-native developer should know. Install commands, trade-offs, and when t...

Every major AI coding tool just went through a pricing shift. Here are the exact numbers for Cursor, GitHub Copilot, Cla...

Google's Gemini Advanced includes a deep research feature that searches dozens of websites, verifies information across...

OpenCode is the fastest-growing open-source AI coding agent - 160K GitHub stars, 7.5M monthly users, 75+ model providers...

New tutorials, open-source projects, and deep dives on coding agents - delivered weekly.