Skip to content

About

Cross-platform companion for Google Antigravity: Account Switcher, Custom Model Gateway, UI/UX Enhancement, Preview Browser, File Explorer, GitHub Workspace, Token Monitor, and many more features !

Topics

Resources

Stars

20 stars

Watchers

0 watching

Forks

Latest commit

 

History

629 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Antigravity Swiss Knife Logo

Antigravity Swiss Knife

Cross-platform desktop companion and background daemon for Google Antigravity.

Overview  •  Features  •  Quick Start  •  GUI Examples  •  FAQ  •  Wiki  •  License


Overview

Antigravity Swiss Knife is a cross-platform desktop companion and background daemon for Antigravity 2.0, CLI and VS Code Extension, while adhering Google's Terms of Service.

As a new open-source project in active development, community feedback would be really appreciated ❤️.
Please feel free to raise issues, report bugs, or suggest feature ideas in our GitHub repository to help shape upcoming releases.

Key Features

Antigravity Swiss Knife Key Features

Remote Connect & Multi-Channel Agent Bridges

  • Remote Control (/remote): Reverse proxies the real Antigravity 2.0 Web App (language_server discovered via Chrome DevTools Protocol), presenting an official entrance screen, replacing upstream internal gift favicons with the official Google Antigravity multi-color delta SVG icon (/favicon.svg and /favicon.ico), with live CSRF token re-binding across language_server restarts and live Redux userStatus/setUserStatus account identity synchronization across account switches.
  • 4 Remote Tunnel Modes: Zero-config Cloudflare Quick Tunnel (quick), Tailscale Funnel (tailscale, public *.ts.net), Tailscale Private Tailnet (tailnet, private 100.x.y.z / MagicDNS TCP forwarder), and Custom Domain (custom), alongside 3 public HTTPS tunnel modes in Gemini Bridge.
  • 4-Minute Keep-Alive & Auto-Stop: Automated background probe (X-Swiss-KeepAlive: 1) every 4 minutes prevents Cloudflare 5-minute idle expirations, while automatically shutting down remote access if any tunnel returns 502/503/504/521-524/530 or becomes unreachable.
  • Security PIN & Master App Password: Cryptographic 8-character alphanumeric PIN generation (GeneratePairingPIN), instant session revocation via Rotate PIN, brute-force lockout defense (5 failed attempts within 5 minutes locks IP for 15 minutes), and a Use App Password toggle allowing authentication via the master Application Access Password.
  • Built-in OAuth 2.0 / 2.1 MCP Authorization Server: RFC 9728 protected resource discovery, RFC 8414 server metadata, RFC 7591 dynamic client registration, and PKCE (S256/plain) for Google Gemini MCP connections. Unauthenticated /api/bridge/mcp requests return 401 with WWW-Authenticate pointing to resource metadata. Supports interactive authorization consent (/oauth/authorize) verified by the 8-character Pairing PIN or App Access Password, token exchange (/oauth/token for authorization_code, refresh_token, and client_credentials), and surfaces explicit OAuth Client ID (antigravity-gemini-bridge) and Client Secret in the UI for Gemini Additional settings.
  • Multi-Channel Agent Bridges: Two-way streamable HTTP MCP bridge for Gemini Web/Advanced (/api/bridge/mcp across hybrid, lead, and direct execution modes), plus dedicated chat agent connectors for WhatsApp, Telegram, and Discord.

Custom Models & GCP Vertex AI

  • Zero-Proxy Model Routing: Bring-Your-Own-Key integration for Anthropic, OpenAI, Google AI Studio, DeepSeek, GCP Vertex AI, and local Ollama runtimes.
  • In-Selector Thinking Level Submenu: In-selector flyout submenu for reasoning models (Low, Medium, High) rendered inside the model selector menu with factory Antigravity SVG checkmark and chevron icons.
  • 6-Probe Security Suite: Automated verification of TLS enforcement, query parameter hygiene, authorization headers, CORS posture, payload sanitization, and token log masking before activation.

Extensions & Main Stage Overview Suppression

  • Segmented Tool Switcher: Top header segmented switcher dividing tools into Built-in (Preview Browser, File Explorer, Quick Memos, Mobile Simulator, GitHub Workspace) and Community (custom iframe and sandboxed HTML/JS extensions) views.
  • Overview Panel Auto-Hide: Automatically collapses Antigravity's floating right-hand Overview and auxiliary inspection panel (Overview, Review, Files, Terminal, Plugins) while on the Swiss Knife main stage, and restores prior visibility states when exiting.

