[Linux / Arch] Still Shipping Broken OAuth Deep-Links (antigravity-ide://) & Random Session Unauthentication

I am really losing my patience here. First, we cannot access Argon in an actual code editor—because that makes total sense.

Today I go to pick up a session on my Linux machine, which is already signed into my Google account in my browser. Out of nowhere, my session in Antigravity IDE unauthenticates randomly—an issue I have never had on any device until now (and which appears to be the exact bug where a brief network/DNS hiccup on wake causes the client to misclassify the state as unauthenticated and corrupt the session cache).

I follow the steps to sign in, it opens the browser, and since I’m already signed in, it immediately tries to redirect back to the IDE. Except you shipped a completely broken protocol handler setup for the antigravity-ide:// OAuth deep link on Linux. Instead of returning to the IDE, xdg-open tries to open the callback in VS Code, and then falls back to launching GNOME Software.

Here is what I have already spent my day doing to no avail:

  • Ran Antigravity: Reset Onboarding (does nothing to fix the broken URI routing).

  • Manually deleted my token, token journal, cookies, and cookies journal from my hidden config files.

  • Completely uninstalled and reinstalled a fresh copy of Antigravity IDE, which immediately hit the exact same loop.

  • Resorted to running manual bash commands just to work around the fact that you shipped broken auth on Linux.

This ties directly back to the root cause raised a month ago in [BUG & ROOT CAUSE] Linux/Fedora: Silent Launch Failure on Re-open (0-Window second-instance) & Auth Deep-Link Loop (#184265):

For Antigravity IDE:

Flaw: It completely lacks MimeType=x-scheme-handler/antigravity-ide; and %F. The system has no registered protocol handler for antigravity-ide://.

While the window-restore bug in that thread was marked resolved, the Linux distribution itself is still just a raw tarball with zero desktop/MIME registration or local loopback fallback.

I am one of many users spending over 1K p/y for an AI Ultra subscription, I already don’t have access to frontier models inside your literal coding environment? Now I am expected to manually hardcode system MIME pathways in bash just to get a basic login wrapper to function? Because there is no setup script, .desktop installer, or working fallback in Chromium-based browsers, OAuth fails completely out of the box.

I am now having to wipe my manual install and pull from the Arch User Repository ([``https://aur.archlinux.org/packages/antigravity-ide``](``https://aur.archlinux.org/packages/antigravity-ide``)), because apparently twelve hundred dollars per civilian customer means relying on unpaid community volunteers to write basic .desktop URL handler files. Can you please patch this and package it in a stable Linux release?

Hi @focusjordan,

The fastest way around the antigravity-ide:// callback loop is to authenticate through the CLI instead of the browser redirect. Antigravity uses a unified local auth layer across all surfaces under your home directory, and the CLI completes its OAuth handshake through a local loopback listener on localhost rather than relying on OS URI interception. If you open your terminal, run agy, and execute /login, your browser will authenticate and send the token straight back to your local port. Once that finishes, launching Antigravity IDE will automatically inherit the active session without triggering the browser callback or invoking xdg-open.

If you specifically want the browser callback to route into your manual installation rather than falling back to VS Code or GNOME Software, you can register the missing scheme in your user applications folder. Open or create ~/.local/share/applications/antigravity-ide.desktop, add %u to your Exec line, specify MimeType=x-scheme-handler/antigravity-ide;text/plain;, and run update-desktop-database against that directory so xdg-open maps the protocol correctly.

Regarding Gemini 4 Argon and the random session drops on wake: the previous Antigravity IDE v2.5.5 release from August predated Argon, but updating to Antigravity IDE v2.6.0 both enables Gemini 4 Argon directly inside Antigravity IDE for AI Ultra subscribers and adds background reconnection logic to prevent sleep transitions and brief network interruptions from dropping your session. As an alternative to the standalone archive, you can also use Gemini 4 Argon in VS Code, JetBrains, or Zed via the official Antigravity IDE extensions (v1.9.0), which connect to the same AI Ultra entitlement.

Please let us know if authenticating through the CLI loopback listener and updating to Antigravity IDE v2.6.0 gets your environment working.