fulldiagnose/antigravity-fixer

Fix Antigravity 'not eligible' error - diagnose, clean credentials, auto-fix

What it solves

It resolves eligibility errors (such as "Your current account is not eligible for Antigravity") and login failures for Google Antigravity, Gemini Code Assist for individuals, and third-party providers like 9router that use these as a backend. It specifically addresses issues related to stale OAuth credentials, phone number verification, and 403 Forbidden errors.

How it works

The tool is a CLI application that automates the diagnosis and cleanup process through several steps:

  1. Cleanup: It kills stuck processes and purges local caches and credentials from the Antigravity CLI, Desktop App, IDE, and system credential managers (Windows Credential Manager, Keychain, etc.).
  2. Permission Management: It automatically revokes stuck OAuth connections within the user's Google Account.
  3. Verification: It launches an incognito browser to guide the user through Google's age/selfie verification process.
  4. Re-authentication: It coordinates with the Antigravity CLI (agy) to perform a fresh login and authorization code exchange.

Who it’s for

Developers using Google Antigravity or Gemini Code Assist who are encountering account eligibility or authentication errors, as well as AI coding agents (like Cursor or Aider) that can be instructed to run the fixer on a user's behalf.

Highlights

  • Comprehensive Purge: Clears state across CLI, IDE, and OS-level secret stores.
  • Stealth Automation: Uses camoufox for headless browser automation to handle OAuth revokes.
  • AI Agent Ready: Includes a specific workflow for integration with AI coding agents.
  • Security Focused: Passwords are handled in-memory only and are not saved to disk or logs.

Related

  • Project
  • Project
  • Project
  • Project