AI DevelopmentNew Release12 min readPublished June 9, 2026

Migrate before June 18 · ~45 min to switch · the traps cost more than the time

Gemini CLI Dies June 18: The Antigravity Migration Guide

Google announced on May 19 that Gemini CLI stops serving Pro, Ultra, and free Code Assist users on June 18, 2026. The replacement is the closed-source, Go-based Antigravity CLI (binary agy). This is the migration path, the silent failures that break automation quietly, and the quota change nobody put in the headline.

DA
Digital Applied Team
Senior engineers · Published Jun 9, 2026
PublishedJun 9, 2026
Read time12 min
Sources8 primary + community
Consumer shutdown
Jun 18
Pro · Ultra · free
announced May 19
Community PRs accepted
6,000+
before the repo went closed
GitHub stars
104k+
on the Apache 2.0 repo
Migration time
~45min
install → import → MCP

The Gemini CLI shutdown lands on June 18, 2026: on that date Google's open-source terminal coding agent stops serving Google AI Pro, Ultra, and free Gemini Code Assist for individuals users, per Google's May 19 announcement. The successor is Antigravity CLI — a closed-source rewrite with a new binary, a new config layout, and a quota model that quietly trades daily limits for weekly ones.

If you run geminiinteractively, the switch is mostly an afternoon's work. If you run it inside CI pipelines, cron jobs, or orchestration bridges, you have a different problem: several failures here are silent. The migration script does not touch your automation, one MCP config field fails without throwing an error, and one widely used integration mode is not present at launch.

This guide covers exactly what stops working and when, why Google replaced an Apache 2.0 project that took 6,000+ community pull requests, a 15-dimension migration matrix with risk ratings, the step-by-step cutover to agy, the traps that break automation quietly, and how to decide whether to migrate, claim the enterprise exemption, or move off Google entirely.

Key takeaways
  1. 01
    Consumer Gemini CLI stops serving on June 18, 2026.Google AI Pro, Ultra, and free Gemini Code Assist for individuals lose access on that date. Gemini Code Assist for GitHub stops new org installs the same day; existing requests stop in the weeks after.
  2. 02
    Enterprise licenses are exempt.Organizations on Gemini Code Assist Standard or Enterprise, or using paid Gemini / Gemini Enterprise Agent Platform API keys, keep uninterrupted access to Gemini CLI. The cutoff is a consumer-tier event.
  3. 03
    Antigravity CLI is closed-source.The new agy binary is a Go rewrite of the Node.js codebase. Its public GitHub repo holds only a changelog, readme, and a GIF — no application code. The old Gemini CLI repo stays available as Apache 2.0, but without Google's backend it is a skeleton.
  4. 04
    Migration takes about 45 minutes — the traps cost more.Install agy, authenticate, import plugins, move skills, rewrite MCP config. The expensive part is what breaks quietly: a renamed MCP field, CI jobs that still call gemini, and integration modes not present at launch.
  5. 05
    Quota regresses from daily to weekly.Gemini CLI offered 1,000 requests per day. Antigravity CLI uses a weekly compute-based cap. Heavy users report exhausting it fast and facing multi-day cooldowns — a meaningful downgrade for daily drivers.

01The DeadlineWhat actually stops working June 18.

Google's May 19 announcement is specific about scope. On June 18, 2026, the Gemini CLI and the Gemini Code Assist IDE extensions stop serving all Google AI Pro, Ultra, and free Gemini Code Assist for individuals users. Separately, Gemini Code Assist for GitHub permits no new organization installations from June 18, and existing requests stop being served in the weeks that follow.

There is one carve-out worth reading carefully. Organizations with Gemini Code Assist Standard or Enterprise licenses, or access via paid Gemini / Gemini Enterprise Agent Platform API keys, retain uninterrupted access to Gemini CLI. In other words, this is a consumer-tier shutdown. If your team is on an enterprise license, you are not on a clock — though you may still want to evaluate Antigravity for the new capabilities.

Stops June 18
Consumer tiers
Pro · Ultra · free Code Assist (individuals)

Gemini CLI and the Gemini Code Assist IDE extensions stop serving these users on the cutoff date. This is the group that needs to migrate before June 18.

Action: migrate to agy
Tapers off
Code Assist for GitHub
no new org installs from Jun 18

New organization installations are blocked on the cutoff date; existing requests stop being served over the weeks that follow rather than all at once.

