Guides
Task-by-task guides, not just reference docs.
Every guide answers one specific question for Claude Code, Codex CLI, Gemini CLI, or Antigravity CLI — switching an account, keeping work and personal separate, or making sure the wrong account can never touch the wrong repository — with both a CLI and a desktop workflow.
Claude Code
Switching, isolating, and binding accounts for Claude Code.
- How to Switch Claude Code AccountsSave each Claude Code account as a named aisw profile and switch between them with one command, from the terminal or AI Switcher Desktop.
- Use Separate Work and Personal Claude Code AccountsKeep a work and a personal Claude Code account side by side with aisw, and switch between them without editing config files or re-authenticating.
- Use the Right Claude Code Account for Each RepositoryBind a repository to the Claude Code account it should use, so aisw can warn or block before the wrong account touches the wrong codebase.
Codex CLI
Switching, isolating, and binding accounts for Codex CLI.
- How to Switch Codex CLI AccountsSave each Codex CLI account as a named aisw profile and switch between them with one command, without copying auth.json by hand.
- Manage Multiple Codex CLI AccountsSave several Codex CLI accounts as named aisw profiles, list them, rename them, and remove the ones you no longer need.
- Use a Codex CLI Account Per RepositoryBind a repository to the Codex CLI profile or context it should use, and let aisw warn or block before the wrong account touches it.
Gemini CLI
Switching and isolating accounts for Gemini CLI.
- How to Switch Gemini CLI AccountsSave each Gemini CLI account as a named aisw profile and switch between them with one command, keeping the files under ~/.gemini isolated per account.
- Keep Work and Personal Gemini CLI Accounts SeparateUse two aisw profiles to keep a work Gemini CLI account and a personal one fully isolated, with no risk of one leaking into the other.
Antigravity CLI
Switching and managing Antigravity CLI accounts.
- How to Switch Antigravity CLI AccountsSave an Antigravity CLI account as a named aisw profile and switch between work, personal, and client accounts locally from the terminal or desktop app.
- Keep Work and Personal Antigravity CLI Accounts SeparateStore work and personal Antigravity CLI accounts as separate local aisw profiles and switch between them without repeatedly editing credential files.
Cross-tool workflows
Contexts, client setups, and repository guardrails spanning all supported tools.
- Manage Multiple Client Accounts Across Claude Code, Codex CLI, and Gemini CLIA practical setup for freelancers and consultants: one aisw context per client, bound to the right repositories, switchable in one command.
- Prevent the Wrong Account from Being Used in a RepositoryBind a repository to the context it should use and enable strict guardrails so aisw blocks a coding-agent launch before the wrong account touches the wrong codebase.
- Profiles vs. Contexts: What's the Difference in aisw?A profile is one saved account for one tool. A context groups profiles across Claude Code, Codex CLI, and Gemini CLI so you can switch your whole setup at once.
- Switch Claude Code, Codex CLI, and Gemini CLI TogetherGroup a profile from each tool into one aisw context, then switch your entire coding-agent setup with a single command instead of three.
Find the guide by the problem you are trying to solve.
These guides are written around the actual queries people use: switching between two Claude Code accounts, managing multiple Codex CLI accounts, keeping a Gemini CLI or Antigravity CLI work account separate from a personal one, or making sure the wrong account never opens the wrong repository. If you already know the problem, jump to the matching guide instead of reading the full command reference first.
Guides FAQ
This index page exists to route broad search intent to the narrower guide that answers it directly.
Where should I start if I want to switch between two accounts for one tool?
Start with the guide for that tool's switch-accounts workflow. Those pages answer the direct query first, then show the CLI method, the desktop method, and common problems.
Where should I start if I need separate work, personal, and client accounts?
Start with the work-personal guide for one tool, or the cross-tool client-account workflows if the account boundary spans Claude Code, Codex CLI, Gemini CLI, and Antigravity CLI together.
Which guide covers preventing the wrong account in the wrong repository?
Use the cross-tool repository guardrail guide or the per-tool repository guides. Those explain workspace bindings, guard modes, and how AI Switcher catches a mismatch before you launch a coding agent.
Don't see your exact situation?
The documentation covers every command in detail, including common switching situations not written up as a dedicated guide yet.
Install aisw CLI →