Skip to content

aisw

Account manager and switcher for Claude Code, Codex CLI, and Gemini CLI. Current release: v0.3.3.

Named profile manager for Claude Code, Codex CLI, and Gemini CLI. Store and switch between multiple accounts in one command across all three AI coding agents - on macOS, Linux, and Windows.

Terminal window
brew tap burakdede/tap && brew install aisw

Other installers:

Terminal window
# Shell installer (Linux/macOS)
curl -fsSL https://raw.githubusercontent.com/burakdede/aisw/main/install.sh | sh
# Cargo
cargo install aisw
Terminal window
aisw init

init creates ~/.aisw/, configures the optional shell hook, and offers to import any currently logged-in tool accounts so you start with zero manual re-authentication.

Terminal window
# Store profiles
aisw add claude work --api-key "$ANTHROPIC_API_KEY"
aisw add claude personal # launches interactive OAuth
aisw add codex work --api-key "$OPENAI_API_KEY"
aisw add gemini work --api-key "$GEMINI_API_KEY"
# Activate a profile
aisw use claude work
aisw use --all --profile personal # switch all tools at once
# Inspect state
aisw status
aisw list
  1. Quickstart - install, first profile, first switch
  2. Commands - complete syntax and flag reference
  3. How it works - design decisions, credential storage, platform behavior
  4. Security - local-only storage, keyring integration, file permissions
  5. Automation and scripting - CI patterns, JSON output, non-interactive mode
  6. Troubleshooting - common failures and diagnostics