gitmyhub

ai-switcher

Rust ★ 41 updated 2h ago

A native macOS app to manage and switch between multiple accounts for AI coding tools — Claude Code, Codex, and Antigravity IDE — from one place.

macOS desktop app that lets you log in to multiple Claude Code, Codex, and Antigravity IDE accounts and switch between them instantly, including automatic switching when your quota runs out.

RustmacOSsetup: moderatecomplexity 2/5

AI Account Switcher is a macOS desktop app for people who use multiple subscription accounts across AI coding tools. It targets three tools specifically: Claude Code (an AI coding assistant that runs in the terminal), Codex (a similar terminal-based tool from OpenAI), and Antigravity IDE (a code editor with built-in AI). If you pay for more than one account on any of these services, this app lets you log in to all of them and switch between them without manually signing out and back in.

For the two command-line tools, Claude Code and Codex, the app sets up a separate configuration folder for each account and creates a named command for each one, so you can run multiple accounts at the same time in different terminal windows. The active account, the one that responds when you just type the plain command without a suffix, follows whatever you selected last in the app. Running a short command called aisw in an existing terminal window syncs it to the latest selection.

For Antigravity IDE, switching works differently because it is a graphical app. The switcher modifies a database file the IDE uses to store login tokens, then closes and reopens the IDE so the new account takes effect. The app detects accounts by their Google profile photo and flags duplicates automatically.

The app also shows quota information, meaning it reads how much of your usage allowance remains for Claude and Codex, and can automatically switch to another account when the active one runs out of quota.

Installation is a standard macOS drag-to-Applications flow from a downloaded disk image. Because the app is not signed with a paid Apple developer certificate, macOS will show a security warning on first launch, which you can bypass with a right-click or a one-time terminal command. The README notes that running multiple subscription accounts may violate the terms of service for the tools involved.

Where it fits