Home › Rules › Antigravity CLI vs Gemini CLI

Antigravity CLI vs Gemini CLI: who should use which now

From Google's Antigravity docs, the May 19, 2026 developers blog, Gemini CLI docs and the Gemini CLI README, checked Nov 8, 2026. Sources below.

Short answer: if you used Gemini CLI with a free Google account or a Google AI Pro / Ultra (Google One) plan, Google moved that access to Antigravity CLI (agy) on June 18, 2026. Gemini CLI (gemini) is still maintained for Gemini Code Assist Standard or Enterprise, Code Assist for GitHub on Google Cloud, and paid API / Vertex keys. The two tools share some ideas (skills, hooks, subagents, MCP), but they are not the same command, settings file or quota system. For how Antigravity's plan limits and AI credits work, see Antigravity limits and AI credits.

Who should use which now

If you are…Use this terminal toolWhat Google's pages say today
On a free Google account, or Google AI Pro / Ultra through Google OneAntigravity CLI (agy)The May 19, 2026 developers blog said Gemini CLI would "stop serving requests for Google AI Pro and Ultra, as well as those using it free of charge" on June 18, 2026. The Gemini CLI README now says free individual access and Google AI Pro / Ultra "moved to Antigravity CLI on June 18, 2026."
On Gemini Code Assist Standard or Enterprise, or Code Assist for GitHub through Google CloudGemini CLI (gemini) is still supportedThe same blog says that access "remains unchanged," and the README describes Gemini CLI as maintained for those enterprise Code Assist workflows (plus "legacy paid API / Vertex keys").
Using a paid Gemini API key, Vertex AI, or a Gemini Enterprise Agent Platform keyGemini CLI still accepts those. Antigravity CLI can also use a Gemini API key, with extra setupThe blog says Gemini CLI "will remain accessible via paid Gemini and Gemini Enterprise Agent Platform API keys." Antigravity's authenticate doc says a key works only if you also set modelProvider to gemini (a key by itself does nothing).
Want the desktop app and the terminal to share one agent harnessAntigravity CLI plus Antigravity 2.0 (the desktop app)Google's Antigravity CLI blog (May 19, 2026) says both products use the same harness and share common settings. Conversations are not shared by default; you can open CLI chats in the app with the @conversation dropdown.

The Gemini CLI README also names a third command, Gemini API CLI (gemini-api): a "stateless API CLI (not a coding harness)" for talking to Gemini models from scripts or from other agents. That is a different tool from both agy and gemini, and this page does not cover it.

What changed on June 18, 2026

Google published the switch on May 19, 2026. From that day, Antigravity CLI was "available to everyone." On June 18, 2026:

Google also said there would not be "1:1 feature parity right out of the gate," but that Antigravity CLI keeps Gemini CLI's main pieces: Agent Skills, Hooks, Subagents, and Extensions (now called Antigravity plugins). It listed three changes it did want: the CLI is built in Go, it can run several agents in the background without locking the terminal, and it shares its agent harness with Antigravity 2.0.

Side-by-side