Token Monitor & Fleet Observability

  • Real-Time Telemetry: Real-time context tracking, input/cache/output accounting, tokens-per-second velocity, and dollar valuation calculators.
  • Billions (B) Unit Formatting: Automatic B unit notation for token counts >= 1,000M (1,000,000,000), keeping metric headers and chart axes readable at high context volumes.

Quick Start

Installation

Download ready-to-run installers from Releases:

PlatformPackage FormatInstall Location
Linux.deb package/opt/antigravity-swiss-knife
WindowsNSIS installer (.exe)%LOCALAPPDATA%\Programs\Antigravity Swiss Knife
macOSDisk Image (.dmg)/Applications/Antigravity Swiss Knife.app

Linux Dedicated Out-of-Tree Installer

To install directly from source into your user directory (~/.local/share/antigravity-swiss-knife):

npm run install:linux

This stages the bundle, stops the running installed app, installs desktop assets, relaunches the new build, and waits for the companion daemon on 127.0.0.1:8765. Use -- --no-restart to leave the current app running or -- --no-launch to install without relaunching.

Building from Source

git clone https://github.com/ChillingWombat/AntigravitySwissKnife.git
cd AntigravitySwissKnife
npm install
npm run build
npm run desktop

To run only the headless companion daemon:

./bin/swiss daemon --web --addr 127.0.0.1:8765

GUI Examples

Antigravity Swiss Knife Interface

Frequently Asked Questions

  1. What platforms does Antigravity Swiss Knife support?
  • It runs on 64-bit Linux (.deb and source installer), Windows 10/11 (NSIS installer), and macOS (Apple Silicon and Intel .dmg).
  • Linux is the primary development platform while Windows and macOS packages have been validated inside Quickemu virtualized environments.
  1. Does it use an API proxy server?
  • No. Intercepting API traffic between your IDE and Google endpoints risks credential exposure and violates Google Cloud Terms of Service.
  • Swiss Knife operates purely through direct local OS keyrings, SQLite WAL coordination, and native Chrome DevTools Protocol hooks on your machine.
  • If you really need such feature, please check projects like CLIProxyAPI.
  1. Will my account get banned for using the Account Switcher?
  • No, Google only bans relevant services for account that was acquired illicitly, but not for using account switcher.
  • Account rotation updates OAuth refresh tokens inside your operating system's native keyring exactly as official login sessions do.
  • It also virtualizes hardware identifiers per account to prevent identity collision and telemetry linkage.
  1. Can I use separate Google accounts for subagents?
  • No, spawning subagents across different Google accounts concurrently as a pool causes session race conditions and violates Terms of Service.
  • Swiss Knife limits Google account switching strictly to the primary orchestrator session. Subagent offloading is designed exclusively for Custom Models, keeping Google account usage isolated and compliant.
  1. How are my credentials stored and secured?
  • All sensitive credentials remain strictly on your local machine and are encrypted at rest with AES-256-GCM
  • You can configure an optional application access master password to gate application entry.
  1. Why doesn't this proejct support third-party subscription accounts as custom models?
  • Frontier models are co-trained and optimized alongside their native agent runtimes and toolchains. Running Claude outside Claude Code or GPT outside Codex loses the prompt tuning, tool protocols, and scaffold optimizations that give each model its edge.
  • While avoiding vendor lock-in sounds appealing, models deliver their best results inside their native environments.
  • Antigravity had rough edges early on, but Google's sufficient resources will keep Gemini and the Antigravity runtime consistently competitive for daily development eventually and meet most people's needs.
  1. If Custom Models don't replace Gemini, how should I work with other frontier models?
  • Custom Models in Swiss Knife (BYOK API keys or local Ollama) serve as backups, cost-saving alternatives, and auxiliary subagents when Gemini quota runs low. They handle overflow and specialized tasks rather than replacing the primary daily driver.
  • The cleanest way to work with external frontier models is to run each one in its native agent application and connect them with Antigravity through open Agent Communication Protocols (ACP). Each agent should stay in its optimized environment while collaborating across projects.

Documentation Wiki

Comprehensive architecture specs, multi-app fleet guides, and developer workflows are documented in the GitHub Wiki:

License

This project is licensed under the MIT License.

Antigravity Swiss Knife is an independent community project. It is not affiliated with, sponsored by, or endorsed by Google LLC.

About

Cross-platform companion for Google Antigravity: Account Switcher, Custom Model Gateway, UI/UX Enhancement, Preview Browser, File Explorer, GitHub Workspace, Token Monitor, and many more features !

Topics

Resources

Stars

20 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages