APISwitch is a lightweight desktop management tool and local protocol routing gateway for third-party API providers and Google Antigravity official subscriptions. It manages provider configurations for Google Antigravity, Claude Code, Claude Desktop, Codex, OpenCode, and Pi, switches Google accounts with credential snapshots, tracks quota usage, and bridges OpenAI/Anthropic protocols through a local gateway with hot reload.
✨ Key Features
1. Unified Multi-Tool Management & Zero-Intrusion Switching
- Antigravity Quick Account Switching: Save credential snapshots and switch Google accounts with one click. Automatically captures and synchronizes the latest credentials before switching (preventing Refresh Token rotation expiration). Optionally auto-closes and smoothly restarts the IDE.
- Cross-Client Provider Sharing: One-click copy of provider configurations across Claude CLI, Claude Desktop, Codex, OpenCode, and Pi with intelligent field mapping (Auth Token ↔ Bearer Token / API Key). Enter once, use everywhere.
- Model Pool Management: Dedicated model pool mechanism for OpenCode and Pi, clearly distinguishing "In Config" from "Not in Config" states, supporting on-demand activation and batch maintenance.
- One-Click cc-switch Migration: Built-in migration wizard directly reads ~/.cc-switch/cc-switch.db, allowing checkbox selection to import existing providers with automatic deduplication and overwriting.
2. Built-in Local Protocol Routing Gateway
- High-Performance Local Gateway: Built-in lightweight HTTP gateway service (listening on 127.0.0.1:15725 by default, configurable Host and Port in settings, supports LAN sharing).
- Seamless Multi-Protocol Bridging:
- Codex Protocol Bridge: Translates standard OpenAI Chat Completions / Anthropic endpoints into Codex native Responses protocol.
- Claude CLI Protocol Bridge: Automatically manages authentication headers and request format mapping.
- Claude Desktop Model Mapping: Intercepts and rewrites claude-sonnet / opus / haiku requests to your designated upstream custom models.
- Long-Context Protection & Prompt Stripping: Automatically strips non-essential excessive system prompts and provides safeguards against massive 1M context overflows to prevent upstream 400 errors or unexpected costs.
- Zero-Restart Hot Reload: Point your client to the local gateway once. Provider switches reload instantly in the gateway with no client restarts needed.
3. Data Backup & Multi-Device Roaming
- One-Click Full Export: Bundle all tool provider configurations and Antigravity account data into a standardized JSON backup file.
- Flexible Restore Modes: Supports both "Merge & Append" (recommended: keeps existing configs while adding new or updating matching items) and "Full Overwrite" modes for seamless roaming across multiple machines.
- Direct Local Management: One click to open the local physical storage directory for full data ownership and transparency.
🔬 How It Works
- Google Antigravity: Login sessions are stored in VS Code's globalStorage SQLite database (ItemTable) under antigravityUnifiedStateSync.oauthToken and userStatus (base64-encoded Protobuf). APISwitch includes a lightweight Protobuf parser to safely extract email, subscription tier, and quota information. Account switching executes safe transactional writes with automatic .backup creation.
- Claude Code CLI: Precisely rewrites ANTHROPIC_* environment variables in ~/.claude/settings.json, strictly preserving all other configuration sections such as hooks and permissions.
- Claude Desktop: Manages Cowork inference gateway parameters (inferenceProvider, inferenceGatewayBaseUrl, inferenceGatewayApiKey, etc.). Switching back to "Official" cleanly removes these fields to restore native official login.
- OpenAI Codex: Configures model_provider and [model_providers.<id>] in ~/.codex/config.toml, synchronizing authentication with auth.json. Supports direct upstream connections or routing through the local gateway for protocol adaptation.
- OpenCode & Pi: Strictly adheres to their official specifications to read and write opencode.json and models.json / auth.json, ensuring immediate recognition by CLI and runtime environments.
- Safe Atomic Writes: All file modifications follow a "write temporary file → verify integrity → atomic replace" workflow, generating automatic .bak backups to prevent corruption from unexpected interruptions.
תיאור המפיץ (אנגלית)
מה זה APISwitch?
APISwitch היא תוכנה בקוד פתוח ל־Windows מאת kbkkb, מהקטגוריה VPN ופרוקסי.
התקנה ודרישות
קיימים קובצי התקנה רשמיים ל־64 ביט בפורמט EXE (Inno Setup). אפשר להתקין אותה למשתמש הנוכחי בלבד, בלי הרשאות מנהל. קובץ ההתקנה תומך בהתקנה שקטה, בלי התערבות של המשתמש.
יתרונות / חסרונות
יתרונות
- קוד פתוח: כל אחד יכול לבדוק את הקוד ולבנות אותו
- התקנה שקטה מתועדת
- מותקנת בלי הרשאות מנהל
- עודכנה בחודשיים האחרונים
חסרונות
- אין גרסת ARM64 מקורית
בקצרה: APISwitch היא תוכנה בקוד פתוח מהקטגוריה VPN ופרוקסי למחשבי 64 ביט. מנהלי מערכת יכולים להפיץ אותה בלי התערבות של המשתמש.
האם ההורדה של APISwitch בטוחה?
- הקובץ מגיע מהשרת github.com, הדומיין של המפיץ עצמו
- קישור ההורדה משתמש ב־HTTPS
- פורסם ערך SHA256, כך שאפשר לאמת את הקובץ:
4DC4B5BADEADFC639EC74A5D1F37023084709671CDB2DD0106DE711F123EB58B· פתיחת הדוח של VirusTotal עבור ה־hash הזה - הקישור טרם נבדק
- קוד המקור פתוח לציבור
- ExeAtlas אינו מאחסן, עוטף או משנה קובצי התקנה
מדריך קשור: בדיקת SHA256 של קובץ ב־Windows
גרסאות אחרונות
כל 1 הגרסאות ›| גרסה | תאריך | גודל | קבצים |
|---|---|---|---|
| 0.3.2אחרונה | 16 באוקטובר 2026 | — | 64 ביט EXE (Inno Setup) |
התקנה משורת הפקודה
התקנה שקטה ›winget install --id kbkkb.APISwitch -eAPISwitch-Setup-v0.3.2.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-מדריך קשור: מדריך winget: התקנה ועדכון של תוכנות
מידע
- מפיץ
- kbkkb
- קטגוריה
- VPN ופרוקסי
- רישיון
- MIT
- מחיר
- חינם
- דרישות
- Windows 11 / 10
- ארכיטקטורה
- 64 ביט
- סוג קובץ ההתקנה
- EXE (Inno Setup)
- גרסה
- 0.3.2
- תאריך שחרור
- 16 באוקטובר 2026
- נוספה לקטלוג
- 10 בנובמבר 2026
- גרסאות ברשימה
- 1
- הורדות דרך ExeAtlas
- 1
- אתר רשמי
- github.com
- מזהה winget
- kbkkb.APISwitch
דירוגים וביקורות
אין עדיין ביקורות. אפשר להיות הראשונים לדרג.
חלופות ל־APISwitch
הצגת הכול ›-
קוד פתוח1.8M ↓ -
קוד פתוח286.5K ↓ -
קוד פתוח153.5K ↓ -
קוד פתוח568.1K ↓ -
קוד פתוח175.1K ↓ -
קוד פתוח14.7K ↓ -
קוד פתוח58.1K ↓ -
קוד פתוח78K ↓
שאלות נפוצות
האם APISwitch חינמית?
כן. APISwitch היא תוכנת קוד פתוח ברישיון MIT.
האם ההורדה של APISwitch בטוחה?
הקובץ מגיע מהשרת github.com, ששייך למפיץ; ExeAtlas אינו מאחסן את הקובץ ואינו משנה אותו. אפשר להשוות את ערך ה־SHA256 של הקובץ לערך שמוצג כאן, או לפתוח את הדוח של VirusTotal עבור אותו ערך.
איך מתקינים את APISwitch באמצעות winget?
פותחים את PowerShell או את Windows Terminal ומריצים את פקודת ה־winget שמופיעה בדף הזה. winget מוריד את קובץ ההתקנה הרשמי ובודק את ערך ה־SHA256 שלו לפני ההפעלה.
אפשר להתקין את APISwitch בהתקנה שקטה?
כן. בדף ההתקנה השקטה מופיעה הפקודה המדויקת לכל קובץ התקנה.
אפשר להריץ את APISwitch על ARM (Windows on Arm)?
אין גרסת ARM64; Windows 11 on Arm יכול להריץ את גרסת ה־64 ביט באמצעות אמולציה.
אפשר להשתמש ב־APISwitch בלי הרשאות מנהל?
כן, יש קובץ התקנה למשתמש יחיד שאינו דורש הרשאות מנהל.
מהן החלופות ל־APISwitch?
OpenVPN, nginx, Proton VPN, Tailscale ו־Netbird. דף החלופות משווה ביניהן.