Action: plan replacement
Unaffected
Enterprise & paid API
Standard / Enterprise / paid API keys

Organizations on a Code Assist Standard or Enterprise license, or paid Gemini / Agent Platform API keys, keep uninterrupted Gemini CLI access. No forced migration.

Action: optional eval
Timeline snapshot
Antigravity CLI was announced at Google I/O on May 19, 2026, opening a roughly 30-day migration window before the June 18 cutoff. The last stable Gemini CLI release is v0.44.0; the current Antigravity CLI release is 1.0.1(as of early June 2026). Versions and dates move quickly — confirm against Google's official announcement before you plan a production cutover.

For background on what the original tool was and why so many teams adopted it, see our deep dive on Gemini CLI's open-source origins. The same June 18 deadline also touches Gemini Code Assist IDE extensions, so audit both surfaces if your team relies on either.

02The WhyWhy Google replaced its own open-source tool.

Gemini CLI launched in June 2025 as an Apache 2.0, TypeScript-based open-source AI coding agent. Within roughly a year it accumulated 104,000+ GitHub stars and merged 6,000+ pull requests from external contributors — one of the more successful community efforts around an AI developer tool. The repository was also donated to the Linux Foundation before the shutdown announcement.

Antigravity CLI is a Go rewrite of that Node.js codebase. Google states the rewrite delivers faster startup and lower memory consumption — claims that are reasonable for a Go binary but not independently benchmarked at the time of writing. The harder fact is the licensing change: Antigravity CLI's public GitHub repository contains only a changelog, a readme, and a GIF — no application code. The tool is closed-source.

This is the part that drew the backlash. Google's position is that the original project "remains available to the community as an Apache 2.0 licensed repository with no changes." That is technically true and operationally hollow: the open repo is a fork-able skeleton that requires Google's proprietary backend to function. Take the API away and the code does not run. Calling it still-open is a fig leaf, not a fallback.

"Essentially working for free on a code base that will only be used in enterprises?"— Andrea Alberti, Gemini CLI contributor (27 merged commits), via byteiota and TechTimes

The contributor sentiment is the through-line. Developers who spent unpaid hours improving an open project now watch that work move behind an enterprise-only wall. The pattern — open a tool, harvest community contributions, then close the result — is the one critics keep returning to, and it is sharper here precisely because the project was a Linux Foundation donation, not a casual side repo.

Our reading: the strategic logic is defensible (Google wants a single shared agent harness across its CLI and desktop surfaces), but the communications were not. The migration would have landed far more cleanly with an explicit acknowledgement of the contributor question and a longer runway. For teams, the lesson is structural — treat any vendor-controlled "open" tool whose value depends on a proprietary backend as a managed dependency, not an open one, and keep a migration plan warm.

The precise criticism
The accurate framing is not simply "bait-and-switch." It is that an Apache 2.0 license on a backend-dependent client gives the appearance of openness without the substance. You can read the code; you cannot run the tool without Google's infrastructure. Plan your dependency posture accordingly.

03Migration MatrixEvery dimension that changes, with risk ratings.

Most migration write-ups cover five or six items in prose. The table below assembles fifteen dimensions into a single scannable matrix so a team can prioritize by risk rather than read paragraphs. Green means it carries over or is a clean rename; amber means a behavior change you should plan for; red means a capability loss or a silent failure that breaks things without warning. Cells are drawn from Google's official announcement plus the community migration guides and tracker issues cited throughout this guide.

Gemini CLI to Antigravity CLI migration matrix across fifteen capabilities, showing Gemini CLI behavior, Antigravity CLI behavior, the migration action required, and a risk level for each.
CapabilityGemini CLIAntigravity CLIMigration actionRisk
Agent SkillsSupportedCarries overMove folder (see step 4)Low
HooksSupportedCarries overNoneLow
SubagentsSupportedCarries over (async)NoneLow
Extensions / PluginsExtensionsRenamed "plugins"agy plugin import geminiMedium
MCP supportInline in settings.jsonSeparate mcp_config.jsonRewrite config (step 5)Medium
MCP remote fieldurlserverUrl (fails silently)Rename every remote entryHigh
ACP stdio modegemini --acpNot present at launchTrack Issue #31; no drop-inHigh
Custom themesSupportedMigration unsupported (no ETA)Re-create manuallyMedium
Quota / reset period1,000 requests / dayWeekly compute-based capRe-budget heavy workloadsHigh
LicenseApache 2.0 (open)Closed-sourceAccept or fork old repoMedium
Config structure~/.gemini/~/.gemini/antigravity-cli/Settings auto-discoveredLow
Workspace skill path.gemini/skills/.agents/skills/git mv the folderMedium
Context fileGEMINI.md.antigravity.md (precedence)Both work; rename laterLow
Multi-model supportGemini familyGemini + Claude + GPT-OSS via /modelOptional — new capabilityLow
CI/CD compatibilitygemini binaryagy binaryManually update every pipelineHigh
Read the red rows first
The four red rows — MCP remote field, ACP stdio mode, the quota change, and CI/CD compatibility — are where teams lose time or capability. The first and last break automation silently; the middle two are a capability loss and a budgeting shock. Prioritize these before the cosmetic renames.

