aklkbqx/agy-swap
Über uns
Switch Google Antigravity CLI and IDE accounts, monitor live 5-hour and weekly Gemini and Claude/GPT quotas, and run supervised auto-swap handoffs from your terminal.
EntwicklerwerkzeugeGemessener Sternzuwachs
- in 24h
- +4
- in 7 days
- +17
- in 15 days
- Verlauf wird gesammelt
- in 1 month
- Verlauf wird gesammelt
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
README.md
Originalagy-swap
Switch Google Antigravity accounts from your terminal without signing out in a browser.
Check 5-hour and weekly quota for Gemini, Claude/GPT, and Gemini 4 Argon, then press Enter to switch both the agy CLI and the Antigravity IDE (macOS and Linux; CLI only on Windows).
Website · Guides · Reference · ไทย · 日本語 · 简体中文 · 한국어

What it does
- Switches the
agyCLI and, on macOS and Linux, the Antigravity IDE and Jetski in place without browser sign-out. - Tracks 5-hour and weekly
Gemini,Claude/GPT, and Pro weeklyGemini 4 Argonquota with local reset countdowns andREADY,LOW,GEMINI ONLY,CLAUDE/GPT ONLY,LIMITED, andVERIFYstatus badges. - Keeps background
agytoken refreshes in other open terminals from overwriting your active account (--sync-session). - Supports scripted rotation (
next --family claude), cooldowns (limit), repo bindings (profile/bind), promptstatusline(Starship, tmux, zsh), AES-GCM encryptedbackup, and SHA-512 verifiedinstall-agy.
Install
# Homebrew (macOS and Linux)
brew install aklkbqx/agy-swap/agy-swap
# Shell (macOS and Linux, verifies SHA-256)
curl -fsSL --proto '=https' --tlsv1.2 https://agy-swap.aklkbqx.com/install.sh | bash
# Windows PowerShell (verifies SHA-256)
irm https://agy-swap.aklkbqx.com/install.ps1 | iex
# Build from source (Go 1.27.4+)
go install github.com/aklkbqx/agy-swap/v2/cmd/agy-swap@latest
Behind a corporate TLS proxy or installing from an internal mirror? See docs/reference.md or the install page.
Quick start
agy-swap install-agy # optional: install the official agy CLI
agy-swap add # sign in with Google and save an account
agy-swap # open the TUI, pick an account, press Enter -> Switch
Demos and everyday usage
TUI shortcuts and command palette
Use ↑/↓ or 1-9 to select an account, Enter to switch, / to filter, r to refresh quotas, n for the next eligible account, w to open a VERIFY link, ? for all shortcuts, and Ctrl+K (or :) for the command palette.

CLI commands for scripts
agy-swap list # saved accounts, status badges, and quota bars
agy-swap switch 2 # switch by email, alias, or slot
agy-swap next --family claude # refresh and rotate to next eligible account
agy-swap limits --refresh # inspect 5-hour, weekly, and Argon windows
agy-swap limit set 1 6h --group claude # set or clear manual cooldowns
agy-swap verify [email protected] # open Google verification URL for VERIFY accounts
agy-swap statusline install # enable statusline config and print shell/prompt command
agy-swap doctor # check vault, permissions, wrapper, and update readiness

For profiles, directory bindings, running two concurrent CLI sessions with isolated HOME (AGY_SWAP_SKIP_SYNC=1), env vars, and how the IDE wrapper works, see docs/reference.md and the command reference.
Security and account safety
- Local session switcher, not an API router or OAuth proxy. Prompts and model inference never pass through
agy-swap; every request still runs through the officialagyCLI or Antigravity IDE. - Switching updates local session files (
~/.geminiand your OS keychain mirror) and polls quota from Google's endpoint. Google's own multi-account, billing, and acceptable-use rules still apply, soagy-swapcannot promise zero account risk. - Saved tokens stay in
vault.json(0600, not encrypted). SetAGY_SWAP_VAULT=keychainto store them in macOS Keychain, Windows Credential Manager, or Linux Secret Service instead. - No usage telemetry or crash reports. Eligible interactive and networked commands run a cached daily
/version.jsoncheck; disable it withAGY_SWAP_NO_UPDATE_CHECK=1orDO_NOT_TRACK=1.
Full security details, network endpoints, and vulnerability reporting live in SECURITY.md and agy-swap.aklkbqx.com/security/.
Guides
- Quota limits, 5-hour windows, and Gemini 4 Argon
- Switch both the agy CLI and Antigravity IDE
- Directory bindings and parallel CLI sessions
- Troubleshooting HTTP 429, Keychain, VERIFY, and corporate proxies
- Shell prompt statusline for Starship, tmux, and zsh
- Compare agy-swap with manual login and alternatives
- Full CLI, TUI, and proxy reference
Contributing, support, and license
- Contribute via CONTRIBUTING.md, docs/development.md, and docs/architecture.md.
- Optional support: GitHub Sponsors (or run
agy-swap donate --open). - MIT License by Akalak Kruaboon. See LICENSE.
Ähnliche Projekte entdecken
Wird geladen…