# Claude Code account switchers compared: auto-switch at the limit

URL: https://agentvera.dev/en/blog/claude-code-account-switchers/ · Published: 2026-11-03

Tools that move Claude Code or Codex to another account when the usage limit hits: ccam, AgentPool, ccswap, claude-swap, codex-swap and AgentVera, compared.

**In short:**

- Yes, several tools switch Claude Code to another of your accounts when a usage limit gets close: ccam, ccswap and claude-swap in the terminal, AgentPool inside VS Code, and AgentVera on the desktop.
- For Codex, ccswap, AgentPool and AgentVera switch accounts, and codex-swap picks the least-used account each time you launch.
- AgentVera checks usage every 90 seconds, lets a running turn finish (up to 20 minutes) and can carry the conversation to the next account. Account chains are on Pro and Team.

**Short answer:** yes. If Claude Code keeps hitting the usage limit and you have more than one account you are entitled to use, these tools move you to the next account automatically: **ccswap** and **claude-swap** in the terminal, **AgentPool** inside VS Code, **ccam** (opt-in, experimental) and **AgentVera** in a desktop app. ccswap, AgentPool and AgentVera also switch **Codex** accounts. Most of them can keep the same conversation going on the new account.

We build AgentVera, one of the tools below. We describe every tool, ours included, by what its own site, repository or marketplace page said on 3 November 2026.

If you only want to run two accounts side by side by hand, you don’t need any of these. One config folder per account does it; see [how to switch Claude Code accounts without logging out](/en/blog/switch-claude-code-accounts/). This post is about the next step: switching **automatically** when a limit is near.

## Automatic account switchers compared

| Tool | Agents | Platforms | Auto-switch at the limit | Same conversation after a switch | License | Price |
|---|---|---|---|---|---|---|
| ccam | Claude Code | Linux, macOS, Windows | Opt-in and experimental (`auto_switch`, Linux and macOS); otherwise you run `ccam next --auto` | Yes, with `ccam next --continue` | MIT | Free |
| AgentPool (VS Code extension) | Claude Code, Codex | Wherever VS Code runs: macOS, Windows, Linux | Yes, before the limit (default: 95% of the 5-hour window used), and back when a higher-priority account has room | Yes; before a switch to another organisation it asks you to run `/compact` | MIT | Free |
| ccswap | Claude Code, Codex | macOS, Linux, Windows | Yes, `ccswap auto` checks every 60 s and switches at 90% used by default | Claude Code usually without a restart; Codex needs a restart | MIT | Free |
| claude-swap (`cswap`) | Claude Code (CLI and VS Code extension) | macOS, Linux, Windows | Yes, `cswap auto` checks every 60 s, 90% used by default | Yes, the same session keeps going | MIT | Free |
| codex-swap | Codex | macOS only | Picks the least-used account each time you launch Codex; no mid-session switch documented | Not documented | MIT | Free |
| AgentVera | Claude Code, Codex (chains); per-agent accounts for other CLIs | macOS, Windows, Linux | Yes, account chains (default: 3% left) | Yes, when “Move the conversation to the new account” is on | Closed source | Free app; chains on Pro and Team |

