personal
gmailcodex
work
acmegemini
Switching respects the group
Each profile belongs to a single context, and automatic switching only looks for accounts inside it.
Alpha, closed access
troka organizes your Claude Code, Codex and Gemini CLI accounts on your Mac. Keep work and personal apart, see how much each account has used and run two at the same time.
macOS today. Linux and Windows later.

What do you want to learn?
Orders test
claude · ana@acme.com
Try it: a simulation with made-up data, saved only in this tab. The real app is currently in Portuguese. ·
WORKS WITH
On Claude, the step after Pro is Max, with 5 times the usage at 5 times the price. There is no individual 2x or 3x plan. Two Pro subscriptions of your own fill that gap, and troka handles the switching.
Proone plan
$20/mo
2 Pro accountswith troka
$40/mo
3 Pro accountswith troka
$60/mo
Maxone plan
$100/mo
Each account has its own usage window, and the session moves from one to the other. The whole conversation comes back, but the prompt cache starts over on the new account. Usage is relative to one Pro plan; monthly USD prices from claude.com/pricing as of December 2026. Before stacking subscriptions, read what the terms say.
By default, Claude Code, Codex and Gemini CLI work with one login at a time. With troka, you sign in to each account once and can run two side by side.
$ claude # your default account$ claude --as acme # your work one, at the same time$ codex --as ana-personal # works for Codex and Gemini$ troka usage # usage and limits for all of them
Already using CLAUDE_CONFIG_DIR to separate accounts? It's the same mechanism, without managing the folders by hand.
If you have a work account and a personal account on the same Mac, you don't want to spend one when you meant the other.
personal
gmailcodex
work
acmegemini
Each profile belongs to a single context, and automatic switching only looks for accounts inside it.
$ troka group create client \ ana@client.com --no-auto ● client · Team 🔒 ses 4% · wk 9%
A group with auto turned off neither hands off nor receives sessions. Its quota is only spent when you ask.
troka never copies a token from one account to another. For Claude, the login lives in the Mac Keychain, never in a file.
Login, quota, plan, organization policies on Claude, and the group where automatic switching looks for accounts.
History and settings across Claude accounts, and across Gemini accounts, even in different groups. If your company requires that data to be isolated, troka doesn't do that today.
You keep typing claude, codex or gemini. troka takes care of which account is underneath.
In Claude Code, the session goes to the account in the group that already has a usage window running and still has room. Want another? -i opens the menu, --as goes straight to it.
$ claude -iWhich account for this session? 1) ana@acme.com Team · work 🔒 ses 8% · wk 10% 2) ana@studio.dev Pro · personal→ 3) ana@gmail.com Pro · personal ses 19% · wk 5% ★(this session only, the default account stays the same)
When an account gets close to its limit, troka points to another one in the same group. In Claude Code, an idle session restarts with --resume and the whole conversation comes back.
session 91%
session 5%
messages on the first accountsame conversation on another
The restart works from one Claude account to another. When the target is Codex or Gemini, troka changes the default and tells you, and the open session stays where it started. In a mixed group, this can happen even when another Claude account still has room.
Troka Chat is native, built in SwiftUI, and talks to each CLI through its own protocol.
Each tool keeps its native session inside the same conversation.
Percentage of the context window on every turn, for Claude and Codex.
Allow or deny what the agent asks for, without going back to the terminal.
Drag a file into the conversation, or stop a turn halfway.
Projects grouped by folder in the sidebar, with search.
Imports the Claude Code and Codex conversations you started in the terminal.
TrokaBar sits in the menu bar and shows the state of your Troka Chat conversations and your Claude Code terminal sessions. One click takes you to the app, or to the exact Terminal or iTerm2 tab.
troka status --watch shows the same picture.
Troka
1 waiting for you · 1 working
alpha · in testing
A local cousin of /rc: see and type into your Claude Code sessions from the browser, on a panel running on your Mac.Still in testing: how it works and what it does will probably change.
orders-api
ana@acme.com · 5min
personal-site
ana@gmail.com · 1h
docs
ana@studio.dev · 2h
> fix the orders test● Reading orders.test.ts● Editing orders.ts✓ 14 tests passed>
Sessions from every account on this Mac, side by side, without hunting for the right terminal tab.
The session stays alive and you pick it up in the browser.
What you type in the browser shows up in the terminal.
$ brew install dtach ttyd$ claude --web # this session only$ troka web --enable-default # every new one, on this Mac→ the panel opens at http://127.0.0.1:7680
| Criterion | troka panel | Remote Control (/rc) |
|---|---|---|
| Route | Straight to your Mac, on 127.0.0.1 | Through Anthropic's servers |
| Accounts | All of them on this Mac, together | The account you're logged into |
| What you see | The terminal itself | The claude.ai and Claude app interface |
| From your phone | Only if you set up Tailscale or an authenticated tunnel | Directly, via the app or claude.ai/code |
| Closing the terminal | The session stays alive | The session goes offline |
| Requires | dtach, ttyd and a session started with the panel | A claude.ai subscription |
| Maturity | Alpha, in testing and subject to change | Official feature |
Applies to sessions opened after you turn it on. The link gives full control of the session: never expose the port to the internet.
The base folder can live on an external SSD, and it works on any Mac you plug it into.
Without troka
gmail
acme
studio
With troka
shared
gmail
Keychain login
acme
Keychain login
studio
Keychain login
Claude Code, Codex and Gemini CLI can sit in the same group.
History, sessions, settings, CLAUDE.md, plugins and MCPs shared across accounts.
Shows account, plan and usage without hitting the network. With no recent reading, it shows no number.
You sign in to each account once on each Mac, and no token is copied.
When you open another tool in the same project, troka carries over recent messages and the Git state.
What's in the shared folder is projected into Codex's and Gemini's native formats, where there's an equivalent.
troka doctor --fix tests every login and redoes only the ones that failed.
$ claude --as acme --continue # another account, same conversation$ troka add new@account.com # creates the profile and opens login$ troka usage # usage and limit per account$ troka bar install # turns on the menu bar app$ troka gui # opens Troka Chat
Not yet. troka is in alpha and has no public distribution. Leave your email at the bottom of the page to hear about it. To try it earlier, write to contato@gulartech.com.
The troka command line is. The Troka Chat app and the menu bar app are currently in Portuguese only. The simulation on this page is translated so you can follow it.
Today it's macOS only, because login depends on the Keychain. The apps require macOS 14 or later. Linux and Windows are planned, with no date.
Each CLI is still the engine, installed by you. troka uses those CLIs, picking the account and organizing the configuration.
Only partly, because native histories aren't interchangeable. In the terminal, a handoff carries recent messages and the Git state. In Troka Chat, the first switch opens a new session; when you go back to an existing one, it gets a summary of what it missed.
The menu bar shows Troka Chat conversations for all three tools; in the terminal, only Claude Code sessions. Status line, account choice at launch, automatic restart, browser access and web panel exist only for Claude Code. Gemini doesn't report context usage, and it's the least tested in Troka Chat.
No. They are two separate quotas, each with its own window. A session uses one account at a time, and moving between them restarts the session when it's idle.
The Claude Code documentation describes how to keep several accounts side by side. But Anthropic says advertised limits assume ordinary individual usage and prohibits circumventing restrictions, and OpenAI's terms prohibit circumventing usage limits. Sharing logins is prohibited by both. Read the current terms before stacking quotas: troka does not guarantee that your usage complies.
You can put it in its own group, following your company's policy. Remember that history is shared across Claude accounts, even across groups.
One email when troka is available or goes open source. You can leave the list whenever you like.