# Automatic account switching

URL: https://agentvera.dev/en/features/account-switching/ · Plan: Pro and Team

Put as many Claude Code and Codex accounts as you like in a chain. When the remaining limit drops below your threshold, or the CLI reports a limit, the agent moves to the next available account. The conversation is copied over and the agent carries on. Cursor, Gemini, Copilot and the other CLI agents have their own accounts and fallback order too.

**Account chains and thresholds.** You set up separate chains for Claude and Codex in the app’s account switching settings. The threshold applies to what’s left of the 5-hour or weekly limit, and the chain wraps around after the last account. If “Move the conversation to the new account” is off, the switch starts a new conversation.

- A chain needs at least two accounts.
- Switching also recognizes expired or rejected logins and skips to the next working account.
- The status bar shows each account’s 5-hour and weekly usage.

**Accounts of other agents.** Under Settings → Accounts → Accounts of other agents you add accounts for Cursor, Gemini, Copilot, opencode, Hermes, Qwen, Droid, Kimi, Amp and the other CLI agents. In the agent window you pick the agent’s account and an ordered list of fallback accounts.

- Gemini, Copilot, Hermes, Kimi, opencode, Crush, Cline and Vibe accounts sign in with the CLI’s own sign-in, in a folder of their own; your own sign-in is left alone.
- Cursor accounts sign in with cursor-agent on a Mac; extra Amp, Goose, Qwen and Droid accounts run on API keys.
- Keys are kept encrypted and never sent to the window; Settings shows whether each account is signed in.
- At the limit, the next model of the chain is tried on the same account first, then the next account. The conversation stays the same; a model or account that hit its limit is skipped for an hour.

**Where the limits come from.** Limits are read from Anthropic’s usage service for Claude and from codex app-server per account for Codex. These endpoints aren’t a stable public API.

- **Which tools does it work with?** Claude Code and Codex use account chains. Cursor, Gemini, Copilot, opencode, Hermes, Qwen, Droid, Kimi, Amp and the other CLI agents have Settings → Accounts → Accounts of other agents, and each agent window has its own fallback order.
- **Is the conversation lost?** No. With moving the conversation on, its record is copied into the new account’s folder and the agent continues the same conversation.
- **How many accounts can I add?** Chains have no length limit; switching needs at least two accounts.

---

**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 runs 2 agents at once. Download: https://agentvera.dev/en/download/ · Pricing: https://agentvera.dev/en/pricing/
