by burakdede
AISW | AI Switcher - Switch between multiple Claude Code, Codex CLI, Antigravity and Gemini CLI accounts in one command. Named profile manager for AI coding agents.
# Add to your Claude Code skills
git clone https://github.com/burakdede/aiswaisw is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by burakdede. AISW | AI Switcher - Switch between multiple Claude Code, Codex CLI, Antigravity and Gemini CLI accounts in one command. Named profile manager for AI coding agents. It has 161 GitHub stars.
aisw's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/burakdede/aisw" and add it to your Claude Code skills directory (see the Installation section above).
aisw is primarily written in Rust. It is open-source under burakdede on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh aisw against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
aisw (AI Switcher) saves each coding-agent login as a named profile and switches
between them without logging out, copying auth.json or editing hidden config. It
can switch all four agents together and refuse to start an agent in a repository
while the wrong account is active. It runs locally, with no account, telemetry or
proxy.
.credentials.json, Codex CLI uses CODEX_HOME/auth.json, Gemini CLI uses
~/.gemini. Hand-copying these files breaks token refresh.Import the login you already have, add others by OAuth sign-in or API key, and switch with a backup taken first. Each switch rolls back if any write fails. Adding profiles →
A context maps one profile per agent under a single name, even when the profile
names differ. aisw context use moves all of them together, or none.
Profiles, contexts and workspace rules →
Bind a folder, repository or GitHub org to a context. With the shell hook, the
guard warns or refuses to launch claude, codex, gemini or agy on a
mismatch and prints the command that fixes it.
Workspace guardrails →
# Homebrew (macOS, Linux)
brew install burakdede/tap/aisw
# Shell installer (macOS, Linux)
curl -fsSL https://raw.githubusercontent.com/burakdede/aisw/main/install.sh | sh
# Cargo (any platform)
cargo install aisw
Windows binaries and checksums are on the releases page. AI Switcher Desktop and the VS Code and Cursor extension use the same profiles.
# Install the shell hook and import the logins you already have
aisw init
# Add accounts by OAuth sign-in or API key
aisw add claude work
aisw add codex work-api-key --api-key "$OPENAI_API_KEY"
# Switch one agent, or every agent in a context
aisw use claude work
aisw context create work --claude work --codex work-api-key
aisw context use work
# See what each agent is using now
aisw status
Antigravity switches its keyring credential and authentication provider while
preserving preferences, global integrations, and runtime files. Gemini switching
preserves Antigravity's directories under their shared ~/.gemini parent.
Live Antigravity credentials use Go's platform storage contract, including the
macOS security transport; managed secure profiles retain Rust's native storage.
Start a new agent session after switching; a running process keeps the account it started with. The quickstart walks through each step.
| Tool | Binary | Auth | Platforms |
|---|---|---|---|
| Claude Code | claude |
OAuth, API key | macOS, Linux, Windows |
| Codex CLI | codex |
ChatGPT sign-in, API key | macOS, Linux, Windows |
| Gemini CLI | gemini |
Enterprise Google sign-in, Vertex AI, API key | macOS, Linux, Windows |
| Antigravity CLI | agy |
OAuth, API key | macOS, Linux, Windows |
Per-tool storage, state modes and limits are in Supported tools.
~/.aisw/, with secrets in the OS keyring (Keychain, Secret
Service, Credential Manager) or 0600 files.--json and uses stable exit codes, so aisw verify works as a
CI gate. Automation →Docs · Commands · Guides · FAQ · Troubleshooting
MIT.