Checked on 3 November 2026 against each tool’s own page: [ccam.dev](https://ccam.dev) and its repository, the [AgentPool listing](https://marketplace.visualstudio.com/items?itemName=TranHoaiHung.agent-pool) on the VS Code Marketplace, [ccswap](https://github.com/errhythm/ccswap), [claude-swap](https://github.com/realiti4/claude-swap) and [codex-swap](https://github.com/aneym/codex-swap) on GitHub. These tools change every few weeks, so check before you install.

Two notes on names. ccswap began as a fork of claude-swap and added Codex; the two are now separate projects. And the AgentPool in this table is the VS Code extension; a different project, `agentpool-cli` on PyPI, reads limits across several agents but leaves the choice of provider to you.

All of these tools read quota from usage endpoints that Anthropic and OpenAI don’t publish as a stable API (ccam’s README says so plainly). Treat the percentages as a guide, not a promise.

## Which one fits you?

### ccam if you use Claude Code in a terminal and want something small

ccam is a single Go binary. Each account gets its own config folder, and `ccam <name>` or a shortcut like `ccwork` opens Claude Code as that account. `ccam next --auto --continue` moves to the account with the most room and keeps the conversation. Fully automatic switching (`auto_switch = true`) is opt-in and marked experimental, on Linux and macOS.

### AgentPool if you work in VS Code

AgentPool lives in the VS Code status bar. Hovering shows every Claude Code and Codex account’s 5-hour and weekly quota, you drag accounts into a priority order, and auto switch walks that order before the account in use runs out. Account groups keep company projects on company accounts and personal projects on personal ones. It changes the login of Claude Code inside VS Code; the `claude` in your own terminal keeps its account unless you turn on a setting.

### ccswap if you use both Claude Code and Codex from the terminal

ccswap keeps several Claude Code and Codex logins, shows their usage in a dashboard and switches with `ccswap auto` before a limit hits. Claude Code usually continues without a restart. Codex reads its login when it starts, so a running Codex session has to be restarted.

### claude-swap if you only use Claude Code

claude-swap (`cswap`) is the project ccswap was forked from. It covers Claude Code only, works with the CLI and the VS Code extension, and has strategies such as “most quota left” or “use up the account that resets first”, with a cooldown so it doesn’t switch back and forth.

### codex-swap if you use Codex on a Mac

codex-swap wraps `codex` with a `cx` command that launches Codex on the ChatGPT account with the lowest usage. It decides at launch, not mid-session, and runs on macOS only.

### AgentVera if you run several agents at once

The tools above switch one login: the one your terminal or editor is using. AgentVera is a desktop app that runs many Claude Code, Codex and other CLI agents side by side, and **each agent has its own account**. An account chain moves only the agents whose account is running out, one by one, and can take each agent’s conversation with it. That matters when one agent is on a work account, another on a personal one, and only one of them is near its limit.

What to weigh: AgentVera is closed source, and automatic switching is on the Pro and Team plans. If you use one Claude Code session in one terminal, a free terminal tool may be all you need.

## How account chains work in AgentVera

This is what the desktop app does, read from its source. Setting a chain up step by step is in the [account switching guide](/en/blog/switch-claude-code-accounts/); here is what happens once it runs.

### Every agent has its own account

Each extra Claude Code or Codex account gets its own config folder, so several accounts stay signed in at once, and you pick an account for each agent. The account list shows who each one is signed in as: email, organisation and plan, since the same email can be on a personal plan and on a team plan. Other CLIs such as Cursor, Gemini CLI, Copilot or OpenCode can have extra accounts too, with their own sign-in folder or with API keys, chosen per agent. Automatic chains cover Claude Code and Codex.

### The check every 90 seconds

While a chain is on, AgentVera reads the 5-hour and weekly usage of every account in it every 90 seconds. An account counts as out of quota when either window has the threshold or less left; the default is 3%, adjustable up to 30%. If the CLI itself prints a limit message, AgentVera reacts right away instead of waiting for the next check.

### A running turn is allowed to finish

When an account is only near its threshold and the agent is in the middle of a turn, the switch waits for the turn to end, so the agent isn’t cut off mid-edit. It waits at most **20 minutes**; a turn that runs longer is switched anyway. If the CLI has already stopped on the limit, there is nothing to wait for and the switch happens at once.

### A 5-minute cooldown

An agent that was just switched isn’t switched again for **5 minutes**, so a flickering usage reading can’t bounce it between accounts. The exception is when the account it just moved to turns out to be out of quota too; then it goes on along the chain without waiting.

### Picking the next account

AgentVera takes the next account after the current one in the chain and wraps around at the end. It skips accounts that are out of quota, signed out, or whose stored login the provider rejects. An account that hit its limit stays skipped until its window resets (an hour, if the reset time isn’t known). If no account is left, AgentVera warns you, and when the limit resets the agent is told to continue on its own account.

### The conversation comes along

With “Move the conversation to the new account” on, the conversation is copied to the new account’s folder and the agent restarts on it. If the agent had unfinished work, AgentVera types a short note into it: the previous account hit its usage limit, it is on the next account with the same conversation, and it should continue where it left off. Agents running on SSH servers use the server’s own login and aren’t switched.

### A Pro feature

Account chains are a Pro feature (also in Team), available in the released desktop app. On the free plan you can still add accounts and choose one per agent; when an agent hits its limit, AgentVera tells you instead of switching. Plans are on the [pricing page](/en/pricing/).

## Use only accounts you are entitled to

An account switcher is a convenience for accounts you already have a right to use. It is not a way around the limits you agreed to.

- **Good reasons to have several accounts:** a personal plan and a work account, a team seat from your employer next to your own subscription, or separate accounts that clients pay for.
- **Read the terms:** check [Anthropic’s terms](https://www.anthropic.com/legal/consumer-terms) and [OpenAI’s terms](https://openai.com/policies/terms-of-use/) for the plans you use, and your employer’s policy for work accounts. Whether a setup is allowed depends on them, not on any tool here.
- **Don’t share or borrow logins,** and don’t create accounts only to stack quota. ccam’s own site makes the same point: using more than one account depends on the terms of each account.

If you mostly want the quota you have to last longer, start with [Claude Code usage limits](/en/blog/claude-code-usage-limits/): smaller context, the right model for the job and fewer wasted turns go a long way before a second account is needed.

## Frequently asked questions

**Is there a tool that switches Claude Code to another account automatically when the usage limit is reached?** Yes. As of November 2026, ccswap and claude-swap do it from the terminal with an auto command, AgentPool does it inside VS Code, ccam has an opt-in experimental auto switch on Linux and macOS, and AgentVera does it with account chains in its desktop app.

**Can Codex accounts be switched automatically too?** Yes. ccswap, AgentPool and AgentVera handle Codex as well as Claude Code. With ccswap a running Codex session has to be restarted after a switch. codex-swap is Codex only and picks the least-used account when you launch Codex.

**Does the conversation continue after an automatic switch?** In most of these tools, yes. ccam does it with ccam next --continue, claude-swap and ccswap keep the Claude Code session going, AgentPool keeps the same conversation in VS Code, and AgentVera copies the conversation to the next account when “Move the conversation to the new account” is on.

**Is it allowed to use several Claude or ChatGPT accounts?** That depends on Anthropic’s and OpenAI’s terms for the plans you use, not on the tool. Separate work and personal accounts, or a team seat next to a personal plan, are common. Using extra accounts to get around limits you agreed to is not what these tools are for.

**Is automatic account switching free in AgentVera?** Adding accounts and choosing one per agent is free. Automatic switching with account chains is on the Pro and Team plans. On the free plan, AgentVera tells you when an agent hits its limit instead of switching.

---

**About AgentVera.** AgentVera is a desktop app for macOS, Windows and Linux, built by Solviera Teknoloji. It runs 18 AI coding agents (Claude Code, Codex, Gemini CLI, Copilot, Cursor, Antigravity, opencode, Hermes, Qwen Code, Kimi Code, Kiro, Amp, Droid, Goose, Vibe, Crush, Aider, Cline) side by side, per project, in real terminals with the user's own CLI installs and logins. The free plan has unlimited agents. Download: https://agentvera.dev/en/download/ · Pricing: https://agentvera.dev/en/pricing/
