Antigravity Agent

repository·master·Indexed 20 days ago

https://github.com/monchilin/antigravity-agent

A multi-account management utility for Antigravity users featuring seamless account switching, automated recording, and secure encrypted backups. It includes a VSCode extension for managing accounts and model quotas, and is available for macOS and Linux (via Flatpak). Version 1.7.2.

Tokens
19K
Snippets
85
Records
112
Agent score
68%

What's inside antigravity-agent

  1. Overview of Antigravity Agent

    master
    Antigravity Agent is a management tool designed to simplify the management of multiple Antigravity accounts. It allows users to switch between accounts seamlessly without repeated logins, automatically records account information, and provides secure backup capabilities via password-encrypted exports for cross-device migration. It also features a VSCode extension for managing accounts and viewing model quotas directly within the editor.
  2. Add a new account to Antigravity Agent

    master

    To add a new account and replace the current one, follow these steps:

    1. Click the 登录新账户 (Login New Account) button in the dashboard.
    2. Confirm the action (note: this will clear the current account data).
    3. In the automatically opened Antigravity application, log in with your new account. The account information will be automatically saved by the agent.
  3. Fix macOS security blocks for Antigravity Agent

    master

    Because Antigravity Agent is an unsigned open-source application, macOS may block it from running. You can resolve this using the Terminal or System Settings.

    If you have just downloaded the .dmg file, run this command to remove the quarantine attribute:

    xattr -cr ~/Downloads/Antigravity*.dmg

    If you have already installed the application to your /Applications folder, run this command to remove the quarantine attribute from the app bundle:

    sudo xattr -rd com.apple.quarantine /Applications/Antigravity\ Agent.app

    Option 2: Using System Settings

    1. Attempt to open the app (it will be blocked by macOS).
    2. Open System Settings → Privacy & Security.
    3. Scroll to the bottom and click "Open Anyway".
    4. Enter your system password to confirm.

    Note: On macOS Sequoia 15.1 and later, the Control-clickOpen method is no longer functional.

  4. Run, Update, and Uninstall Antigravity Agent (Flatpak)

    master

    Once installed via Flatpak, use the following commands to manage the application:

    Run the application

    You can launch the app from your application menu or via the terminal:

    flatpak run com.antigravity_agent.app

    Update the application

    To update, download the new .flatpak file and run the install command again:

    flatpak install --user ./<new_version_filename>.flatpak

    Uninstall the application

    To remove the application from your system:

    flatpak uninstall com.antigravity_agent.app
    # Run
    flatpak run com.antigravity_agent.app
    
    # Update
    flatpak install --user ./new_version.flatpak
    
    # Uninstall
    flatpak uninstall com.antigravity_agent.app
  5. Install Antigravity Agent via Flatpak

    master

    To install the Flatpak version of Antigravity Agent on Linux, follow these steps:

    1. Prerequisites

    Ensure flatpak is installed and the Flathub repository is added. For Ubuntu/Debian systems:

    # Install Flatpak
    sudo apt install flatpak
    
    # Add Flathub repository
    flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo

    Note: It is recommended to restart your system after these steps to ensure environment variables are applied.

    2. Installation

    1. Download the latest .flatpak file from the GitHub Releases page.
    2. Install the package using the following command:
    flatpak install --user ./antigravity-agent_amd64.flatpak

    Note: You may be prompted to download the GNOME runtime (approx. 400MB). Press 'y' to confirm.

    Method 2: GUI Installation

    1. Download the antigravity-agent_amd64.flatpak file.
    2. Double-click the file and follow the prompts in your software center (e.g., GNOME Software or KDE Discover).
    # Download (replace <version> with actual version)
    wget https://github.com/MonchiLin/antigravity-agent/releases/download/<version>/antigravity-agent_amd64.flatpak
    
    # Install
    flatpak install --user ./antigravity-agent_amd64.flatpak
  6. Add a new Antigravity account

    master

    To add a new account to your management list, follow these steps:

    1. Click the Login New Account button in the Antigravity Agent dashboard.
    2. Confirm the action; this will clear the current account data from the agent.
    3. Log in to the new account in the automatically opened Antigravity application. The account information will be saved automatically by the agent.