Multiple accounts per provider
Models and providers
A provider can have several instances, each with its own login. Codex instances that share a CODEX_HOME and use a shadow home can continue the same threads. Claude instances use separate CLAUDE_CONFIG_DIR folders and stay isolated from each other.
T3 Code docs: providers codexproviders claude
What it’s for
Keeping work and personal accounts side by side and switching between them from the thread's model picker.
T3 Code docs: providers codex
How to use it
For Codex, sign the second account into a fresh directory on the environment's machine: run mkdir -p ~/.codex_personal, then CODEX_HOME=~/.codex_personal codex login.
T3 Code docs: providers codex
Add a second Codex instance with CODEX_HOME set to ~/.codex and Shadow home set to ~/.codex_personal. Do not fill the shadow directory by copying your whole Codex home.
T3 Code docs: providers codex
For Claude, run CLAUDE_CONFIG_DIR=~/.claude_personal claude auth login. Then add a Claude instance whose CLAUDE_CONFIG_DIR path is that folder.
T3 Code docs: providers claude
Check the account each instance reports in provider settings, then pick the account you want from the thread's model picker.
T3 Code docs: providers claudeproviders codex
Theo’s tips
Theo routes his Claude usage through a CLI proxy. He says he doesn't recommend juggling multiple accounts directly in T3 Code, and that he won't be held responsible if doing so gets an account banned.
…said, I didn't notice these problems because I've been routing through CLI proxy anyways, which already applied things like this to prevent this issue. So, again, if you wanted to have multiple accounts or manage all of that, I don't recommend doing it in T3 code directly.
With several subscriptions, Theo suggests something like CLI proxy. To stay inside T3 Code, add multiple instances of the same provider with different auth, home directories, API keys, and env vars. He does this to rotate accounts.
…want to do it all within T3 Code, you can actually add multiple instances of the same provider and give them different auth, different home directories, different API keys and environment variables, and more, which has been incredibly helpful for me as I rotate between accounts and I'm testing…
What’s changed
- You can sign in to different Google accounts across Antigravity provider instances without affecting other instances.Updated Nov 20
- T3 Code now warns before you add a second Claude or Codex account.Updated Oct 27
Unofficial notes. Not affiliated with Theo or t3.gg.