Credential locations
Claude Code stores credentials in the macOS Keychain or local files, depending on how it was installed. Codex CLI stores credentials in auth.json or a system keyring. Gemini CLI stores credentials in files under ~/.gemini. Antigravity CLI uses a system-keyring-backed live session together with documented state roots under ~/.gemini/antigravity-cli/ and ~/.gemini/config/. AI Switcher reads from and writes to whichever location the installed version of each tool already uses. For exact paths and keyring specifics per tool, see the CLI reference for supported tools.
Keyring behavior
Where a tool uses a system keyring, AI Switcher talks to the platform-native backend directly: Keychain on macOS, Credential Manager on Windows, and Secret Service on Linux. No credential passes through a third-party service to reach the keyring.
Fail-closed cases
Importing a live account fails with an explicit error rather than silently succeeding when the source credential can't be read cleanly — for example, when a Codex auth.json can't be parsed, or when adding a profile would collide with an existing one without--force. AI Switcher does not guess at ambiguous credential state.
State-mode differences
Claude Code and Codex CLI support both isolated and shared state: isolated keeps each profile's local configuration separate, while shared keeps local state common and switches only account credentials. Gemini CLI keeps authentication and local state together under ~/.gemini, so it always runs isolated — a shared mode isn't structurally possible for Gemini today. Antigravity CLI is the inverse case: upstream does not currently expose a documented isolated auth root, so AI Switcher supports it through shared live switching only.
Known limitations
AI Switcher Desktop v0.2.0 is publicly downloadable as an alpha release for macOS, Windows x64, and Linux x64. This page only claims desktop platform support where a public artifact exists. The aisw CLI remains available for macOS (Apple Silicon and Intel), Linux (ARM64 and x64), and Windows x64, with Antigravity CLI support included in the current matrix.
Minimum tested versions
This matrix reflects aisw CLI v0.3.8 and AI Switcher Desktop v0.2.0.
Last verification date
Checked against the aisw CLI source and current public desktop release inventory on July 20, 2026.