Antigravity Switch
Lightweight manual Antigravity (agy) account switcher and sidebar quota bar for Paseo.
Antigravity Switch is a lightweight Paseo plugin for manually switching local Antigravity (agy) accounts and viewing the active account's 5-hour and weekly quota in the sidebar status bar.
The plugin mounts a single compact quota bar in Paseo's sidebar footer styled to match the built-in usage summary. Clicking the bar opens a popover to inspect reset countdowns, refresh quota on demand, save the current login, add another Google account, or switch manually between saved account snapshots. When either the 5-hour or weekly quota reaches 0% and multiple accounts are saved, the footer bar switches in place to a one-click button to manually switch to the next saved account and refresh its quota. It also registers a Paseo usage source so the active account appears in the built-in Usage modal without duplicating the bottom summary row.
Setup
- Requires Paseo 0.18.2 or later and the official Antigravity (
agy) CLI installed on the daemon host. - Supported on macOS and Linux (including SSH sessions).
- Sign in to Antigravity in your terminal with
agy, or click the Antigravity quota bar in Paseo's sidebar footer and choose "Add account" to sign in through the officialagy acp --disable-telemetry --loginOAuth flow. - To switch accounts, end any running
agysessions first, select a saved account in the popover, confirm the switch, and open a new session.
Data access, permissions, and limitations
- Local commands: executes
agy usage --jsonto read quota for the active login only,agy acp --disable-telemetry --loginwhen the user explicitly starts adding an account,psto detect runningagysessions before switching, and macOS/usr/bin/security(via stdin) to read and update theservice="gemini",account="antigravity"login keychain entry. - Network requests: the plugin makes no direct network calls of its own. All authentication and quota requests are performed by the local
agyCLI with Google's official endpoints. - Local storage: saves account metadata, credential snapshots, and the latest quota cache under
~/.paseo/agy-switch/with directory permissions0700and file permissions0600. Temporary login directories created during "Add account" are removed immediately after completion, cancellation, or timeout. - Shared session directory: all accounts share the existing
~/.gemini/antigravity-clidirectory; the plugin does not isolateHOME, modify Paseo's built-in provider, poll idle accounts in the background, or auto-switch accounts. - Quota cache: quota is fetched on demand with a 5-minute cache and manual refresh button. Switching accounts clears the cache immediately.

