Skip to content
CohortDocs

Logins

A login is one agent signed in to one subscription, on one machine. Your own Claude Code subscription is one login; your client’s Claude Code Team seat, signed in beside it, is another. Each thread runs under one login, and you pick which.

Logins exist for separation: a customer’s work runs on the customer’s subscription, your own work on yours, both at once. They are not a way to get more usage. Each subscription’s own terms still apply: check your plan with its vendor.

You find them in Settings → Accounts (⌘, then Accounts, or ⌘K “Accounts”).

Each agent has a main login: the one its CLI already uses on this machine, in its own folder (~/.claude for Claude Code, ~/.codex for Codex). There is nothing to set up. If claude works in your terminal, Cohort’s Claude Code threads work too, as the same account.

The main login is called This Mac (This computer on Windows and Linux) until you name it, with the email the CLI reports under it. It can’t be removed.

Cohort remembers a main login’s name together with the account signed in. Sign the CLI into a different account and the row shows that account (its email, or the name you gave it before), never the old name.

The main login is your CLI’s own sign-in. Signing it in again from Cohort signs in claude or codex in your terminal too.

An extra login is a second subscription of the same agent. Only Claude Code and Codex have them, because they keep their sign-in in a config folder and Cohort can give each extra login a folder of its own.

To add one:

  1. In Settings → Accounts, click Add next to Claude Code or Codex.
  2. A Sign in to Claude Code window opens with a terminal running the agent’s own sign-in (claude auth login, codex login). Sign in there, in your browser, to the other subscription.
  3. Click Done. The new login shows with the email it signed in as.

If the sign-in didn’t finish, the new login is dropped. From the CLI:

Terminal window
cohort login add claude-code --name Acme
cohort login signin Acme

cohort login add prints the login and its folder:

Acme (lgn_rl1c14olj8i0)
agent: claude-code
folder: /Users/you/Library/Application Support/io.bussinbytes.cohort/logins/lgn_rl1c14olj8i0/claude
Sign it in: cohort login signin lgn_rl1c14olj8i0

Other agents (Gemini CLI, Cursor, OpenCode and other ACP agents, terminal agents) have one sign-in per machine, so they have only their main login. Their row has Sign in (or Sign in again) instead of Add, and says “Sign-in unknown: Cohort can’t check it” when Cohort has no way to ask.

Signing in always runs the agent’s own login, the same command you would type yourself, in a Cohort terminal. You sign in to the vendor in your browser, as usual.

Cohort never reads, stores or copies your credentials. The agent keeps its sign-in where it always does (its folder, or the system’s credential store). To know who is signed in, Cohort asks the CLI (claude auth status and the like) and shows what it reports: the email and the plan.

The agent’s binary runs unmodified and as itself. Nothing about it is changed or disguised.

Sign-in runs on the machine the login belongs to. For a login on another of your computers, the row says to sign in on that machine itself.

Everything except the sign-in is shared between an agent’s logins. An extra login’s folder holds its sign-in, and links to your own folder for the rest:

  • settings (settings.json, config.toml), CLAUDE.md and memory, hooks, plugins, agents and skills;
  • your MCP servers and per-project settings in ~/.claude.json (copied in before each session; they hold no credentials);
  • sessions, so every login of an agent sees the same conversations. That is why switching a thread’s login continues the same conversation.

Git, its identity, gh and SSH are never per login: they are yours, or a project’s when it sets them (see Customer work).

To give one login its own settings, replace the link in its folder with a real file. Cohort keeps a real file and never links over it. The harness-settings skill tells agents how to do this for you.

A new thread picks, in order:

  1. the login you chose in New thread (its login chip, beside the branch);
  2. the project’s login for that agent (Project settings, Logins);
  3. the machine’s default for that agent: the row marked In use in Settings → Accounts;
  4. the agent’s main login.

To change the machine’s default, click another login’s row (or its radio) in Settings → Accounts, or run cohort login default <login>. Adding a login never changes a default.

A forked thread keeps its source’s login. A loop picks its login the same way at each run. A thread can switch login later.

Logins belong to their machine: a sign-in never moves between computers, and a thread on another computer picks from that computer’s logins. With several machines, Settings → Accounts has a Machine picker on top.

Click a login’s ⋯ button:

  • Rename: type a name and press Enter. Renaming one login never touches another, nor another agent’s. An empty name goes back to the email (or This Mac, This computer on Windows and Linux).
  • claude.ai connectors (Claude Code): let this login’s threads load the account’s claude.ai connectors (Gmail, Drive, Docs). Off by default: their tools and instructions tend to pull a coding agent off its task. New sessions take the change.
  • Sign in again (or Sign in when signed out): runs the agent’s sign-in again for this login.
  • Remove… (extra logins only): Cohort stops using it. Its sign-in stays with the agent’s CLI in its folder; sign it out there if you want it gone. Removing is refused while a running thread, a project or a loop uses the login, and the message says which.

Privacy mode, the switch at the top right, hides every email in Cohort, for recordings and screen shares.

$ cohort login list
claude-code
LOGIN PLAN ID STATE
* This Mac - lgn_m4bpvo9hd3d9 signed out: cohort login signin lgn_m4bpvo9hd3d9
Acme - lgn_rl1c14olj8i0 signed out: cohort login signin lgn_rl1c14olj8i0
codex
LOGIN PLAN ID STATE
* This Mac - lgn_7cp8s347cjtb signed out: cohort login signin lgn_7cp8s347cjtb
* the default login for that agent on this machine (cohort login default <login>)

The other commands: cohort login rename, signin, default, connectors, remove, status and usage. A login is named by its id or its name; add --agent claude-code when a name is used by two agents. See the CLI reference.

Made by Bussin Bytes© 2026 Bussin Bytes Ltdcohort.bussinbytes.io