04The MigrationThe 45-minute cutover, step by step.

Community guides estimate the interactive migration at roughly 45 minutes for a typical setup. The path is five steps. Run them in order — the import step depends on the install, and the MCP rewrite is the one you cannot skip.

1. Install the agy binary

On macOS or Linux: curl -fsSL https://antigravity.google/cli/install.sh | bash. Homebrew users can run brew install --cask antigravity-cli. On Windows PowerShell: irm https://antigravity.google/cli/install.ps1 | iex. The binary installs to ~/.local/bin/agy on Unix systems or %LOCALAPPDATA%\Antigravity\on Windows. Always verify the install URL against Google's official announcement before piping a remote script to a shell.

2. Authenticate on first run

Launch agy and complete the OAuth flow on first run. Your settings live at ~/.gemini/antigravity-cli/settings.json and are auto-discovered, so most of your existing configuration is picked up without manual edits.

3. Import your extensions as plugins

Run agy plugin import gemini to convert existing Gemini CLI extensions into Antigravity plugins. Extensions and plugins are the same concept under a new name; the import handles the conversion.

4. Move your skills

Workspace skills move from .gemini/skills/ to .agents/skills/ — use git mv .gemini/skills .agents/skills so the change is tracked. Global skills move from ~/.gemini/skills/ to ~/.gemini/antigravity-cli/skills/.

5. Rewrite the MCP config

MCP servers move from inline entries in settings.json to a separate mcp_config.json (at ~/.gemini/antigravity-cli/mcp_config.json). For remote MCP servers, rename the url field to serverUrl. This rename is the single most important edit in the whole migration — the next section explains why.

Validate the install
Run diagnostics
agydoctor

agy doctor validates the installation end to end. Run it immediately after step 1 so you catch a broken install before you invest time in config migration.

Step 1 check
Inspect what loaded
Confirm discovery
agyinspect

agy inspect displays discovered configurations, skills, plugins, hooks, and MCP servers. Use it after steps 3 to 5 to confirm everything was picked up before you trust it.

Steps 3-5 check
Context precedence
Project instructions
.antigravity.md

.antigravity.md takes precedence over GEMINI.md for workspace instructions, and both are supported during the transition. You can rename at your own pace rather than under deadline.

Low urgency

If you are weighing Antigravity against non-Google options as part of this forced decision, our comparison of how Gemini CLI stacked up against Claude Code and Aider is a useful baseline, and the Codex CLI deep dive covers the closest non-Google migration alternative.

05Silent FailuresThe traps that break automation quietly.

The 45 minutes are the easy part. The expensive part is the set of failures that do not announce themselves. Each of these passes a casual smoke test and then breaks later, often in production or CI, where the cost is highest.

The MCP field that fails silently

For remote MCP servers, the config field must be renamed from url to serverUrl. If you leave it as url, Antigravity CLI does not throw an error at startup. The server appears to load, agy launches cleanly, and the failure only surfaces during an actual tool invocation — which may be hours into a session. This is the most common avoidable mistake in the migration.

CI/CD pipelines do not auto-update

The migration script converts your local config. It does not touch scripts, cron jobs, or CI configs that invoke the gemini binary directly. Every automated workflow that calls gemini keeps calling a binary that stops working on June 18. Unless you manually audit your pipelines, those jobs are a silent timebomb. Grep your repos and CI definitions for gemini and replace each call with agy.

The integration mode that is gone at launch

