Gemini CLI vs Antigravity CLI: The Production Migration Rule
Google is moving Gemini CLI users to Antigravity CLI. Compare migration work, access risk, controls, and when to choose Claude Code or Codex.

If your team uses Gemini CLI through Google AI Pro, Ultra, or free Gemini Code Assist for individuals, treat June 18, 2026 as a production migration deadline, not a branding change. Move consumer workflows to Antigravity CLI now, keep Gemini CLI only where enterprise or API-key access is explicit, and use the migration to decide whether your coding-agent standard should stay in Google's stack or move to Claude Code or Codex.
The Verdict: Migrate Consumer Gemini CLI Workflows Now
Consumer Gemini CLI workflows should move before June 18, 2026. Google's May 19, 2026 transition notice says Gemini CLI and Gemini Code Assist IDE extensions stop serving requests on that date for Google AI Pro, Ultra, and free Gemini Code Assist for individuals users. It also says Gemini Code Assist for GitHub will block new GitHub organization installations on June 18, 2026, then stop serving requests in the following weeks.
That is not the kind of date a production team handles with a Friday binary swap. A terminal coding agent sits inside local repos, shell commands, MCP servers, project instructions, review habits, and identity policy. If the access path changes, your real migration is the team workflow around it.
The enterprise case is different. Google says Gemini Code Assist Standard and Enterprise license users keep access to Gemini CLI and IDE extensions unchanged, and Gemini CLI remains accessible through paid Gemini and Gemini Enterprise Agent Platform API keys. If your organization is already on that path, Gemini CLI can remain a supported surface while you pilot Antigravity CLI.
The practical rule is simple:
- If developers are using personal Google AI Pro, Ultra, or free individual access for production work, stop treating Gemini CLI as the team standard.
- If your business access is covered by Gemini Code Assist Standard, Enterprise, Google Cloud, or paid API keys, keep Gemini CLI only with a written owner for limits, auth, logging, and deprecation monitoring.
- If you are choosing a new coding-agent standard this month, evaluate Antigravity CLI, Claude Code, and Codex directly instead of inheriting a Gemini CLI habit.

Gemini CLI vs Antigravity CLI vs Claude Code vs Codex
Antigravity CLI is the direct Google migration path, but it is not automatically the best production standard for every team. The right choice depends on which control plane you want around code changes: Google's unified Antigravity runtime, Claude Code's terminal-first team controls, or Codex's cloud-delegated task model.
Antigravity CLI is compelling if your team already wants Google's agent runtime. Google says it keeps Agent Skills, Hooks, Subagents, and Extensions, with Extensions becoming Antigravity plugins. It is built in Go, supports asynchronous workflows that orchestrate multiple agents in the background, and shares the same agent runtime as Antigravity 2.0.
That is a real architecture change. Gemini CLI was the familiar terminal wedge. Antigravity CLI is a terminal surface for a broader agent platform. If your next problem is a large refactor split across multiple background agents, that direction makes sense. If your problem is governed day-to-day terminal coding in a polyglot team, the broader platform is only useful if its policies, logs, and migration gaps match your repo reality.
Claude Code is the more natural standard when the team wants the agent to live where engineers already work: terminal first, repo first, and permissioned by project. Anthropic's docs describe Claude Code across terminal, VS Code, desktop, web, JetBrains, GitHub Actions, GitLab CI/CD, MCP, CLAUDE.md, skills, hooks, sub-agents, background agents, and an Agent SDK. Its security docs also say Claude Code uses strict read-only permissions by default and asks for explicit permission before edits, tests, and commands. For team rollout, those constraints matter more than benchmark adjectives.
Codex is the better fit when your workflow is delegated background work. OpenAI describes Codex as a cloud-based software engineering agent that can run many tasks in parallel in separate isolated cloud sandbox environments. Codex can read and edit files, run tests, linters, and type checkers, and provide terminal-log and test-output citations. OpenAI's safety writeup also describes sandboxing, approval policy, managed network policy, managed authentication, and OpenTelemetry logs for user prompts, tool approval decisions, tool execution results, MCP server usage, and network proxy allow or deny events.
If you need the deeper Codex vs Claude Code split, the existing DVNC.dev comparison is here: Codex vs Claude Code for production teams. This piece is the Google migration decision: whether Gemini CLI should remain your standard, whether Antigravity CLI is the right replacement, and how to avoid losing control during the switch.
What Actually Changes In The Antigravity Migration
The migration is mostly around identity, plugins, skills paths, context files, and MCP config. That is exactly where production teams usually get surprised, because these are the files that turn "an agent in a terminal" into "a team-wide system that can safely touch production code."

