geminireset
English

// antigravity cli

Antigravity CLI: install agy, migrate from Gemini CLI, and track its quota

Antigravity CLI is Google's terminal agent. You run it with the agy command, and it shares its engine with the Antigravity 2.0 desktop app. Since June 18, 2026 it has replaced Gemini CLI for free, Google AI Pro and AI Ultra accounts that sign in with Google. This page covers how to install it, what carries over from Gemini CLI, and how its quota and global resets work.

Gemini CLIAntigravity CLI
Commandgeminiagy
Who it serves (Google login)Stopped for free, AI Pro and AI Ultra on June 18, 2026Free, AI Pro and AI Ultra plans
QuotaDaily request limitAntigravity quota, shared with the desktop app (5-hour + weekly on Pro/Ultra, weekly on Free/Plus)
Global Gemini resetsNot coveredCovered, same as the Antigravity app
Check usage/stats/usage (and /credits)
ExtensionsExtensionsPlugins (agy plugin import gemini)
Workspace skills.gemini/skills/.agents/skills/ (move by hand)
MCP servers~/.gemini/settings.json~/.gemini/config/mcp_config.json or .agents/mcp_config.json
GEMINI.md / AGENTS.mdReadStill read, no changes needed

This page is about the Antigravity CLI and its quota. Whether Google reset Gemini quota today is answered on the Gemini reset tracker home page.

What changed on June 18, 2026

At Google I/O on May 19, 2026, Google brought its developer tools under the Antigravity name. On June 18, 2026, Gemini CLI stopped serving free, Google AI Pro and Google AI Ultra accounts that sign in with Google, and those users moved to Antigravity CLI.

Antigravity CLI is a new program, not an update to gemini. It is written in Go, runs as agy, and shares its agent engine with the Antigravity 2.0 desktop app. You can keep Gemini CLI installed while you switch; the two don't conflict.

Gemini CLI still works for:

  • Gemini API keys and paid Gemini Enterprise Agent Platform keys
  • Gemini Code Assist Standard and Enterprise licenses

Those accounts follow the Gemini API rate limit reset rules, not Antigravity quota.

How to install Antigravity CLI

macOS / Linux

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

This puts agy in ~/.local/bin.

Windows (PowerShell)

irm https://antigravity.google/cli/install.ps1 | iex

Then check that it worked with agy --version, open a terminal in your project folder and run agy. The first run asks for a color scheme, a rendering mode and whether you trust the folder, then signs you in with your Google account. The install commands come from Google's getting-started guide.

Migrating your Gemini CLI setup

On first launch, agy finds your Gemini CLI profile and offers a checklist of what to convert. It moves your sign-in into the system keyring. What else to know, from Google's migration guide:

  • GEMINI.md and AGENTS.md keep working with no changes, including ~/.gemini/GEMINI.md.
  • Extensions become plugins. Run agy plugin import gemini; it turns extension commands into skills and moves their MCP servers.
  • Workspace skills must be moved by hand from .gemini/skills/ to .agents/skills/, or they won't show up as slash commands. Global skills in ~/.gemini/skills/ still load.
  • MCP servers move out of settings.json into ~/.gemini/config/mcp_config.json (global) or .agents/mcp_config.json (per project). For remote servers, url and httpUrl become serverUrl.
  • Scripts and CI jobs that call gemini are not changed for you. Switch them to agy -p "..." yourself.
  • Some custom terminal themes and visual add-ons from Gemini CLI aren't supported.

Antigravity CLI quota

With a Google login, agy uses your Antigravity quota. The CLI, the desktop app and the SDK all draw from it, so an afternoon of agent runs in the app leaves less for the terminal, and the reverse. Gemini CLI's old daily request count no longer applies.

  • AI Pro and AI Ultra: refreshes every 5 hours, up to a weekly limit.
  • Free and AI Plus: one weekly limit.
  • Global Gemini resets refill it for everyone at once. There were six in November 2026 alone; see the Gemini reset history.

Quota is measured by how much work the agent does, not by the number of prompts. Long runs and parallel subagents each use their own share, so the limit can arrive after only a few big tasks. When you're out, agy shows "Individual quota reached." The full rules by plan are on Antigravity reset and Gemini quota by plan.

Check your quota from the terminal

Type /usage in an agy session to see your current use and limits. To turn those percentages into a time, enter them in the Antigravity usage calculator: it tells you when you'll hit the 5-hour and weekly limits at your current pace.

Tips to make your CLI quota last

  • Pick a lighter model for routine edits with /model, and save Carbon for hard problems.
  • Limit parallel subagents. Each one spends quota at the same time.
  • Use --mode=plan to agree on a plan before the agent starts editing.
  • If you hit the limit, get an alert for the next global reset instead of checking X.
  • A reset was announced but /usage hasn't moved? It can take hours to reach every account; see Gemini reset not working.

FAQ

What is Antigravity CLI?

It is Google's command-line coding agent, run with the agy command. It shares its engine with the Antigravity 2.0 desktop app and replaced Gemini CLI for Google-login users on June 18, 2026.

Does Antigravity CLI share quota with the Antigravity app?

Yes. If you sign in with your Google account, agy draws from the same Antigravity quota as the desktop app, so heavy use in one leaves less for the other.

Does a global Gemini reset apply to Antigravity CLI?

Yes. Global resets refill Antigravity quota, and the CLI uses that quota, so the CLI gets the refill too. Check the scope of each reset on the timeline: some covered paid plans only.

How do I check my quota in Antigravity CLI?

Type /usage in a session. It shows your current model credit use and quota limits. The same numbers appear in Settings in the desktop app.

Can I still use Gemini CLI?

Yes, if you use a Gemini API key, a Gemini Code Assist Standard or Enterprise license, or a paid Gemini Enterprise Agent Platform key. Those follow the Gemini API rate limits, not Antigravity quota, and global Antigravity resets don't apply to them.

Can agy use a Gemini API key?

Yes. Set auth.type to gemini-api-key (or export GEMINI_API_KEY). Usage then counts against your API key's rate limits, which reset at midnight Pacific Time, instead of your Antigravity plan.

Open the live Gemini reset tracker