← All posts

Google Antigravity CLI: Gemini CLI's Replacement, and How It Compares to Claude Code

At Google I/O on May 19, 2026, Google announced it is retiring the Gemini CLI for consumer, Google AI Pro, and Ultra accounts and replacing it with the Antigravity CLI — the terminal-native piece of its broader "agent-first" Antigravity 2.0 platform. This isn't a rename. The Gemini CLI was a solid terminal assistant for running AI commands against the Gemini API; the Antigravity CLI is built from the ground up to launch, orchestrate, and monitor complex, multi-agent workflows. Here's what changed, the deadline that matters, and how it lines up against Claude Code.

What Antigravity CLI does that Gemini CLI couldn't

The Gemini CLI was, at heart, a synchronous command-line text assistant. The Antigravity CLI — rewritten in Go and backed by a new server-side agent harness shared with the Antigravity 2.0 desktop app — is an asynchronous multi-agent orchestrator. That architecture unlocks several things the old CLI couldn't do:

  • Asynchronous background workflows. Where a big task in Gemini CLI froze your terminal until it finished, Antigravity runs work in the background — fire off a large refactor or multi-directory scan, keep using your shell, and monitor the agent as it goes.
  • Autonomous dynamic subagents. The primary agent can spin up specialized subagents on its own to run micro-tasks in parallel (one writes code, another runs the test suite, a third audits dependencies) without you mapping out the multiplexing yourself.
  • Scheduled, hands-off execution ("agentic cron"). The persistent server-side harness can run agents on a timer — e.g., a nightly code-quality or security sweep at 2 a.m. with a summary waiting in the morning — without your terminal or session being open.
  • Cross-surface context. A task you start in the CLI isn't trapped in terminal history. Because the backend is unified, you can open the Antigravity 2.0 desktop app, pull up the same agent run, and watch its execution tree and visuals.
  • Project-based boundaries. Instead of a flat single-directory scope, Antigravity uses a "Project" model that spans multiple unlinked folders with persistent, enforced file-permission boundaries — so sensitive data or IP isn't pulled into an agent's context by accident.

Gemini CLI vs. Antigravity CLI at a glance

FeatureGemini CLIAntigravity CLI
LanguageNode.js (JavaScript)Go (lower overhead, snappier)
ExecutionSynchronous (locks the terminal)Asynchronous (background processing)
Agent modelSingle agent / user-defined subagentsDynamic parallel multi-agents
GUI syncNone (terminal-only)Deep integration with the Antigravity 2.0 app
AutomationOn-demand invocationScheduled / recurring (agentic cron)

⚠️ Transition deadline. For consumer, Google AI Pro, and Ultra accounts, Google says the Gemini CLI and Gemini Code Assist IDE extensions will stop serving requests on June 18, 2026. Existing Agent Skills, hooks, subagents, and extensions (now "plugins") are expected to carry over to Antigravity. Enterprise / Standard Code Assist licenses keep the traditional Gemini CLI.

Antigravity CLI vs. Claude Code

By retiring the standard Gemini CLI and going all-in on Antigravity, Google has clearly built a direct answer to Anthropic's Claude Code. The two share a goal — give an AI agent fast, direct access to your local dev environment — but come at it from different angles.

Where they overlap

  • Terminal & file access. Both run shell commands, execute test suites, search codebases, and read/write files locally.
  • Shared config formats. The ecosystem already treats them as interchangeable: both read a project-root AGENTS.md for system instructions (Antigravity also honors its own GEMINI.md if present). If your team standardized on AGENTS.md for Claude Code, you're already portable.
  • Look and feel. The community has noted close TUI similarities — how tool calls, file reads, and slash commands are rendered — enough to spawn a few "who copied whom" memes.

Where they differ

The honest version of this comparison is that the gap is narrower than the marketing suggests — both are now multi-agent. Claude Code recently added dynamic workflows and agent teams (we covered that in What's New in Claude Opus 4.8 and Claude Code), so "linear single agent" no longer describes it. The real divergence is one of platform shape:

  • Background & scheduled execution. Antigravity leans hardest here — backgrounded pipelines and agentic cron that run without an active session. Claude Code is optimized for a tight, high-velocity interactive loop (though it, too, can run longer orchestrated jobs).
  • Cross-surface portability. Antigravity is part of a platform: when a run gets too big to read as terminal text, you switch to the desktop app for live agent trees, token graphs, and visual state. Claude Code is intentionally self-contained in the CLI.
  • Reasoning vs. reach. Anthropic's pitch is depth of coding reasoning plus a 1M-token context (with Opus 4.8); Google's is reach — a very large Gemini context window and heavy background infrastructure, with the higher usage ceilings reserved for its AI Ultra tier, since agent loops burn tokens fast.

The takeaway

If you want a precise, fast, interactive coding partner to work through tricky logic or a focused refactor right in front of you, Claude Code is hard to beat. If your problem is managing massive overhauls, parallelizing background work, or running scheduled agent jobs across a multi-folder project, Antigravity CLI is built to take that crown — on Google's context windows and background harness.

For most teams the bigger story is the convergence: the agentic terminal is becoming the default way to drive AI through a real codebase, on both sides. Whichever you choose, the discipline we keep coming back to applies — least privilege for the agent, human approval for irreversible actions, isolation, and audit — the same controls from Security in the Age of AI. More power on the keyboard raises the value of knowing how to contain it.

Sources

← Back to all posts