Antigravity Agent
repository·master·Indexed 20 days ago
https://github.com/monchilin/antigravity-agentA 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.
What's inside antigravity-agent
- 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.
Add a new account to Antigravity Agent
masterTo add a new account and replace the current one, follow these steps:
- Click the 登录新账户 (Login New Account) button in the dashboard.
- Confirm the action (note: this will clear the current account data).
- In the automatically opened Antigravity application, log in with your new account. The account information will be automatically saved by the agent.
Install Antigravity Agent on Linux
masterFor Linux users, the recommended installation method for the best experience is using the Flatpak version. Detailed instructions can be found in the Flatpak Installation Guide.Fix macOS security blocks for Antigravity Agent
masterBecause Antigravity Agent is an unsigned open-source application, macOS may block it from running. You can resolve this using the Terminal or System Settings.
Option 1: Using Terminal (Recommended)
If you have just downloaded the
.dmgfile, run this command to remove the quarantine attribute:xattr -cr ~/Downloads/Antigravity*.dmgIf you have already installed the application to your
/Applicationsfolder, run this command to remove the quarantine attribute from the app bundle:sudo xattr -rd com.apple.quarantine /Applications/Antigravity\ Agent.appOption 2: Using System Settings
- Attempt to open the app (it will be blocked by macOS).
- Open System Settings → Privacy & Security.
- Scroll to the bottom and click "Open Anyway".
- Enter your system password to confirm.
Note: On macOS Sequoia 15.1 and later, the
Control-click→Openmethod is no longer functional.Run, Update, and Uninstall Antigravity Agent (Flatpak)
masterOnce 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.appUpdate the application
To update, download the new
.flatpakfile and run the install command again:flatpak install --user ./<new_version_filename>.flatpakUninstall 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.appInstall Antigravity Agent via Flatpak
masterTo install the Flatpak version of Antigravity Agent on Linux, follow these steps:
1. Prerequisites
Ensure
flatpakis 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.flatpakrepoNote: It is recommended to restart your system after these steps to ensure environment variables are applied.
2. Installation
Method 1: Command Line (Recommended)
- Download the latest
.flatpakfile from the GitHub Releases page. - Install the package using the following command:
flatpak install --user ./antigravity-agent_amd64.flatpakNote: You may be prompted to download the GNOME runtime (approx. 400MB). Press 'y' to confirm.
Method 2: GUI Installation
- Download the
antigravity-agent_amd64.flatpakfile. - 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- Download the latest
Add a new Antigravity account
masterTo add a new account to your management list, follow these steps:
- Click the Login New Account button in the Antigravity Agent dashboard.
- Confirm the action; this will clear the current account data from the agent.
- Log in to the new account in the automatically opened Antigravity application. The account information will be saved automatically by the agent.
Build and package the Antigravity Agent desktop bundle
masterTo create a production-ready desktop bundle, use the Tauri build command.
npm run tauri:buildInstall Antigravity Agent via Graphical Interface
masterIf your Linux distribution has a graphical software center (such as GNOME Software or KDE Discover) with Flatpak support, you can install the application by:
- Downloading the
antigravity-agent_amd64.flatpakfile. - Double-clicking the file and following the on-screen installation prompts.
- Downloading the
Use the Antigravity VSCode Extension
masterStarting from version 1.6.0, you can use the Antigravity Extension to integrate account management into your development workflow.
Requirements:
- You must have the Antigravity Agent running in the background.
Capabilities:
- Switch between accounts directly within the editor.
- View real-time conversation history and model quota information without leaving VSCode.
Run Antigravity Agent in development mode
masterAfter installing dependencies, use the Tauri development command to run the application in a development environment.
npm run tauri:devBuild the Antigravity Agent desktop application
masterCompile and package the application into a production-ready desktop executable.
npm run tauri:build