Antigravity
Google's agent CLI that replaced Gemini CLI — closed-source, invoked as agy.
What it is
Antigravity is Google's agentic coding CLI. On 2026-06-18 Google shut down the open-source Gemini CLI and replaced it with Antigravity, a closed-source tool you invoke as agy.
If you relied on Gemini CLI, this is the migration path Google points you to. It is capable and tied tightly into Google's models — but it is no longer open-source, so you cannot read or self-host it the way you could with Gemini CLI.
Be clear-eyed: a closed-source CLI from a vendor that just sunset its open predecessor is a tool you use, not one you own. Keep your work portable and do not build a workflow that only Antigravity can run.
Install & set up
Run the official Antigravity CLI installer with curl. It installs the agy command.
curl -fsSL https://antigravity.google/cli/install.sh | bashAuthenticate with your Google account (or an API key) on first run.
agy loginOpen your project folder and launch the agent.
cd my-project && agyGemini CLI was shut down on 2026-06-18. Antigravity reads your existing GEMINI.md / AGENTS.md context files, but re-check any scripts that called the old gemini command — they will not work and must be repointed at agy.
From install to your first verified proof
The tool drafts; you stay accountable. Here is the path from a fresh install to a proof you can defend.
Strengths & gotchas
Strengths
- Tightly integrated with Google's latest models
- Familiar migration path if you came from Gemini CLI
- Capable terminal agent that runs over SSH
- Reads existing AGENTS.md context
Gotchas
- Closed-source — you cannot read or self-host it (Gemini CLI, which it replaced, was open)
- Google shut down Gemini CLI on 2026-06-18; old gemini scripts must be repointed at agy
- Model usage is metered in USD — watch your spend
- Vendor lock-in risk: keep your work portable