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.
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.]