Gemini CLI's ACP stdio mode (gemini --acp, a JSON-RPC interface) was widely used by orchestration bridges — Discord, Slack, and Teams integrations that drove the CLI programmatically. That mode is not present at launch in Antigravity CLI; an open feature request, GitHub Issue #31, tracks it. For affected teams this is not a migration so much as a temporary loss of capability until the issue is resolved. Check that issue before assuming a drop-in replacement exists.

"Open source Gemini CLI, get developers contribute to this, and then migrate the code to a close source project."— GitHub user @lingyaochu, via TechTimes
Pre-cutover audit
Before June 18, run three greps across your org: gemini in CI and cron files (replace with agy), "url" in any MCP config (rename remote entries to serverUrl), and --acp in any orchestration code (check Issue #31). Those three searches catch the failures that do not announce themselves.

06Quota RegressionThe change nobody put in the headline.

Gemini CLI offered a clear daily allowance: 1,000 requests per day, resetting every 24 hours. Antigravity CLI replaces that with a weekly compute-based cap. The shift from a daily to a weekly reset is the single most consequential change for heavy daily drivers, and it is buried in the migration documentation rather than headlined.

The mechanics matter. With a daily cap, a heavy afternoon costs you the rest of that day at most. With a weekly cap, the same heavy afternoon can consume a large share of your week's budget at once. Community quota guides and user reports describe Pro users exhausting the weekly allowance after roughly two thousand lines of generated code and then facing a cooldown of up to 168 hours — a full week — before the quota refreshes. Those figures come from user reports, not Google's official quota documentation, so treat them as directional rather than guaranteed, and confirm current limits against Google before sizing workloads.

Quota model · Gemini CLI vs Antigravity CLI (community-reported)

Source: byteiota & community quota reports; vendor limits not officially documented
Gemini CLI reset cadence1,000 requests · resets every 24 hours
Daily
Antigravity CLI reset cadenceweekly compute-based cap · 7-day cycle
Weekly
Reported cooldown after a cap hituser-reported · up to 168 hours
≤168h

The interpretation: this is a genuine regression for the heaviest users and a non-issue for light ones. If you run a few interactive sessions a day, the weekly cap is invisible. If you lean on the CLI for large generation tasks, you can lock yourself out for the better part of a week with a single intense session — and there is no daily reset to bail you out. Budget accordingly: stage heavy generation, and keep a fallback model or tool available for when you hit the cap.

Looking forward, weekly compute caps are likely to become the norm for vendor-hosted coding agents, because they let providers smooth backend load more aggressively than fixed daily request counts. That makes a multi-tool posture — not a single-vendor dependency — the durable strategy. Teams that already route work across Claude Code, Codex, and a Gemini-family option absorb a quota change on any one of them without losing a week.

07What You GainAsync subagents and a shared harness.

The migration is not pure loss. Antigravity CLI brings genuinely new capability, and the headline one is asynchronous subagents. You can dispatch a long-running background task with /agent [task] and keep prompting in the foreground, with up to five parallel subagents running at once. For multi-step work — refactors, test generation, codebase audits — this maps directly onto an agentic workflow where you orchestrate several independent threads instead of waiting on one.

Underneath, Antigravity CLI and the Antigravity 2.0 desktop app share a single agent harness, so improvements to core agentic reasoning apply to both surfaces at once. The CLI also exposes multi-model choice via the /modelslash command — Gemini-family models plus Claude Sonnet, Claude Opus, and GPT-OSS 120B — which is a real upgrade over a single-family CLI. The default model is a Google-stated Gemini Flash variant the company says runs substantially faster inside Antigravity's optimized harness; verify the exact model slug and any speed claims against Google's model documentation before relying on them.

What multi-agent looks like in practice
A widely cited breakdown of Antigravity's OS-building demo describes 93 subagents running for about 12 hours from a single prompt — across seven roles, three of which write zero code (an Orchestrator, a Critic, and an Auditor that checks for "AI laziness"). According to that breakdown of the demo, the run made over fifteen thousand model calls and cost roughly $917. The cost figure is single-sourced — treat it as illustrative of scale, not a quoted price — but the architecture is the real signal: review and audit roles are first-class, not afterthoughts.

The slash-command surface is broad — /resume, /rewind, /permissions, /model, /skills, /mcp, /tasks, /usage, /context, /export, and /agent, among others. Antigravity also reframes the unit of work from Gemini CLI's repository-centric view to a Project that can span multiple folders and repositories at once, each with isolated security and permission settings, and adds a macOS sandbox option for autonomous execution risk management. For a fuller picture of the surrounding ecosystem, see our Antigravity 2.0 desktop application deep dive and the broader AI IDE landscape comparison.

08The DecisionMigrate, claim the exemption, or leave.

Not every team should make the same call. The right move depends on how you use the tool, how heavily, and how much your automation depends on it. Here is the decision tree.

Interactive solo dev
Light daily use

If you mostly run agy in a terminal a few times a day, migrate. The 45-minute cutover is straightforward and the new async-subagent and multi-model features are a net gain. The weekly quota will not bite you.

Migrate to agy
Heavy generation
High-volume daily driver

If you push large generation jobs daily, the weekly compute cap is a real regression — community reports describe multi-day lockouts. Migrate, but keep a fallback tool and stage heavy work to avoid burning a week's budget at once.

Migrate + keep a fallback
Enterprise license
Standard / Enterprise / paid API

Your Gemini CLI access is exempt and continues uninterrupted. You are not on a clock. Evaluate Antigravity on its merits — async subagents, multi-model — rather than under deadline pressure.

Stay; evaluate calmly
Automation-heavy
ACP bridges & CI pipelines

If you rely on gemini --acp orchestration or many CI jobs, the launch gaps hit hardest. Audit pipelines now, track Issue #31 for ACP, and seriously weigh a non-Google CLI like Codex if your stack values open licensing.

Audit, then weigh leaving

Whichever path you take, the structural lesson outlasts this specific migration: a vendor-controlled tool whose value depends on a proprietary backend is a managed dependency, and managed dependencies change on the vendor's schedule, not yours. The teams that absorbed this announcement without disruption were the ones already running a multi-tool posture. If you want help designing a coding-agent stack that is resilient to exactly this kind of forced migration — or evaluating Antigravity against the alternatives on your own codebase — that is the kind of work our AI and digital transformation engagements start with.

09ConclusionA forced migration with a short runway.

The shape of the Gemini CLI sunset, June 2026

The 45-minute migration is easy. The silent failures and the quota change are what cost teams.

The Gemini CLI shutdown is a clean deadline with a messy edge. Consumer Pro, Ultra, and free Code Assist users lose the tool on June 18, the cutover to agy takes about three-quarters of an hour, and the new async-subagent and multi-model features are a real upgrade. If interactive use is all you do, this is an afternoon and a net positive.

The cost lives in the parts that do not announce themselves: an MCP field that fails silently, CI pipelines that keep calling a dead binary, an integration mode that is not present at launch, and a quota that quietly moves from daily to weekly. None of those throw an error during the migration. All of them surface later, when they are more expensive to fix. Run the three pre-cutover greps, read the red rows of the matrix first, and you sidestep most of the pain.

The broader signal is the one worth keeping. A community poured 6,000+ contributions into an Apache 2.0 project that was then replaced by a closed-source successor — and the "still open" original is a backend-dependent skeleton. The durable response is not outrage; it is architecture. Treat vendor coding agents as managed dependencies, route work across more than one, and keep a migration plan warm. The teams that did that absorbed June 18 without losing a day.

Build a migration-proof agent stack

A coding-agent stack that survives the next forced migration by design.

We help teams design coding-agent stacks that survive forced vendor migrations — evaluating Antigravity, Claude Code, Codex, and Gemini-family tools on your own codebase, then routing work for resilience instead of lock-in.

Free consultationExpert guidanceTailored solutions
What we work on

Coding-agent stack engagements

  • Antigravity CLI evaluation against alternatives on your repos
  • Multi-tool routing — Antigravity / Claude Code / Codex
  • CI/CD audit for binary and config migrations
  • MCP server configuration and resilience review
  • Quota and cost governance for vendor coding agents
FAQ · Gemini CLI migration

The questions we get every week.

Per Google's May 19, 2026 announcement, Gemini CLI and the Gemini Code Assist IDE extensions stop serving all Google AI Pro, Ultra, and free Gemini Code Assist for individuals users on June 18, 2026. Gemini Code Assist for GitHub permits no new organization installations from that date, and existing requests stop being served in the weeks that follow. The one exception is enterprise access: organizations on a Gemini Code Assist Standard or Enterprise license, or using paid Gemini or Gemini Enterprise Agent Platform API keys, keep uninterrupted access to Gemini CLI. So it is a consumer-tier shutdown, not a universal one. Confirm the current scope on Google's official announcement before planning, since vendor timelines can shift.