> I mean they have gemini CLI

Uhhh, about that :)

Gemini CLI (the open source cli) is being deprecated, and the recommended replacement is Antigravity CLI (which supposedly comes with the new Antigravity, not the IDE). shrug. Surely this will be maintained long term...

Oh, but you can only install the new antigravity CLI by first installing and authenticating via the IDE.

Will they make it work headless before the June deadline when they turn off gemini-cli? I guess we'll see...

[Edited to add: danielbln below is correct, this appears to just be stale documentation for antigravity-cli, it can be used completely headless now.]

There's a link on the downloads page to a standalone version of the CLI

Just today I installed the CLI version of antigravity (agy) and have been using it as a headless subagent from within Claude, so uh this works today?

And how do you get this to work exactly? I keep getting variations of "Missing required parameter: redirect_uri" in the OAuth flow.

The solutions proposed by Gemini and Google's AI summaries all hallucinate agy subcommands that don't exist, hilariously.

Edit: after bouncing around several GitHub threads, I realized that the agy TUI framework is wrapping the URL in a way that causes spaces to be inserted where the URL wraps. That's hilarious.

Right above the CLI download link on that page, there's a warning icon with "Authenticate with Antigravity or Antigravity IDE before using the CLI."

Ok, I guess this is outdated then because I did what I said I did.

Ah!

You're right, I just re-tested on my server and was able to get it to work now. Thank you! Does appear to just be stale documentation.