ai:tools:antigravity-manager
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| ai:tools:antigravity-manager [2026/02/07 22:23] – [Installation Guide] phong2018 | ai:tools:antigravity-manager [2026/02/07 22:49] (current) – phong2018 | ||
|---|---|---|---|
| Line 61: | Line 61: | ||
| ===== Installation Guide ===== | ===== Installation Guide ===== | ||
| - | === 1. Clone the repository === | ||
| - | git clone https:// | + | === 1. Install Rust on macOS or Linux === |
| - | + | ||
| - | cd Antigravity-Manager | + | |
| - | + | ||
| - | === 2. Install dependencies === | + | |
| - | + | ||
| - | npm install | + | |
| - | + | ||
| - | === 3. Run in development mode === | + | |
| - | + | ||
| - | npm run tauri dev | + | |
| - | + | ||
| - | + | ||
| - | * Install Rust on macOS or Linux | + | |
| Step 1: Open Terminal | Step 1: Open Terminal | ||
| Line 93: | Line 79: | ||
| source $HOME/ | source $HOME/ | ||
| + | |||
| + | rustc --version | ||
| + | |||
| + | === 2. Install Antigravity Tools === | ||
| + | |||
| + | brew tap lbjlaq/ | ||
| + | |||
| + | brew install --cask antigravity-tools | ||
| + | |||
| + | === 3. Open Antigravity Tools === | ||
| + | |||
| + | Go to Applications | ||
| + | |||
| + | Open Antigravity Tools | ||
| ===== Usage Guide ===== | ===== Usage Guide ===== | ||
| - | === 1. Add an AI account | + | 2. What Antigravity Tools Actually Does (Quick Mental Model) |
| + | |||
| + | Think of it as: | ||
| + | |||
| + | A local AI gateway + account manager | ||
| + | |||
| + | It: | ||
| + | |||
| + | Runs a local server on your machine | ||
| + | |||
| + | Manages multiple AI accounts | ||
| + | |||
| + | Exposes them as standard APIs (OpenAI / Anthropic compatible) | ||
| + | |||
| + | 3. Initial Setup (Required) | ||
| + | Step 1: Open Web UI | ||
| + | |||
| + | By default, Antigravity Tools starts a local server. | ||
| + | |||
| + | Open your browser and go to: | ||
| + | |||
| + | http:// | ||
| + | |||
| + | 127.0.0.1 /ˌwʌn tuː ˈsɛvən ˈzɪərəʊ/ | ||
| + | → localhost (your own computer) | ||
| + | |||
| + | Step 2: Login | ||
| + | |||
| + | Depending on how you installed it: | ||
| + | |||
| + | Default password: shown in the app UI | ||
| + | |||
| + | 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 / | ||
| + | → a secure login method without sharing passwords | ||
| + | |||
| + | Option B: Token / 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 | ||
| + | 🔴 Red = blocked / expired | ||
| + | |||
| + | 6. Use It as an API (Most Common Use) | ||
| + | OpenAI-compatible API | ||
| + | |||
| + | Base URL: | ||
| + | |||
| + | http:// | ||
| + | |||
| + | API Key: | ||
| + | |||
| + | your API_KEY | ||
| + | |||
| + | Example with curl: | ||
| + | |||
| + | curl http:// | ||
| + | -H " | ||
| + | -H " | ||
| + | -d '{ | ||
| + | " | ||
| + | " | ||
| + | { " | ||
| + | ] | ||
| + | }' | ||
| + | |||
| + | 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 | ||
| - | * Open Antigravity-Manager | + | Create fallback chains |
| - | * Click **Add Account** | + | |
| - | * Enter: | + | |
| - | * Account name | + | |
| - | * API key or token | + | |
| - | * AI service type | + | |
| - | === 2. Switch accounts === | + | Routing / |
| + | → automatically choosing where requests go | ||
| - | * Select an account from the list | + | 8. Auto-Failover (Set Once, Forget) |
| - | * Click **Switch** | + | |
| - | * The selected account becomes active immediately | + | |
| - | === 3. Manage accounts === | + | Antigravity Tools will: |
| - | * Edit account information | + | Retry on 429 (rate limit) |
| - | * Delete unused accounts | + | |
| - | * Set a default account | + | |
| - | **Vocabulary notes:** | + | Switch account on 401 (expired) |
| - | * **Token** / | + | |
| - | * **Active** / | + | |
| - | * **Default** / | + | |
| + | Skip blocked accounts automatically | ||
| - | ===== Target Users ===== | + | This is on by default. |
| - | * AI Developers | + | 9. Common Use Cases |
| - | * Backend / Frontend Developers | + | Use with local tools |
| - | * Testers | + | |
| - | * AI product teams | + | |
| - | * Users working | + | |
| + | Cursor | ||
| - | ===== Benefits ===== | + | Continue.dev |
| - | * Saves time | + | Open WebUI |
| - | * Reduces account-related errors | + | |
| - | * Centralized account management | + | |
| - | * Improves productivity and workflow efficiency | + | |
| - | **Vocabulary notes:** | + | Chat apps |
| - | * **Centralized** / | + | |
| - | * **Productivity** / | + | |
| - | * **Efficiency** / | + | |
| + | Just set: | ||
| - | ===== Source Code ===== | + | API Base URL → http:// |
| - | GitHub Repository: | + | API Key → your key |
| - | https:// | + | |
ai/tools/antigravity-manager.1770503012.txt.gz · Last modified: by phong2018