Antigravity CLIGemini CLI
Commandagygemini
InstallOfficial installer script (a standalone binary at ~/.local/bin/agy on macOS/Linux)npm install -g @google/gemini-cli. The README also lists npx @google/gemini-cli, Homebrew and MacPorts
Settings file~/.gemini/antigravity-cli/settings.json (flat keys; edit with /config or /settings)~/.gemini/settings.json (user) and .gemini/settings.json (project). Settings sit in nested groups such as general, ui, context
Rules / context filesReads GEMINI.md and AGENTS.md by default, plus .agents/rules/*.md. Global files live under ~/.gemini/ (see files)Default file name is GEMINI.md (global: ~/.gemini/GEMINI.md). You can add other names, including AGENTS.md, with context.fileName
Project skills folder.agents/skills/ (global skills still work from ~/.gemini/skills/ or ~/.gemini/antigravity-cli/skills/).gemini/skills/ in the project; ~/.gemini/skills/ globally
MCP serversTheir own files: ~/.gemini/config/mcp_config.json (global) and .agents/mcp_config.json (project). Remote servers use serverUrlDeclared inside settings.json under mcpServers. Remote servers use url or httpUrl
How limits workYour Antigravity / Google AI plan quota (weekly on the $0 plan; every five hours on Pro and Ultra until a weekly cap). Google does not publish a daily request count. Check with /usage (alias /quota)The quota page still lists daily request caps by sign-in type, including 1,000 / 1,500 / 2,000 a day for Google-account tiers. Those personal-account numbers conflict with the June 18 move (see where the pages disagree)
Check usage/usage or /quota (model groups, weekly and five-hour limits); /credits for AI credits/stats model (this session's tokens plus "information about the limits associated with your current quota")
Auto-approve toolsModes include default, accept-edits, auto (sandbox required; not for business or enterprise) and plan. Flag: --dangerously-skip-permissions. Setting: toolPermission (default request-review)Approval modes include default, auto_edit, plan and yolo. yolo (approve everything) is only available as a flag (--yolo or --approval-mode=yolo), not as a saved default
Headless / one-shotagy -p "prompt" (also --print / --prompt); agy -i "prompt" to start interactive with a first promptgemini -p "prompt" / --prompt; gemini -i "prompt" / --prompt-interactive

Install and first commands

For Antigravity CLI, Google's get-started page gives these installers. After that, run agy in a project folder. The first launch walks you through color scheme, rendering mode (alt-screen or inline) and whether you trust the folder. If it finds old Gemini CLI config, it also offers a migration checklist (see how to switch).

Install Antigravity CLI (agy), from Google's get-started page
# macOS / Linux / Googlebook
curl -fsSL https://antigravity.google/cli/install.sh | bash
# Default binary: ~/.local/bin/agy

# Windows (PowerShell)
irm https://antigravity.google/cli/install.ps1 | iex
# Default binary: C:\Users\<user>\AppData\Local\agy\bin

# Check it installed
agy --version

# Start a session in this folder
agy

Useful startup flags from the CLI reference: --mode accept-edits|auto|plan, --model, --sandbox, -c / --continue (most recent chat), --conversation <id>, and -p for a one-shot prompt. Inside a session, type / to search slash commands. A short list people actually use:

Gemini CLI still installs like this, from its get-started page and README:

Install Gemini CLI (gemini), from Gemini CLI docs and README
# Gemini CLI's get-started page (standard install)
npm install -g @google/gemini-cli
gemini

# Also listed on the Gemini CLI README, Nov 8, 2026
npx @google/gemini-cli
brew install gemini-cli

Once it is running, /settings opens its settings dialog, and /stats model shows token use and quota info. /memory show prints the combined GEMINI.md context; /memory reload (the configuration page also mentions /memory refresh) rereads those files.

Settings files

This is one of the easy places to get mixed up, because both tools keep files under ~/.gemini/, but not the same file.

Antigravity CLI reads ~/.gemini/antigravity-cli/settings.json. Leave a key out and it uses the default. Google's reference page gives this example (it is theirs, not ours). You can also add "$schema": "https://antigravity.google/schemas/v1/settings.json" at the top for editor autocomplete:

~/.gemini/antigravity-cli/settings.json (example from Google's CLI reference)
{
    "agentMode": "auto",
    "colorScheme": "tokyo night",
    "altScreenMode": "always",
    "toolPermission": "proceed-in-sandbox",
    "notifications": true,
    "enableTerminalSandbox": true
}

A few keys that matter day to day, with Google's defaults:

Flags such as --sandbox or --dangerously-skip-permissions override the file for that session only. The settings menu marks the override so you can see where a value came from. What each mode and toolPermission value lets the agent do, and how the terminal sandbox fits in, is in Antigravity permissions and sandbox.

Gemini CLI uses nested JSON in ~/.gemini/settings.json (every session) and .gemini/settings.json (this project; it wins over the user file). System files can sit above or below those, and command-line flags win last. Its own example groups keys under general, ui, tools, mcpServers and so on. Approval defaults live at general.defaultApprovalMode (default, auto_edit or plan — not yolo).

Using a Gemini API key

The setup is not the same:

Antigravity CLI: required extra line so GEMINI_API_KEY is actually used
{
  "modelProvider": "gemini"
}

Matching kit: MVP Spec-to-Build Pack ($7)

The free rules set the boundaries. The MVP pack gives you the build order: a 1-page spec to fill in first, then 7 prompts in sequence (skeleton, review, login, database, security, one feature at a time, polish), plus a "did I leak user data?" checklist.

See the MVP Spec-to-Build Pack ($7) →

Instant download. 7-day refund, no questions asked.

GEMINI.md vs AGENTS.md

You do not have to rename your existing rule files just to open agy. Google's migration guide says both CLIs "use identical workspace context rules," and that Antigravity CLI keeps reading:

Antigravity's own rules page goes further (and applies to the CLI, the app and the IDE). It also loads:

AGENTS.md and GEMINI.md do not use frontmatter in Antigravity: the whole file stays on. One CLI-specific note from that same rules page: the Antigravity CLI does not support @-mentioning a manual rule.

Gemini CLI's default is still the name GEMINI.md. It loads ~/.gemini/GEMINI.md, then files in the workspace and parent folders, and it can also pick up a GEMINI.md "just in time" when a tool opens a directory (and walk up from there). If you want it to read AGENTS.md too, set context.fileName (this example is from Gemini CLI's own GEMINI.md page):

Gemini CLI can load extra context file names, including AGENTS.md
{
  "context": {
    "fileName": ["AGENTS.md", "CONTEXT.md", "GEMINI.md"]
  }
}

Copy-paste starters: GEMINI.md examples, AGENTS.md examples and Google Antigravity rules. Google's migration page and its rules page do not fully agree on subdirectory files; that is called out under where the pages disagree.

Skills folders after you switch

Global skills can stay put. Project skills cannot: Google says you have to move them yourself.

Skills locationGemini CLIAntigravity CLI
Global (every project)~/.gemini/skills/~/.gemini/skills/ or ~/.gemini/antigravity-cli/skills/
This project.gemini/skills/.agents/skills/

If your repo still has .gemini/skills/, rename or move that folder to .agents/skills/ or Antigravity will not treat those skills as slash commands. More: Google Antigravity skills.

How to switch from Gemini CLI

Google's migration guide is the page to follow. In short:

  1. Install agy with the script above, then run agy --version.
  2. First launch. If the CLI finds old Gemini CLI config, it shows a checklist: which extensions and global settings to convert, session tokens moved into your OS keyring, and visual settings mapped over. Google notes "partial parity": workspace skills, rules and MCP servers are kept, but some custom terminal themes or experimental visual overlays from Gemini CLI may not be.
  3. Import extensions as plugins if you want to do that yourself, rather than only during onboarding:
Convert local Gemini CLI extensions into Antigravity plugins
# After you have agy installed, convert local Gemini CLI extensions
agy plugin import gemini

Google's sample output shows extensions being converted piece by piece: skills kept or skipped, legacy commands turned into skills, and MCP server blocks written to mcp_config.json.

  1. Move project skills from .gemini/skills/ to .agents/skills/, as in the table above. This step is manual.
  2. Update MCP configs if you maintain them by hand. Gemini CLI kept servers inside ~/.gemini/settings.json. Antigravity CLI wants:
    • Global: ~/.gemini/config/mcp_config.json
    • This project: .agents/mcp_config.json
    For remote servers, rename url or httpUrl to serverUrl (Google's MCP page now accepts url as well; more in Antigravity MCP setup). This JSON is Google's own example from the migration guide (including the placeholder token):
Antigravity CLI MCP example from Google's migration guide
{
    "mcpServers": {
        "remote-indexer": {
            "serverUrl": "https://mcp.internal.enterprise.com/sse",
            "env": {
                "AUTH_TOKEN": "secure_alpha_token"
            }
        }
    }
}

Then sign in. On your own machine, agy tries the OS keyring first and only opens a browser if it has no saved token. Over SSH it prints a URL and asks you to paste back an authorization code. Use /logout to clear the saved profile from the keyring.

Limits, in brief

This is the part people search for as "antigravity cli vs gemini cli quota." The longer version, with plan prices and AI credits, is on Antigravity limits and AI credits.

Where Google's own pages disagree

We checked them all on Nov 8, 2026. These do not line up, so we did not pick a side above:

Same idea in other tools

If you are choosing among Google's terminal tool, Claude Code and Codex rather than between Google's two CLIs, start with Antigravity vs Claude Code vs Codex. For the files each tool reads, see GEMINI.md examples, Antigravity rules and Antigravity skills.

Next step for Antigravity: Agent Skills

Skills are folders your AI coding agent loads only when the job comes up, and Claude Code, Cursor and OpenAI Codex all read the same SKILL.md format. The Vibe Coder Skills Pack ($9) is 6 ready-to-copy SKILL.md skills (fix-one-bug, stop-the-loop, leak-check, ship-check, explain-project, builder-handoff) for Claude Code, Cursor and OpenAI Codex. Also included in the 6-kit bundle.

Get the Skills Pack for $9 on Gumroad → See what's inside

One .zip of skill folders plus one markdown file. 7-day refund, no questions asked.

Best value

All 6 kits for $29 — or $20.30 with code WELCOME30 (through Nov 30)

A short AGENTS.md or GEMINI.md keeps either CLI from guessing how you like to work. The kits give your AI the plan up front, step by step: a small game, a Discord bot, an email-triage agent, an MVP, or a cleanup of messy code.

Get all 6 kits for $29 → See what's in each kit

$29 instead of $48 for the six kits bought separately; WELCOME30 takes 30% off that at checkout ($20.30). Instant download from Gumroad. 7-day refund, no questions asked.

Related

Sources

Every command, path, limit and date here was checked Nov 8, 2026 on Google's own Antigravity docs, the developers blog, Gemini CLI docs and the Gemini CLI README. Google says its usage limits can change. If something here no longer matches, tell us at [email protected].

Free rules starter pack for Cursor, Claude Code, Codex and Antigravity

One shared AGENTS.md that works across Cursor, Claude Code, Codex, Copilot and Antigravity, plus database and test rules in each tool's format. Unzip it into your project and fill in two sections. I'll email you the link.

After that, an occasional email when I publish a new guide or rules file.

Free. No spam. Unsubscribe anytime. See our privacy note.