Product Launch

Antigravity 2.2.1 & the agy CLI: What's New

Antigravity 2.2.1 landed on June 25-26, 2026 with 19 improvements and 17 fixes, headlined by a built-in Guide skill. Alongside it, the Go-based agy CLI replaced the Gemini CLI for Pro and Ultra users. Here is exactly what changed, and what to watch out for.

Editorial hero illustration for Antigravity 2.2.1 & the agy CLI: What's New

Short version: Antigravity 2.2.1 shipped on June 25-26, 2026 with 19 improvements and 17 fixes. The headline is a built-in Guide skill that answers usage questions inside the editor, plus audio-file previews and new syntax highlighting for C++, Python, and Protobuf. Separately, Google's Go-based agycommand-line tool replaced the Gemini CLI for Pro and Ultra plans on June 18. This guide covers what changed, how to install and configure agy, and the trade-offs nobody puts in the release notes.

What Shipped in 2.2.1

First, get the version right. Google markets the wider product as Antigravity 2.0, but the actual editor build is 2.2.1. The official @antigravity account announced it on June 26 and described the release using the platform name, which is why some coverage mislabels it as a "2.0 update." The build is powered by Gemini 3.5 Flash.

The changelog lists 19 improvements and 17 fixes. Most are UI polish, but a handful change how you actually work. The table below is the short list worth knowing.

ChangeWhat it does
Antigravity Guide skillNew built-in skill that answers in-app how do I use Antigravity questions without leaving the editor.
Audio file rendering.mp3, .wav, .ogg, and .m4a files now play in both the sidebar file viewer and the artifact viewer.
Improved substring file searchFile search matches substrings, not just prefixes.
Syntax highlightingAdded highlighting for C++, Python, and Protobuf in code and diff blocks.
Conversation Width settingNew Default / Narrow / Wide option for the conversation column.
OAuth token storageRefreshed OAuth tokens auto-save to the OS keyring instead of being re-requested.
UI polishFile-pill path tooltips, dynamic model-selector resizing, permission-dialog action descriptions, fixed sidebar resize lag and file-watch flicker.

Do not confuse 2.2.1 with the earlier June build. The quota-screen redesign, PDF attachments, and the /btw slash command all landed in v2.1.4 on June 11, not in 2.2.1. If you skipped a release, you are getting both sets of changes at once.

The agy CLI

agy is Google's Antigravity command-line tool. It is written in Go for speed, runs agents asynchronously so you can drive several at once, and has been "available to everyone" since May 19. It identifies itself as "Antigravity CLI 1.0.0" and defaults to Gemini 3.5 Flash on the High tier. For a longer walk-through, see our Antigravity CLI deep dive.

Installation is a one-liner on each platform. After installing, run agy, sign in through your system keyring with Google Sign-In, and choose "Use a Google Cloud Project." For CI/CD, set the ANTIGRAVITY_TOKEN environment variable instead of an interactive login.

# macOS / Linux
curl -fsSL https://antigravity.google/cli/install.sh | bash

# Windows (PowerShell)
irm https://antigravity.google/cli/install.ps1 | iex

# then authenticate:
agy
# choose "Use a Google Cloud Project" and paste your secret key
# CI/CD: set ANTIGRAVITY_TOKEN instead of interactive login

Configuration lives in ~/.gemini/antigravity-cli/settings.json. This is where you turn on the cross-platform terminal sandbox (macOS sandbox-exec, Linux nsjail, Windows AppContainer), set the tool-permission mode, and allow or deny specific commands.

// ~/.gemini/antigravity-cli/settings.json
{
  "enableTerminalSandbox": true,
  "toolPermission": "request-review",
  "permissions": {
    "allow": ["command(git)"],
    "deny": ["command(rm -rf)"]
  },
  "defaultModel": "gemini-3.5-flash"
}

Plugins live under ~/.gemini/antigravity-cli/plugins/, each with a plugin.json and optional MCP config, hooks, skills, agents, and rules. Skills are just Markdown: drop .agents/skills/lint.md into your repo and it becomes the /lint command. Slash commands drive the rest of the workflow.

CommandWhat it does
/goalRuns a task to completion with no plan-approval step.
/grill-meForces the agent to clarify requirements before it starts.
/scheduleSchedules an agent run for later.
/modelSwitches the active model.
/agentsLists and manages subagents.
/mcpInspects configured MCP servers and plugins.
/configOpens the settings.json configuration.
/fork, /rewind, /usageBranch a conversation, step back a turn, and show token usage (IDE-side features).

One thing to verify for yourself: model support. One popular guide (aibuilderclub) says agy can run Gemini 3.5 Flash, Gemini 3.1 Pro, Claude Sonnet, Claude Opus, and GPT-OSS 120B depending on plan tier. Another guide (explainx) says it is Gemini-only. That conflict is unresolved, so do not assume Claude routing works on your plan until you test it. On Pro and Ultra quotas, community reports say 3 to 5 parallel subagents run comfortably.

The Gemini CLI Sunset

On June 18, 2026, Google stopped serving Google AI Pro and Ultra plans through the Gemini CLI and the Gemini Code Assist IDE extensions. The replacement is agy. Enterprise and paid API-key access were not affected. Google published a migration guide at antigravity.google/docs/gcli-migration.

SurfaceBefore Jun 18After Jun 18
Gemini CLI (Pro / Ultra)Served Google AI Pro and Ultra plansStopped serving Pro/Ultra on Jun 18; migrate to agy
Gemini Code Assist IDE extensionsServed Pro and Ultra plansStopped serving Pro/Ultra on Jun 18
Enterprise / paid API keyWorkedUnchanged
OpennessGemini CLI was open source, supported ACPagy is closed source, drops ACP

