Credentials. Janus stores saved OAuth tokens in the login keychain and moves the live session between accounts, so only use it on a Mac you control.
Who it is forA developer with a personal and a work Claude Code account who is tired of signing out and typing logins again.
The problemSigning in as another Claude Code account normally means signing out first and entering the whole login again.
The outcomeEach account is saved in Janus, and the live session can be switched with one click or the ⌘S shortcut from the menu bar.
What you need first
- A Mac running macOS (the README says macOS only)
- Claude Code or Codex installed and signed in to at least one account
- Homebrew, or a manual download of the latest .dmg from Releases
- Xcode Command Line Tools if you build from source
Steps
- Install Janus with
brew install --cask --no-quarantine ramitvishwakarma/tap/janus, or download the latest .dmg from Releases and drag Janus to Applications. - If you downloaded the .dmg by hand, run
xattr -dr com.apple.quarantine /Applications/Janus.apponce, then runopen /Applications/Janus.app. - With the first account signed in to Claude Code, open Janus and press Save current account.
- Sign out of Claude Code, sign in as the second account, return to Janus, and press Save current account again.
- Switch between the two accounts with one click or ⌘S from the menu bar, then restart Claude Code to pick up the new account.
Prompt for your agent
Using the Janus repo at RamitVishwakarma/Janus, explain how to save the Claude Code account currently signed in on this Mac and switch to <target account name>. Report the list of saved accounts and which one is live. Verify that the live account in the menu bar matches the account you switched to.
Caveat. Switching does not affect a Claude Code session that is already running, so you must restart Claude Code to use the new account.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for RamitVishwakarma/Janus and "Switch between Claude Code accounts in one click"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer