User Tools

Site Tools


ai:tools:antigravity-manager

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ai:tools:antigravity-manager [2026/02/07 22:17] phong2018ai:tools:antigravity-manager [2026/02/07 22:49] (current) phong2018
Line 16: Line 16:
   * **Ecosystem** /ˈiːkəʊˌsɪstəm/: hệ sinh thái   * **Ecosystem** /ˈiːkəʊˌsɪstəm/: hệ sinh thái
  
---- 
  
 ===== Key Features ===== ===== Key Features =====
Line 62: Line 61:
 ===== Installation Guide ===== ===== Installation Guide =====
  
-=== 1. Clone the repository === 
  
-git clone https://github.com/lbjlaq/Antigravity-Manager.git+=== 1Install Rust on macOS or Linux ===
  
-cd Antigravity-Manager+Step 1: Open Terminal
  
-=== 2. Install dependencies ===+Step 2: Run this command
  
-npm install+curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  
-=== 3. Run in development mode ===+Step 3: Follow the instructions
  
-npm run tauri dev+Press 1 (default installation)
  
 +Wait until installation finishes
 +
 +Step 4: Restart terminal (or run)
 +
 +source $HOME/.cargo/env
 +
 +rustc --version
 +
 +=== 2. Install Antigravity Tools ===
 +
 +brew tap lbjlaq/antigravity-manager https://github.com/lbjlaq/Antigravity-Manager
 +
 +brew install --cask antigravity-tools
 +
 +=== 3. Open Antigravity Tools ===
 +
 +Go to Applications
 +
 +Open Antigravity Tools
  
 ===== Usage Guide ===== ===== Usage Guide =====
  
-=== 1Add an AI account ===+2What Antigravity Tools Actually Does (Quick Mental Model)
  
-  * Open Antigravity-Manager +Think of it as:
-  * Click **Add Account** +
-  * Enter: +
-    * Account name +
-    * API key or token +
-    * AI service type+
  
-=== 2. Switch accounts ===+A local AI gateway + account manager
  
-  * Select an account from the list +It:
-  * Click **Switch** +
-  * The selected account becomes active immediately+
  
-=== 3. Manage accounts ===+Runs a local server on your machine
  
-  * Edit account information +Manages multiple AI accounts
-  * Delete unused accounts +
-  * Set a default account+
  
-**Vocabulary notes:** +Exposes them as standard APIs (OpenAI Anthropic compatible)
-  * **Token** /ˈtəʊkən/: mã truy cập +
-  * **Active** /ˈæktɪv/: đang được sử dụng +
-  * **Default** /dɪˈfɔːlt/: mặc định+
  
 +3. Initial Setup (Required)
 +Step 1: Open Web UI
  
-===== Target Users =====+By default, Antigravity Tools starts a local server.
  
-  * AI Developers +Open your browser and go to:
-  * Backend / Frontend Developers +
-  * Testers +
-  * AI product teams +
-  * Users working with multiple AI accounts+
  
 +http://127.0.0.1:8045
  
-===== Benefits =====+127.0.0.1 /ˌwʌn tuː ˈsɛvən ˈzɪərəʊ/ 
 +→ localhost (your own computer)
  
-  * Saves time +Step 2: Login
-  * Reduces account-related errors +
-  * Centralized account management +
-  * Improves productivity and workflow efficiency+
  
-**Vocabulary notes:** +Depending on how you installed it
-  * **Centralized** sentrəlaɪzd/: tập trung + 
-  * **Productivity** /ˌprɒdʌkˈtɪvɪti/năng suất +Default password: shown in the app UI 
-  * **Efficiency** /ɪˈfɪʃənsi/: hiệu quả+ 
 +Or you may need to set one in Settings 
 + 
 +If you set: 
 + 
 +API_KEY → used for API access 
 + 
 +WEB_PASSWORD → used for web login 
 + 
 +4. Add AI Accounts 
 +Go to: Accounts → Add Account 
 + 
 +You can add accounts in several ways: 
 + 
 +Option A: OAuth Login (Recommended) 
 + 
 +Google (Gemini) 
 + 
 +Anthropic (Claude) 
 + 
 +Just click Authorize, log in, done. 
 + 
 +OAuth oʊæθ/ 
 +→ a secure login method without sharing passwords 
 + 
 +Option BToken / Cookie Import 
 + 
 +Paste session token 
 + 
 +Import JSON 
 + 
 +Batch import (advanced users) 
 + 
 +5. Check Account Status (Very Important) 
 + 
 +Go to Dashboard 
 + 
 +You will see: 
 + 
 +Account health 
 + 
 +Remaining quota 
 + 
 +Last sync time 
 + 
 +🟢 Green = usable 
 +🟡 Yellow = low quota 
 +🔴 Red = blocked / expired 
 + 
 +6. Use It as an API (Most Common Use) 
 +OpenAI-compatible API 
 + 
 +Base URL: 
 + 
 +http://127.0.0.1:8045/v1 
 + 
 +API Key: 
 + 
 +your API_KEY 
 + 
 +Example with curl: 
 + 
 +curl http://127.0.0.1:8045/v1/chat/completions \ 
 +  -H "Authorization: Bearer YOUR_API_KEY"
 +  -H "Content-Type: application/json" \ 
 +  -'{ 
 +    "model""gpt-4", 
 +    "messages":
 +      { "role": "user", "content": "Hello!"
 +    ] 
 +  }' 
 + 
 +You can now plug this into: 
 + 
 +OpenAI SDKs 
 + 
 +LangChain 
 + 
 +LlamaIndex 
 + 
 +Cursor / Continue / Claude Code (via Anthropic endpoint) 
 + 
 +7. Model Routing (Optional but Powerful) 
 + 
 +Go to Models / Routing 
 + 
 +You can: 
 + 
 +Map gpt-4 → gemini-pro 
 + 
 +Map claude-3-opus → gemini-ultra 
 + 
 +Create fallback chains 
 + 
 +Routing ruːtɪŋ/ 
 +→ automatically choosing where requests go 
 + 
 +8. Auto-Failover (Set Once, Forget) 
 + 
 +Antigravity Tools will: 
 + 
 +Retry on 429 (rate limit) 
 + 
 +Switch account on 401 (expired) 
 + 
 +Skip blocked accounts automatically 
 + 
 +This is on by default. 
 + 
 +9. Common Use Cases 
 +Use with local tools 
 + 
 +Cursor 
 + 
 +Continue.dev 
 + 
 +Open WebUI 
 + 
 +Chat apps
  
 +Just set:
  
-===== Source Code =====+API Base URL → http://127.0.0.1:8045/v1
  
-GitHub Repository: +API Key → your key
-https://github.com/lbjlaq/Antigravity-Manager+
  
ai/tools/antigravity-manager.1770502663.txt.gz · Last modified: by phong2018