omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

Support multi-account management and automatic quota switching for Antigravity (agy)

Open grold opened this issue 4 weeks ago • 0 comments

Problem / Proposal

Omarchy currently supports multi-account management and automatic quota-threshold switching for Claude, Codex, and Grok. When an active account exhausts its weekly or session quota, Omarchy can automatically rotate to another account with remaining headroom, or let the user switch accounts with one click or command.

Antigravity (agy) is currently limited to a single sign-in. Power users who rely on Antigravity across multiple Google accounts (e.g., personal, work, or separate subscription tiers) currently have no way to rotate accounts when hitting 5-hour rolling session windows or weekly limits without manually re-authenticating and overwriting credentials.

We propose adding full Antigravity support to Omarchy's agent multi-account system.

Expected Behavior

  1. Multi-Account Support in Desktop Panel & CLI:

    • Users can add secondary Antigravity accounts from the Agents panel (Super + A) or via omarchy agent account add agy [label].
    • The sign-in flow opens in an isolated private session to prevent accidentally re-authenticating the existing account.
    • Users can switch active accounts via the Agents panel or omarchy agent account use agy <id>.
  2. Automatic Quota Switching:

    • Like Claude, Codex, and Grok, Antigravity should support automatic quota switching (omarchy agent account mode agy auto).
    • When the active Antigravity account nears its quota limit (default: 95%), Omarchy should automatically switch to another configured account with available quota before the next prompt.
  3. Per-Account Telemetry:

    • The Agents panel should display each Antigravity account with its own plan tier (e.g., Free, Plus, Pro) and individual meters for both rolling 5-hour session and 7-day weekly limits.
  4. Seamless Workspace Persistence:

    • Switching Antigravity accounts should only swap authentication credentials. Local history, conversations, MCP servers, and installed extensions should remain shared and accessible across accounts.

Assisted by Gemini 3.8 Flash (Reasoning: Medium)

grold avatar Nov 07 '26 23:11 grold