Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

aswap: multi-account switching for the Antigravity CLI, with failover when quota runs out

说明与用途

aswap 自动化管理 Antigravity CLI 的多账户切换,防止因配额耗尽导致任务中断,并在表格中显示所有账户的配额状态。

问题

Using the Antigravity CLI (agy) with multiple Google accounts, switching required signing out and back in, and tasks stopped abruptly when an account ran out of quota.

结果

aswap enables seamless multi‑account usage of agy, preventing task interruption due to quota limits and providing a unified view of all accounts’ quota status.

工作流

  • Add accounts with aswap add after signing in to agy with each account.
  • List accounts and quota with aswap list.
  • Switch accounts manually with aswap switch or automatically with aswap auto.
  • Run long tasks with aswap run or aswap exec -- -p "..." to enable automatic failover when quota is exhausted.
  • aswap monitors agy logs, holds the exhausted account until reset, selects the next account with most quota, and restarts agy with the same conversation and a prompt to continue.

证据

Switch between Google accounts without signing out, let aswap switch for you before an account runs out, see every account's quota in one table, and run long print-mode tasks that carry on to the next account when one hits its limit.

来源

aswap run starts agy in your terminal and watches its log. When the account hits its quota, aswap: holds that account out until the reset time agy reports, picks the next account with the most quota left, restarts agy on that account with the same conversation and a short "please continue" prompt.

来源

After a switch, aswap runs agy models to prove the login works. That call lists models and spends no quota.

来源

  • 记录日期: 2026-10-02T07:40:54.606Z