Antigravity CLI (agy) is Google's AI coding agent for the terminal. One command installs it, your Google account signs you in, and /model lets you switch between Gemini, Claude and OpenAI's open GPT-OSS model.
In VS Code: Terminal → New Terminal (or Ctrl + Shift + `). Any normal terminal works too.
irm https://antigravity.google/cli/install.ps1 | iex
curl -fsSL https://antigravity.google/cli/install.sh | bash
Check it worked:
agy --version
agy
The first time, your browser opens: approve with your Google account and come back to the terminal. On a remote server over SSH, it prints a link instead; open it, approve, and paste the code back quickly (the prompt closes after about 30 seconds).
/model and press Enter.Open the terminal inside your project folder, then try:
explain what this project does
fix the failing test and show me what you changed
Read the commands and file edits it proposes before you accept them. Type ? to see keyboard shortcuts.
export PATH="$HOME/.local/bin:$PATH", then try again (add it to your ~/.zshrc or ~/.bashrc to keep it).agy.