Six tenants, one lease
Work, personal, client. Each profile holds its own Claude, Codex, Grok, Cursor, opencode and Muse login. Switch them all at once, or one lab at a time. A macOS menu bar app and a small CLI.
One profile
Six labs
One switch
01 · The model
agents use Work moves Claude, Codex and Grok in one step. Doing it by hand is six separate logins and a memory test you'll eventually fail.
~/.n2-agents/ Work/ claude/ → CLAUDE_CONFIG_DIR codex/ → CODEX_HOME grok/ → GROK_HOME Personal/ claude/ codex/ Client/ claude/ codex/ grok/
Each slot is a real config directory, so two profiles can be signed in to the same lab at once.
claude-work, codex-personal and grok-client are executables on your PATH, so editors, GUI apps and scripts can call them. Shell functions can't do that.
agents adopt symlinks your existing claudes profiles into place. Nothing is copied, so nothing has to log in again.
02 · Isolation
Every supported lab reads its config directory from an environment variable. We checked each one against the shipped binary, because the docs and the binary don't always agree.
Each command starts with its profile's config dir in the environment, so the process is pinned to that profile for as long as it runs.
Run claude-work and claude-personal at once. Each is signed in to its own account.
agents use Personal changes what the next command opens. Anything already running keeps the profile it started with.
Muse keeps its sign-in in one keychain item whatever XDG_CONFIG_HOME says, so every profile but Default runs it with a file credential backend and keeps the login in its own slot.
04 · The CLI
agents does the work. The menu bar just reads it. Tab completion ships for zsh, bash and fish.
05 · Supported labs
| Lab | CLI | Config home | Isolation | Desktop app | Usage API | Sessions |
|---|---|---|---|---|---|---|
| Claude | claude | ~/.claude | ENV | an instance per profile | YES | YES |
| Codex | codex | ~/.codex | ENV | an instance per profile | YES | YES |
| Grok | grok | ~/.grok | ENV | — | WEEKLY | — |
| Cursor | cursor-agent | ~/.cursor | ENV | — | — | — |
| opencode | opencode | ~/.config/opencode | ENV | — | — | — |
| Muse | muse | ~/.config/muse | ENV | — | ON DEMAND | — |
06 · Move in
curl -fsSL https://raw.githubusercontent.com/noisyneighborstudio/n2-agents/main/install.sh | zsh