Google's migration docs say Antigravity CLI has first-launch onboarding that can detect legacy Gemini CLI profiles and prompt for auto-conversion. The same flow migrates active session tokens into the operating system's native keyring and aligns default visual parameters and rendering buffers.
That first launch is useful, but it is not your production migration plan. Treat it as a bootstrap. The team plan should verify these areas.
Convert extensions into plugins
Run Google's import command in a test workspace first:
Bashagy plugin import geminiThe migration docs show legacy commands converting to skills, skills being processed, and MCP server definitions moving into
mcp_config.json. Keep the output in your rollout log. Failed imports are not cosmetic if those commands were used for release checks, docs generation, issue triage, or internal tooling.Keep context files, but verify rule enforcement
Antigravity CLI continues to parse workspace rules in
GEMINI.mdandAGENTS.md, and it reads global developer context from~/.gemini/GEMINI.md. That means your instructions may carry forward, but the test is whether the new tool follows them on real tasks.Use a small golden set:
- a dependency update with a lockfile
- a protected-file refusal
- a failing-test repair
- a PR summary
- an MCP-backed internal lookup
Move workspace skills deliberately
The skills path changes. Gemini CLI used
.gemini/skills/for workspace project skills. Antigravity CLI uses.agents/skills/. Do not delete the old path immediately. Copy first, test slash commands, then remove after adoption.Bashmkdir -p .agents test -d .gemini/skills && cp -R .gemini/skills .agents/skillsFor global shared skills, map
~/.gemini/skills/to~/.gemini/antigravity-cli/skills/.Rewrite MCP config for the new schema
Antigravity CLI moves MCP servers out of primary preferences and into standalone
mcp_config.jsonprofiles. Global servers live at~/.gemini/config/mcp_config.json; workspace servers live at.agents/mcp_config.json. Remote websocket or SSE server definitions should useserverUrl, not legacyurlorhttpUrl.JSON{ "mcpServers": { "internal-index": { "serverUrl": "https://mcp.internal.example/sse", "env": { "AUTH_TOKEN": "${MCP_AUTH_TOKEN}" } } } }The production check is not whether the JSON loads. It is whether the agent asks for the right approvals, calls only the intended MCP tools, and leaves a usable log of every tool call.
The biggest non-obvious change is partial parity. Google's announcement says Antigravity CLI does not have 1:1 feature parity with Gemini CLI at launch. The migration docs call out partial parity for customized terminal themes or experimental visual overlays. Those may sound superficial, but parity gaps often expose hidden dependency. A team may have built command muscle memory, scripts, terminal UI assumptions, or local setup docs around Gemini CLI behavior.
The safe approach is to write a migration manifest:
surface: gemini-cli-to-antigravity-cli
owner: platform-engineering
deadline: 2026-06-18
affected_users:
- google-ai-pro
- google-ai-ultra
- gemini-code-assist-individual
configs_to_verify:
- GEMINI.md
- AGENTS.md
- .agents/skills
- .agents/mcp_config.json
approval_checks:
- protected files require review
- shell commands are logged
- MCP tools are allowlisted
- generated diffs require human review
fallback:
- claude-code
- codexThat manifest is more valuable than a long migration meeting. It gives the team a shared artifact to test, update, and hand to security.
The Production Rollout Checklist
The rollout is done only when you can prove who is affected, which access path they use, which repo rules migrated, and what happens when the agent proposes a risky action. The tool name is the smallest part of the work.
Start with identities. Split users into the access buckets that matter:
- Google AI Pro, Ultra, or free individual users, affected by the June 18, 2026 stop-serving date.
- Gemini Code Assist for GitHub users, affected by the GitHub organization install freeze and following-weeks request stop.
- Gemini Code Assist Standard or Enterprise users, whose access Google says remains unchanged.
- Paid Gemini or Gemini Enterprise Agent Platform API-key users, where Gemini CLI can remain accessible.
Then decide whether the team is standardizing, piloting, or retiring each surface. A platform team should not let every engineer make this decision from their local terminal. Local agent tools touch source code, secrets, package scripts, shell history, and sometimes deployment commands. They need the same rollout discipline as a code review tool or CI bot.
The baseline control set is small:
For Antigravity CLI, use the golden tasks before broad rollout. The tasks should include a normal feature change and a deliberately risky request. A good risky request is boring: ask the agent to edit a protected migration file, call an internal MCP server, or run a command that would touch generated build output. The expected result is not "the agent never makes a mistake." The expected result is a visible approval boundary and a log that explains what happened.
For Claude Code, test project-scoped settings and hooks. Claude Code's docs describe Managed, User, Project, and Local settings scopes, with project scope suited for team-shared settings such as permissions, hooks, MCP servers, and plugins. That maps cleanly to a production rollout because the shared repo can carry the rules. It is also why Claude Code is often the right standard when the organization wants terminal-first coding with visible repo policy.
For Codex, test cloud task boundaries and auditability. Codex usage is available in OpenAI's Compliance API for supported clients, and OpenAI describes OpenTelemetry export for prompts, approval decisions, tool execution results, MCP server usage, and network proxy decisions. If your risk owner asks "what did the agent do and why," Codex gives you a strong cloud-delegated answer. That is different from "an engineer used a local terminal and pasted the final diff."
The rollout should end with a rule developers can remember:
Small local edit with repo policy: approved terminal agent.
Background task with tests and PR evidence: cloud-delegated agent.
Internal system access: MCP allowlist plus human approval.
Production-adjacent change: no direct merge without review.If that rule is not written down, the migration will drift into personal preference. Personal preference is not a control plane.
The Decision Rule That Survives June 18
Use Antigravity CLI when your organization is staying in Google's agent stack and wants the new unified runtime. It is the direct replacement path for affected Gemini CLI users, it keeps the critical Gemini CLI constructs Google named, and it has official migration docs for plugins, skills, context files, and MCP configs. It is also the right pilot for teams that want background multi-agent workflows from the terminal.
Keep Gemini CLI only when your access path is explicit and durable. That means Gemini Code Assist Standard or Enterprise, Google Cloud-backed Gemini Code Assist for GitHub, or paid Gemini and Gemini Enterprise Agent Platform API keys. Even then, write down why Gemini CLI remains in the stack. "Some engineers prefer it" is not a production reason.
Choose Claude Code when the rollout is about governed terminal work across a team. The reason is not that Claude Code has a nicer prompt. The reason is that the team can wrap it in project instructions, shared settings, hooks, MCP rules, approval habits, and repo-local memory. If the next step is standardizing how an engineering team uses coding agents in the same codebase, Claude Code is the cleaner default. The adjacent IDE comparison is here: Claude Code vs Cursor for production teams.
Choose Codex when the work should run as isolated delegated tasks with audit evidence. If you want many tasks running in cloud sandboxes, PR-ready patches, terminal-log citations, Compliance API visibility, and OpenTelemetry export, Codex is the better operating model.
The wrong answer is to treat Gemini CLI, Antigravity CLI, Claude Code, and Codex as interchangeable chat windows. They are code-execution systems. The migration decision should say:
- where code execution happens
- who can approve edits and commands
- which repo instructions are authoritative
- which MCP servers are allowed
- what logs prove the agent's behavior
- which fallback is approved when the preferred tool hits limits
That is the difference between a coding-agent rollout and a tool swap.
Is Gemini CLI going away?
For affected consumer and free individual access paths, yes in practice: Google says Gemini CLI and Gemini Code Assist IDE extensions stop serving requests on June 18, 2026 for Google AI Pro, Ultra, and free Gemini Code Assist for individuals. Enterprise, Google Cloud, and paid API-key cases remain separate supported paths.
Is Antigravity CLI a drop-in replacement for Gemini CLI?
No. Google says Antigravity CLI does not have 1:1 parity at launch. The migration docs also require concrete changes around plugin import, workspace skills paths, and MCP config formatting.
What should a team migrate first?
Start with identity and repo policy, then migrate plugins, skills, context files, and MCP configs. The first production test should be a golden task set that proves approvals, logs, protected-file behavior, and MCP tool boundaries.
Should we choose Claude Code or Codex instead of Antigravity CLI?
Choose Claude Code for governed terminal-first team rollout. Choose Codex for isolated cloud tasks, PR evidence, compliance logs, and OpenTelemetry. Choose Antigravity CLI when the team is already committed to Google's agent runtime and can absorb the migration gaps.
Can enterprise teams keep using Gemini CLI?
Yes, if they are on the supported enterprise paths Google names. Gemini Code Assist Standard and Enterprise license users keep access unchanged, and Gemini CLI remains accessible through paid Gemini and Gemini Enterprise Agent Platform API keys.
Scope Your Claude Code Rollout
Standardize coding agents with repo policy, hooks, permissions, evals, and rollout controls before they touch production work.
Jun 8, 2026