Here is the part that annoyed developers: the Gemini CLI was open source and supported the Agent Client Protocol (ACP). agy is neither. Swapping an open tool for a faster closed one is the sharpest criticism of the transition.

Whether that matters depends on you. If you never touched the Gemini CLI source and never used ACP, the sunset is a non-event and agy is simply faster. If you built on either, you are now on a closed-source dependency with no protocol escape hatch. A separate, less-publicized project, google/agents-cli, appeared around July 1 to manage agents across Antigravity, Claude, and Codex, so the tooling picture is still moving.

Antigravity + Claude Code

Because of the model-tier uncertainty above, many developers skip the debate and run Claude Code inside Antigravity directly. Antigravity ships a VS Code-style extension marketplace, and Anthropic publishes an official Claude Code extension for it. The setup takes under five minutes.

1. Open Antigravity
2. Open Extensions            (Cmd/Ctrl + Shift + X)
3. Search "Claude Code"
4. Install the official Anthropic extension
5. Add your Anthropic API key
6. Run /login

This puts Claude's models next to Gemini's in one editor, billed through your own Anthropic key. If you are weighing which agent to lead with, our Antigravity vs Claude Code comparison breaks down the trade-offs. The reverse direction (exposing Antigravity's models to Claude Code through a community proxy) also exists, but it is a preview-only, terms-of-service grey area, so treat it as an experiment rather than infrastructure.

Limitations

None of this is friction-free. The honest caveats:

AreaWhat to know
Version namingGoogle markets the platform as Antigravity 2.0; the actual editor build is 2.2.1. Do not confuse the two.
Model tiers unclearGuides disagree on whether agy runs non-Gemini models. One lists Claude and GPT-OSS by plan tier; another says Gemini-only. Verify against your own plan.
Not open sourceagy is closed source and drops Agent Client Protocol support, unlike the Gemini CLI it replaces.
IDE vs App featuresSome slash commands such as /fork, /rewind, and /usage are IDE-side and may not behave the same in every surface.
Third-party skillsCommunity skill collections are large but unvetted; treat headline skill counts and unofficial repos with caution.

If you hit crashes, SSH failures, or the aggressive context compaction people complain about, start with our Antigravity troubleshooting guide. And if the closed-source direction is a dealbreaker, our roundup of the best Antigravity alternatives for 2026 covers what else is worth trying.

FAQ

What version is the latest Antigravity update?

The build is 2.2.1, released around June 25-26, 2026. Google markets the wider platform as Antigravity 2.0, but the actual editor build number is 2.2.1.

What is the agy CLI?

agy is Google's Go-based Antigravity command-line tool. It runs agents asynchronously, supports plugins and skills, and replaced the Gemini CLI for Google AI Pro and Ultra users on June 18, 2026.

How do I install the agy CLI?

On macOS or Linux, run the install.sh script from antigravity.google; on Windows, use install.ps1 via irm. Then run agy and sign in with a Google Cloud Project.

Did Google kill the Gemini CLI?

For individual Pro and Ultra plans, yes. The Gemini CLI and Gemini Code Assist IDE extensions stopped serving those plans on June 18, 2026. Enterprise and paid API-key access is unchanged. agy is the replacement, but it is closed source and drops ACP support.

Can I run Claude models in Antigravity?

You can install the official Anthropic Claude Code extension inside Antigravity and add your API key. Whether the agy CLI itself can route to Claude models is disputed between guides, so verify against your own plan tier.

What is the built-in Guide skill in 2.2.1?

It is a new skill that answers how do I use Antigravity questions directly inside the app, without opening external docs.

Is the agy CLI open source?

No. Unlike the Gemini CLI it replaces, agy is closed source and does not support the Agent Client Protocol (ACP).

Glossary

TermMeaning
agyThe Antigravity CLI binary; Go-based, async, replaces the Gemini CLI for Pro and Ultra plans.
ACPAgent Client Protocol; supported by the old Gemini CLI, dropped by agy.
Antigravity Guide skillBuilt-in 2.2.1 skill that answers usage questions inside the app.
ANTIGRAVITY_TOKENEnvironment variable that authenticates agy in CI/CD instead of interactive login.
SubagentA scoped agent the orchestrator can invoke to parallelize work.
Gemini 3.5 FlashThe default model that powers Antigravity 2.2.1 and agy, on the High tier.

Verdict

2.2.1 is a solid, unglamorous update. The Guide skill lowers the learning curve, audio previews and the new syntax highlighting are quality-of-life wins, and moving OAuth tokens into the OS keyring is quietly good security hygiene. Nothing here is a reason to switch editors, and nothing is a reason to avoid updating.

The agy CLI is the bigger story. It is genuinely fast, and the async multi-agent model is the right design for scripted work. But it arrived by retiring an open-source tool, and its model support is still murky. Adopt it for the speed; keep your eyes open about the lock-in.

Update to 2.2.1 now if:   you want the Guide skill, audio previews,
                          or C++/Python/Protobuf highlighting
Adopt the agy CLI if:     you script agents, run CI/CD, or want
                          async multi-agent runs
Stay cautious if:         you relied on the open-source Gemini CLI
                          or ACP (agy drops both)
Verify first:             whether your plan tier unlocks non-Gemini
                          models inside agy

Sources

Grouped by type. First-party sources first, then community posts and third-party guides. Version and date facts come from the official changelog and the @antigravity announcement.

Get the latest on AI, LLMs & developer tools

New MCP servers, model updates, and guides like this one — delivered weekly.

Sponsored AI assistant. Recommendations may be paid.