npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@kapybara/zerosub

v1.35.0

Published

ZeroSub: use several Claude and ChatGPT (Codex) subscriptions side by side in Paseo. Add accounts in-app, pick one per agent, and switch automatically when an account hits its limit.

Readme

ZeroSub

Use several Claude, ChatGPT (Codex), Grok and Cursor subscriptions side by side in Paseo, without logging in and out of the CLI, and run Paseo's Pi agents on several Anthropic API keys, each with its own proxy.

ZeroSub accounts dashboard showing Claude and ChatGPT (Codex) accounts, usage bars, and Automatic switching toggles

  • Add accounts in the app. Click Add account under Claude or ChatGPT and sign in on any device, including your phone. You don't need a terminal, environment variables or config files.
  • Your existing CLI logins show up automatically. Nothing changes until you add a second account.
  • Pick an account per agent. An account button in the message box shows which account each Claude or Codex agent uses. Tap it to switch. On Paseo 0.16 and later there is also an Account control in the message box itself, there before the first message too, so you can pick the account a new agent starts on.
  • Automatic failover. When an account hits its 5-hour or weekly limit, the agent moves to the account with the most room left and carries on. New agents skip exhausted accounts. A limit of one model's own window (Claude's Weekly · Fable or Weekly · Opus, say) only keeps agents on that model off the account: agents on other models keep using it.
  • Live usage. Each account shows its own 5-hour and weekly usage and when they reset, plus any ChatGPT credits or Claude extra usage. Accounts in use refresh about every minute and after each turn, and a limit shows up the moment it hits.
  • Banked resets. If a provider has banked limit resets on an account, you can use one from the account card or the agent's account button.
  • Temporary Codex Fast mode. Set an end date on the ChatGPT account whose agents should use Fast after a reset. See Codex Fast mode.
  • Set an account aside. Disable an account for a while and its agents move to your other accounts, then come back when you enable it again.
  • Several hosts. Each Paseo host keeps its own accounts, and the Accounts screen says which host you're looking at.
  • Fork to the other provider (optional). When every Claude account is out, a stopped chat can carry on in a new ChatGPT agent, and the other way round. A stopped Claude chat can instead continue on the host's OpenCode.
  • Grok accounts. Sign in several Grok (SuperGrok, X Premium+) accounts for Paseo's Grok agents and pick the one each new agent starts on. See Grok accounts.
  • Cursor accounts. Sign in several Cursor accounts for Paseo's Cursor agents (cursor-agent) and pick the one each new agent starts on (Linux only for now). See Cursor accounts.
  • Azure OpenAI accounts. Add an Azure OpenAI key under ChatGPT (Codex) and pick it for an agent or make it the default. ZeroSub only moves work onto it by itself if you turn that on, and then only when every ChatGPT subscription is out (after a banked reset, if you let ZeroSub spend those). See Azure OpenAI accounts.
  • AWS Bedrock accounts. Add Claude Code on Amazon Bedrock under Claude, with the host's own AWS credentials, a profile or an access key, and pick it for an agent or make it the default. ZeroSub only moves work onto it by itself if you turn that on, then only when every Claude subscription is out (after a banked reset, if you let ZeroSub spend those), and back once one has room. See AWS Bedrock accounts.
  • Pi accounts. Add Anthropic API keys for Paseo's Pi agents, each with an optional base URL and its own proxy, and pick one per Pi agent. See Pi accounts.
  • Everything else stays the same. Every account shares your settings, skills, plugins, MCP servers, CLAUDE.md/AGENTS.md and conversation history.

Install

Requirements:

  • Paseo 0.9.1 or later, with plugins enabled (Settings → Plugins → Enable plugins).
  • The claude and/or codex CLI installed where the daemon runs, the same ones Paseo already uses. For Grok accounts, the grok CLI and a Grok provider in Paseo (see Grok accounts); for Cursor accounts, Linux, cursor-agent and a Cursor provider (see Cursor accounts).

In the app, open Settings → Plugins, paste npm:@kapybara/zerosub as the plugin source, and install. Or, on the daemon host:

paseo plugin install npm:@kapybara/zerosub
# or straight from GitHub:
paseo plugin install github:kapybara-org/zerosub

Then open Accounts (ZeroSub) in the sidebar.

Use it

  1. Open Accounts (ZeroSub) in the sidebar. Your current Claude Code and Codex logins are already listed.
  2. Click Add account under Claude or ChatGPT (Codex), then Open sign-in page, and sign in with the other account.
    • In a browser on the host's own computer, the page finishes by itself.
    • Anywhere else, choose Use a code instead. For Claude, paste the code shown after sign-in. For ChatGPT, type the code shown in Paseo on the page. Phones, and hosts without a desktop (servers, containers, daemons started over SSH), start with the code.
    • Members of the same ChatGPT Team or Business workspace can each be added; ZeroSub tells them apart by email. If Codex doesn't return one, ZeroSub won't add a second account from that workspace or sign one of its members back in.
  3. Choose which account agents use:
    • Make default: new agents, and agents that follow the default, use it. Open Claude agents switch right away, busy ones after their turn.
      • To leave open agents where they are, turn off Move open agents when the default changes (in Accounts, or Settings → Plugins → zerosub → ZeroSub preferences). Each open agent that follows the default then stays pinned to the account it's using, even after it reopens, unless that account is signed out, disabled or at its limit. New agents, and agents that aren't open at the time, use the new default.
      • A kept agent still switches when its account hits a limit. To move it to the new default, choose Follow default from its account button, or type /account default.
    • The account button in an agent's message box: moves that one agent. Its tooltip, and on a phone the heading of its menu, start with the provider and the account, for example Claude account: work, so a Claude and a ChatGPT account with the same name can't be mistaken for each other. While a move is under way it names both accounts, for example personal → work: the agent still runs on the first until its session reopens, and the button's tooltip says when that happens (once it's idle, when its turn ends, once background work it left running stops, or when its session next starts). If the reload doesn't work, the button says why and the agent's timeline notes it.
    • With automatic switching on, an account at its limit can't be picked for an agent: the agent would only move straight off it again. Pick another one, or press Mark as available again on the account's card if it has room. An account at the limit of one model's window (such as Weekly · Fable) is refused only for agents on that model, with a message saying so; agents on other models can pick it.
    • /account work in the message box, or /account default to follow the default again.
    • ⌘K → "Make … the default".
    • Disable for now (the pause button on a card): the account stays signed in but ZeroSub stops using it. Its agents move to your other accounts right away (busy ones after their turn) and come back when you press Enable. ChatGPT conversations already on it stay, since they can't change accounts. You can't disable the last usable account of a provider.
  4. Leave Automatic switching on (in Accounts, or Settings → Plugins → zerosub → ZeroSub preferences) and limits take care of themselves:
    • Only the CLIs' own limit notices trigger a switch. That covers Claude Code's "You've hit your 5-hour limit · resets 3pm" ("session limit" before Claude Code 2.1.312) and Codex's "You’ve hit your usage limit…". Claude Code's per-model notices ("You've hit your Fable limit", "You've reached your Fable 5.2 limit") are read too, but they limit that model only: the agent moves to an account that can run its model, idle agents on other models stay where they are, and the account stays available for every other model until the model's window resets.
    • Paseo 0.13 and later no longer send the finished turn to plugins, so ZeroSub reads that turn from the agent's timeline instead.
    • A short note in the agent's timeline says what happened.
    • With Keep going after a switch on, ZeroSub then sends the agent its follow-up message, unless you've written to it or archived it since the limit stopped it: the follow-up would cut your new turn short.
    • An agent that hits a limit while it's waiting to move to an account you picked moves there, rather than to whichever account has the most room.
    • As a safety stop, one agent changes accounts at most 4 times in 10 minutes. If it hits that, its timeline says so; pick an account from its account button to carry on.
    • An exhausted account is skipped until it resets. If you know it has room again sooner, for example after upgrading or buying credits, press Mark as available again (the check mark) on its card. For ChatGPT credits, see ChatGPT credits.

Choose accounts for new agents

Turn on Spread new agents across accounts to select an account from its usage. For ChatGPT agents, ZeroSub prefers an account when its weekly limit resets within one day and both limits have at least 20% left. Usage for every available account must be complete and less than 30 minutes old. Otherwise, and always for Claude agents, ZeroSub paces the accounts. It projects each account's 5-hour use an hour ahead from how fast it has used its current window, and adds 10% for each agent it placed there in the last 10 minutes, since readings lag behind new agents. It also compares weekly use with how much of the week has passed. An account projected to reach 80% of its 5-hour window, or already there, ranks behind every account that isn't. So does an account that has used 90% or more of its week (its menu says Week nearly used), until that week resets. Among the rest, each account counts by the higher of its two figures, and the account with the lowest wins, so new agents use weekly room that would otherwise expire and avoid accounts running ahead of their week, and accounts don't all run out together. An account whose window has reset since its last reading counts by what it has left. While this is on, automatic switching picks the account to move to the same way. While it's off, switching picks the account with the most room, and an account at 80% of its 5-hour window ranks behind any under it. When a near weekly reset was the reason, the agent's account says so: Weekly reset was near beside the account in the Account control's list, or Started here: weekly reset was near in the account button's menu where there is no control. Otherwise, existing agents stay on their accounts.

With Automatic switching on too, ZeroSub also moves Claude agents that have been idle for an hour or more off an account projected to reach 80% of its 5-hour window. They go only to an account with room in both windows that stays under 80% of its 5-hour window with them and has used under 90% of its week. A pass moves at most 3 agents, and the next reading moves more. Agents used within the last hour stay put, and so do agents idle for more than a day. Their next turn would cost more on another account, which has none of the conversation cached yet. Agents you put on an account yourself stay too, and so do ChatGPT agents, since their threads can't change accounts.

The Account control in the message box

On Paseo 0.16 and later, the message box of an agent that doesn't exist yet has an Account control, named for the agent's provider (Claude account, ChatGPT account and so on): in a new agent's tab and on the New workspace screen. Both the app and the host need Paseo 0.16: the choice travels in the new agent's metadata, which an older host doesn't take, so with one the control isn't shown. Like the account button, it shows once the provider has more than one account, and the account button's preference turns it off too.

  • The first choice names no account, and says where the agent starts then: on the default, on the account picked for the next new agent, or, as Automatic, on the account with the most room (with Spread new agents across accounts on, or when the default can't take a new agent).
  • Any other choice starts this one agent on that account and keeps it there, as if you had picked it from the agent's account button. It outranks spreading and the next-new-agent pick, which waits for an agent that names no account.
  • Only accounts that can take a new agent are listed: none that are signed out or disabled, and none at their limit while automatic switching is on. If the chosen account can't take the agent by the time you send the message, the agent starts where it would have without a choice.

Once the first message is sent, the control stays where it is and shows the agent's account the way the account button does. Off a phone, in a browser or the desktop app, it is the account button itself: the same pill, with the account icon, the usage like 5h 71 · 7d 66 and a chevron, and the same tooltip on hover, which opens the account button's own menu just above it: each account's name and state, its usage and how long until each window resets on a second line, and the same entries and confirmations. Paseo's own lists put an entry on one line, too narrow for that. In Paseo's phone and tablet apps, on a phone, and in the sheet the model's name opens when the window is too narrow for the control, it's a list that says the usage, like 5h 71 · 7d 66, with each account's usage beside its name. Choosing another account there moves the agent, as the account button's menu does, and its last entries go back to the default and open the Accounts screen. Where the message box is too narrow for the control (on a phone, or in a narrow window), Paseo hides it under the model; the account button above the message box then shows instead, with the agent's usage, so the account shows once either way. Each control checks whether it's on screen whenever it's laid out (as its tab comes into view or leaves it) and every half second, so the button comes and goes as you switch tabs or resize the window. The phone and tablet apps can't tell, so there the button always shows: a phone's message box has no room for the control anyway, and on a tablet both show. The account button also shows, control or not, for what needs a confirmation, which the control can't ask for: when the agent's account is at its limit and there's a way out to offer, and, for a Claude agent on a host that has OpenCode, to keep Continue on OpenCode within reach.

To have the button step back whenever the control is in the message box, as before, turn off Show the account pill where the Account control doesn't fit (in Accounts, under Composer, or Settings → Plugins → zerosub → ZeroSub preferences): the control then shows the account's name, and the button steps back for it even where it's hidden.

  • An agent from before this version gets the control once its session next opens (your next message to it, usually).
  • To find its agent, the control reads the agent's ID from the agent's metadata (zerosub.agent), which ZeroSub writes as the agent's session opens: Paseo tells a control in the message box nothing else about the agent it belongs to. If that can't be written, the agent has only its account button.

The choice for a new agent travels in its metadata as zerosub.account, holding the account's ID as in $PASEO_HOME/zerosub/state.json. Anything that creates an agent can set it, for example paseo.agents.create({ …, metadata: { "zerosub.account": "claude-main" } }). ZeroSub reads it once, when the agent is created.

Pick the account for the next new agent

A new workspace has no agent yet, so its message box has no account button, and before Paseo 0.16 no Account control either. To choose the account of the agent you're about to start there, or of one started from the CLI, another agent or a schedule, use ⌘K → "Next new … agent: use …" or the plus-square button on an account card. The pick goes to the next new agent of that provider this daemon opens, wherever it's started: from any device, the CLI, another agent or a schedule. That agent opens on the picked account, even with Spread new agents across accounts on, and new agents after it follow the default again. If by then the account can't take new agents (signed out, disabled, or at its limit with automatic switching on), the pick is used up anyway and the agent starts where it would have without one. Removing, disabling or signing out the account cancels the pick, and a pick no agent takes expires silently after 10 minutes. It doesn't affect agents that already have an account, resumed conversations, background agents, or Paseo's own helpers that write branch names, commit messages and PR text. Choose it again to cancel.

Claude vs. ChatGPT when switching mid-conversation

  • Claude: a conversation moves to another account in place. The agent reopens on the new account with its full history and continues.
  • ChatGPT (Codex): Codex encrypts its reasoning per ChatGPT account, so another account can't read an existing thread. The thread stays on its account. When it hits a limit, or you pick another account for it, ZeroSub carries the task on in its tab for the other account: a continuation agent in the same workspace, created on the first visit and reused after that. Switching A → B → A → B keeps two tabs, not four. Independent tasks keep separate tabs, even in the same workspace.
    • A tab you return to gets the instructions and progress since it was last used, and checks the current files and Git diff before going on. Very long instructions are shortened, keeping the first one since the tab was last used (the original request, for a new tab), the latest ones and a note of how many were left out.
    • You can type in any of a task's tabs and switch from any of them. The tab you used last is where the task continues: automatic switches and resets only move that tab, and another tab that hits a limit says in its timeline where the task went.
    • A tab is reused while it is in the same workspace with the same account and permission mode; otherwise ZeroSub starts a new one. While one of the task's tabs is working or asking for permission, a switch you pick is refused until it stops, and an automatic switch leaves the task where it is and says so in its timeline.
    • A sub-agent (one another agent started) keeps its parent: its new tab goes under the same agent, or under the tab where that agent's own task now continues. Like the first tab, it's archived with the parent and sends no notifications of its own. Paseo doesn't tell the parent when the new tab finishes, though: it only reports to an agent on agents it started or prompted itself.
    • ZeroSub never sends a hand-off twice. If a lost connection leaves one unconfirmed, the switch stops and names the tab to check. Continuation agents from earlier versions are picked up on the first switch. New Codex agents simply start on the chosen account.

Keep a Codex chat in the same conversation (optional)

Off by default. Turn on Keep a Codex chat in the same conversation for two ChatGPT accounts that are members of one workspace (chatgpt|<workspace>|<email>). A usage limit then reloads the same agent on the other account. That tab is the only one writing the thread: ZeroSub does not resume it from a second tab. Before the reload, it checks that the other account's home links sessions/ to the same session directory. A plain sessions folder does not count. On Windows a failed junction is only a warning, and that account keeps the new tab.

These still open a new tab:

  • the option is off
  • the accounts are in different workspaces
  • an account is known only as chatgpt-email|…
  • the limit says the workspace is out of credits
  • the other home does not link sessions/
  • the first turn after the switch fails because the thread cannot be decrypted or resumed (invalid_encrypted_content, organization_id mismatch)

That last failure puts the agent back on the previous account, in the same write as its continuation record, and opens today's continuation tab.

On 2026-11-15, my fork continued one conversation from member A to member B of the same workspace on macOS 27.0.1 with Codex 0.167.0. That hop was a workspace credit limit, which this option still opens in a new tab. The run did not cover a second workspace or an email-only identity.

Share MCP sign-ins between Claude accounts (optional)

Off by default. Claude Code keeps MCP servers' OAuth sign-ins (Linear, Notion, …) per Claude account, so an agent moved to another account finds those servers asking for a sign-in again. Turn on Share MCP sign-ins between Claude accounts and a server you sign in to on one Claude account works on the others too. Leave it off when your accounts sign in to the same server as different people (a work Linear on one, a personal one on another): with it on, they'd all end up with whichever sign-in is newest.

  • Claude Code keeps these sign-ins in .credentials.json, under mcpOAuth, beside the account's own sign-in. Every 30 seconds ZeroSub copies each server's entry between your CLI login and each added Claude account, whichever way it's newer: it holds a token and the other doesn't, or both have an expiry and it expires later. So a sign-in or a token refresh on any account reaches the others within a minute. A token saved without an expiry (the server didn't give one) only goes to accounts that have no token for that server.
  • It writes under Claude Code's own lock on that file (.storage-write.lock), reading the file again under it, and changes only mcpOAuth. The account's own Claude sign-in is never copied or changed, and an account that isn't signed in gets no .credentials.json.
  • A server it just brought in is dropped from that account's mcp-needs-auth-cache.json, so a new session uses it at once. A session already open may need /mcp to reconnect.
  • Signing out of a server on one account signs every account out of it. Claude Code revokes the tokens with the server, and they're the same tokens on every account; sign in again on any account and the new sign-in reaches the others. Signing in to a server again on one account revokes the old tokens too, so the other accounts can't use the server until the new sign-in reaches them.
  • Accounts holding the same token tend to refresh it together, near its expiry. With a server that replaces its refresh token on every refresh, one of them can be left with a spent token and need /mcp again; a server that treats a reused refresh token as stolen may sign every account out of it.
  • Turned off, nothing more is copied, and sign-ins already copied stay where they are.
  • Not on macOS, where Claude Code keeps these sign-ins in each account's Keychain entry, nor on Windows where it uses Credential Manager: only a .credentials.json file is read or written.

Banked resets

Some plans come with banked limit resets: ChatGPT's reset credits, and Claude Code's limit resets. When an account has any, its card shows how many are banked and when they expire, with a Use reset button. When an agent is stopped by a limit, its account button offers the reset too, and the agent carries on afterwards.

  • A reset can't be undone, so ZeroSub always asks first and says what it refills. Asking again while one is still being used, or within five minutes of one, doesn't spend another.
  • ChatGPT uses Codex's own reset-credit API, the same one as /usage → reset in the Codex CLI. It never spends a credit while nothing is used up.
  • Claude uses Claude Code's limit-reset endpoint. Anthropic decides which accounts get resets; so far it reports the tested accounts as not eligible, so the button may not appear for Claude. It shows up by itself once an account has a reset.
  • Use banked resets when every account is out (off by default) spends one automatically, but only when every account of that provider is at its limit and the provider confirms the limit at that moment.

Codex Fast mode

On Paseo 0.16 or later, open the ChatGPT subscription account's actions in Accounts (ZeroSub) and choose Fast mode. Enter a date in YYYY-MM-DD form. It includes the whole date in UTC. Use Clear to end it early. Each login has its own date, so you can opt in just the account that received a banked reset or an offer.

ZeroSub enables Fast on models whose Paseo speed control offers it. It checks the account's latest usage first. Fast pauses at 90% weekly usage, when another account-wide window is full, when a quota ceiling is reached, or when current usage is unavailable. It can resume when a new reading shows room while the date is still active.

Paseo applies the speed to new agents when the possible routes agree. When those routes differ, ZeroSub uses the account the agent opens on. The first turn may start at Standard in that case. Open agents take the new speed on their next turn after the update. At expiry or when you clear the date, ZeroSub restores Standard on agents it switched to Fast. ZeroSub changes agents that are at Standard and whose models offer Fast.

Fast usually consumes more of the included allowance per turn. See OpenAI's Fast mode support and usage multipliers.

ChatGPT credits

A ChatGPT account can also have prepaid ChatGPT credits, which Codex spends once the account reaches its limit. They aren't the reset credits above. The card shows them under the usage bars, for example "57,714 ChatGPT credits left", and an agent's account button shows them next to the account's usage.

  • By default, an account at its limit is skipped until it resets, credits or not, so new agents use the free room on your other accounts first. That room is lost at each reset; credits aren't. Mark as available again only lasts until the next usage reading, which still shows the limit reached.
  • Use ChatGPT credits when a limit is reached (off by default; in Accounts, or Settings → Plugins → zerosub → ZeroSub preferences) keeps an account with credits in use at its limit. New agents may then spend paid credits even while another account still has room.
  • Even with it on, a limit an agent actually ran into stays until it resets: Codex stopped that agent, so the credits didn't cover it.

Claude extra usage

When a Claude account has extra usage turned on (pay-as-you-go past the plan's limits), its card says so under the usage bars, with this month's spend and cap when Anthropic reports them, for example "Extra usage on · $12.34 of $50.00 this month". This is for information: ZeroSub still treats a full window as a limit and switches the same way.

When every account of a provider is out

ZeroSub tries these in order, and a timeline note says which one happened.

  1. Use a banked reset, if you turned on Use banked resets when every account is out.
  2. Move to a paid API account with room, if you turned on Use paid API accounts when every subscription is out: an Azure OpenAI account for a ChatGPT agent; an AWS Bedrock account or a Claude account on an API key or token to Anthropic's own API (not one for another endpoint, which is used only when you pick it) for a Claude agent, as it would to another account of its provider. A free reset always goes first: these are billed per use. A Claude agent moves back once a subscription account has room. Pi accounts never stand in.
  3. Fork the chat to the other provider, if you turned on When every account is out, fork the chat to the other provider (off by default). A stopped Claude chat continues in a new ChatGPT agent, or the other way round:
    • The new agent opens in the same workspace (under the same parent, for a sub-agent) with the conversation so far and goes straight back to work. If that conversation began as a hand-off itself, only the start and end of the earlier one are quoted. It uses the other provider's default model and its account with the most room left.
    • OpenCode instead: in the settings under the fork switch, Fork a stopped Claude chat to can point at OpenCode rather than ChatGPT. A stopped Claude chat then continues on this host's OpenCode, using the model and thinking option picked there from OpenCode's catalog (or the host's default when the host marks one). OpenCode is a harness, not an account provider: the fork uses no ZeroSub account, and nothing is added to your accounts. If the saved model or thinking option is no longer in the host's catalog, the fork is refused with a note rather than falling back to another model.
    • On ChatGPT the fork gets a mode no looser than the original's. Bypass becomes Full Access, and Accept File Edits becomes Default Permissions. Codex has no read-only or ask-first mode, so a Claude agent in Plan Mode or Always Ask isn't forked to ChatGPT. On OpenCode the fork gets Plan (for a Claude agent in Plan or Default mode) or Build, under the host's own permission policy, where Build edits files and runs shell without asking. That can allow more than the original's Claude mode; hosts that want it tighter can restrict permissions in their opencode.jsonc. Choosing OpenCode as the destination is the opt-in.
    • The original agent stays as it was, and prompting it again while its provider is still out points to the same fork rather than starting another.
    • With the option off, a stopped agent's account button offers Continue on ChatGPT (new agent)… (or Claude) instead, with a confirmation.
    • By hand, a stopped Claude chat can also continue on OpenCode at any time: its account button offers Continue on OpenCode (new agent)…, with or without the automatic fork turned on, using the OpenCode model and thinking option picked in the settings.
  4. Stop and say so, with the time the account frees up.

Azure OpenAI accounts

A ChatGPT (Codex) account can also be an Azure OpenAI resource with its API key: Codex agents then run on your Azure deployments, billed per token by Azure, and ZeroSub manages the account like any other.

Add one. Under ChatGPT (Codex), click Add account → Azure OpenAI (API key) and enter:

  • Name, as for any account.
  • Endpoint: your resource's v1 API, https://<resource>.openai.azure.com/openai/v1. It must be https://. A trailing slash is dropped, and a bare resource URL (or one ending in /openai) gets /openai/v1 added.
  • API key: Key 1 or Key 2 of the resource.

There's no sign-in. ZeroSub checks the key by listing the endpoint's models (GET {endpoint}/models with an api-key header) from the daemon, only when you add the account or change its endpoint or key. A refused key (HTTP 401/403) isn't saved. If the endpoint can't be reached, or answers otherwise, the account is saved anyway and a warning says so. The key button on its card changes the endpoint, the key (empty keeps it; a new endpoint needs the key typed again) and the price table. Removing the account deletes its home, key included, and its token counts. Like any ChatGPT account, it can't be removed while ChatGPT conversations still run on it.

Models. Your Azure deployments must be named after the models (gpt-5.1-codex, say): the model Paseo picks for the agent is sent as the deployment name, unchanged.

When it's used. It's billed per use, so by default ZeroSub never moves work onto it by itself, like any API-key account:

  • Pick it for an agent (the account button, /account <name>, the next-new-agent pick), or make it the default; then new agents start on it.
  • Automatic choices (failover at a limit, Spread new agents across accounts, a default that's out, Fork the chat to the other provider) skip it.

Turn on Use paid API accounts when every subscription is out (off by default; in Accounts, or Settings → Plugins → zerosub → ZeroSub preferences) to let it take over as a last resort:

  • Automatic choices then use it only when every ChatGPT subscription account is at its limit, disabled or signed out. A ChatGPT agent that hits its limit first spends a banked reset if Use banked resets when every account is out is on and one can be spent; otherwise it carries on in its continuation tab on Azure, as it would on another ChatGPT account, and its timeline says it moved to Azure OpenAI, a paid API, because every subscription account is out. A stopped Claude chat forked to ChatGPT (Fork the chat to the other provider) can likewise land on Azure when no ChatGPT subscription has room, and its note says so; a fork to OpenCode uses no ZeroSub account, so Azure plays no part there.
  • With Use banked resets when every account is out on too, a new ChatGPT agent (a fork from Claude included) opens on a subscription account at its limit rather than on Azure when that account's latest reading shows a banked reset it can use now, so its first turn spends the reset. Only when no reset can be spent does a new agent start on Azure.
  • Once a subscription account has room again, new agents go back to it. Agents already on Azure stay there, like any ChatGPT conversation.

Either way, Azure has no 5-hour or weekly limits, so the account counts as available unless Azure turns a turn down. A rate limit (HTTP 429) sets it aside for a minute, or for as long as Azure's "retry after" says (10 minutes at most); an exhausted quota (insufficient_quota) for 30 minutes. Only a failed turn is read for these: a turn that finished can carry another service's errors in its warnings (an MCP server's "HTTP 401 Unauthorized", say), and they never touch the account. When a failed turn looks like a refused key (401/403), ZeroSub asks Azure about the key first, and marks the account signed out until you fix the key only if Azure refuses it too; if Azure can't be reached to ask, the account is left as it is.

Where the key is. Only in the account's home, $PASEO_HOME/zerosub/homes/codex-<id>/azure.json (with the endpoint and prices), readable only by you. Unlike Claude and Pi accounts' folders, an Azure account's home stays in homes/, managed by ZeroSub: it's never moved out or given a terminal script, and removing the account deletes it, key and all, once no open agent uses it. (A folder that's signed in already is for Claude Code folders: to add an Azure account back, enter its key again.) azure.json is never linked into or out of any Codex home. The registry marks the account as Azure and keeps a short hash of the key, to spot the same key added twice; the app only ever gets its last four characters; ZeroSub never logs it.

How it runs. The home is a Codex home like any added account's: sessions, AGENTS.md, skills and the rest are links to ~/.codex, and there's no auth.json. Its config.toml is its own: a copy of ~/.codex/config.toml with model_provider = "zerosub_azure" put first (a top-level model_provider there is taken out) and this table added at the end:

[model_providers.zerosub_azure]
name = "Azure OpenAI"
base_url = "https://<resource>.openai.azure.com/openai/v1"
env_key = "ZEROSUB_AZURE_OPENAI_API_KEY"
wire_api = "responses"

It's remade whenever ~/.codex/config.toml has changed, checked each time a session opens on the account. When Paseo opens a session there, ZeroSub sets CODEX_HOME to the home and ZEROSUB_AZURE_OPENAI_API_KEY to the key, read from azure.json right then; Codex sends it as Authorization: Bearer, which Azure's v1 API accepts.

Usage. In place of usage bars, the card shows the tokens used this calendar month (UTC): input (with how much of it was cached) and output, and an estimated cost. At the end of each turn on the account, ZeroSub reads the agent's Codex session file (~/.codex/sessions/…/rollout-…-<thread>.jsonl) and adds what the thread used since it was last counted. Totals are kept by model in $PASEO_HOME/zerosub/api-usage.json and start again each month. The cost comes from the price table in the account's settings (USD per million input, cached input and output tokens, per model; cached input without a price counts at the input price). With no prices it says "cost unknown". It's an estimate from Codex's own counts, not Azure's bill.

Limitations.

  • A profile in ~/.codex/config.toml that sets its own model_provider still wins over the Azure provider, as it would in Codex. An inline model_providers = { … } table isn't changed. What Codex itself writes to config.toml while running on the account (a project's trust level, say) goes to the generated copy and is lost when it's remade: set it in ~/.codex/config.toml.
  • The key reaches Codex through the session's environment, which Paseo starts the agent with; anything that can read that process's environment can read it.
  • Token counts need the Codex session file. A turn whose file isn't found (a thread whose file is more than 120 days of folders back, or a Codex that keeps sessions elsewhere) is counted as "couldn't be counted", and the card says the totals are short. Turns run on the account from a terminal aren't seen.
  • ChatGPT conversations can't change accounts, so a task that moved to Azure keeps its Azure tab; new agents go to a ChatGPT account once one has room, not that tab.

AWS Bedrock accounts

A Claude account can also be Claude Code on Amazon Bedrock in your AWS account: Claude agents then run on Bedrock, billed per token by AWS, and ZeroSub manages the account like any other.

Add one. Under Claude, click Add account → AWS Bedrock (the same chooser offers a Claude subscription, an API key or token, and a folder that's signed in already) and enter:

  • Name, as for any account.
  • AWS region, as a code (us-east-1, eu-central-1). The form fills it in when the host names one: the daemon's AWS_REGION or AWS_DEFAULT_REGION, the region of its profile in ~/.aws/config (or AWS_CONFIG_FILE), or, on an EC2 instance, the instance's own (IMDSv2). That's looked up only when the form opens, for at most a second and a half, never at startup.
  • Credentials, from one of:
    • Host's AWS credentials: the AWS default chain where the daemon runs (its environment, ~/.aws, an EC2 instance or ECS task role). Nothing is stored.
    • AWS profile: a profile in the host's ~/.aws/config. Only its name is stored.
    • Access key: an access key ID and secret, with a session token for temporary credentials. Stored in the account's home (see below).
  • Models (optional): model or inference-profile IDs for ANTHROPIC_MODEL and ANTHROPIC_DEFAULT_OPUS_MODEL, ANTHROPIC_DEFAULT_SONNET_MODEL and ANTHROPIC_DEFAULT_HAIKU_MODEL, as enabled in your AWS account. Empty ones keep Claude Code's own Bedrock defaults. Claude Code maps Paseo's own model IDs (claude-opus-5-5, claude-sonnet-5-5, claude-haiku-5-5) to Bedrock by itself, but its built-in defaults for the opus, sonnet and haiku aliases can be older than what your region offers (in eu-central-1, sonnet pointed at a Sonnet 4.5 profile the region didn't have). If an alias fails there, fill in the Opus, Sonnet and Haiku models with inference profiles your AWS account has, such as global.anthropic.claude-sonnet-5-5.

There's no sign-in. If the host has the aws command, ZeroSub checks the credentials with it, only when you add the account or change its credentials or region: aws sts get-caller-identity, then aws bedrock list-inference-profiles in the region. Missing, wrong or expired credentials (or a profile that doesn't exist) aren't saved. Without the aws command, offline, or when listing inference profiles is refused, the account is saved anyway and a warning says so; its first turn tells for sure. The key button on its card changes the region, credentials (an empty secret keeps the stored one for the same key ID), models and the price table. Removing the account deletes its home, with its AWS settings (and access key), once no open agent uses it, and its token counts; its agents move to the default account, as from any Claude account.

When it's used. It's billed per use, so by default ZeroSub never moves work onto it by itself, like any API-key account:

  • Pick it for an agent (the account button, /account <name>, the next-new-agent pick), or make it the default; then new agents start on it.
  • Automatic choices (failover at a limit, Spread new agents across accounts, a default that's out, Fork the chat to the other provider) skip it.

With Use paid API accounts when every subscription is out on (off by default; the same switch as for Azure OpenAI accounts, in Accounts or Settings → Plugins → zerosub → ZeroSub preferences), it takes over as a last resort:

  • Automatic choices then use it only when every Claude subscription account is at its limit, disabled or signed out. A Claude agent that hits its limit moves to another Claude subscription account with room first, then spends a banked reset if Use banked resets when every account is out is on and one can be spent; only then does it move onto Bedrock in the same conversation, as it would to another Claude account, and its timeline says it runs on AWS Bedrock, a paid API, because every subscription account is out.
  • With Use banked resets when every account is out on too, a Claude subscription account at its limit whose latest reading shows a banked reset it can use now goes before Bedrock: a new agent opens on it, and an agent already on it stays there when it resumes or the 30-second check runs, so its next turn spends the reset. Only when no reset can be spent does an agent start on, or move to, Bedrock.
  • It isn't pinned there. Once its own account, or another Claude subscription account, has room again (or, with Use banked resets when every account is out on, one has a banked reset to spend), the 30-second check moves it back, and its timeline says so. New agents go back to a subscription account then too. A ChatGPT chat continued on Claude (Fork the chat to the other provider, or Continue on Claude (new agent)… from the account button) that lands on Bedrock is held there the same way: it moves to a Claude subscription account once one can take it. Only an agent you put on Bedrock yourself (picked for it, or Bedrock as the default) stays; when you change the default away from Bedrock with Move open agents when the default changes off, its open agents stay on Bedrock as your pick.

Claude's Auto mode. Paseo won't start a turn in Claude's Auto mode, its default Claude mode, on Bedrock ("Claude Auto mode requires the Anthropic API"). So ZeroSub never moves an agent in Auto mode onto Bedrock by itself (failover, a new or resumed agent, the 30-second check, a fork from ChatGPT), nor one whose mode Paseo doesn't say, and the agent's timeline says why when that leaves it at its limit: switch it to another mode (Accept File Edits, say) to let it move. Paseo can't say a new agent's mode before the agent exists, so on Paseo 0.16 and later ZeroSub notes the mode it's created in (in the agent's metadata, zerosub.created-mode, only while paid fallback is on and there's a Bedrock account), and a new agent in another mode starts on Bedrock right away. On an older Paseo a new agent never starts on Bedrock by itself: it opens on the subscription account, its first turn hits the limit, and failover then moves it to Bedrock. An Auto-mode agent put on Bedrock by hand or as the default gets Paseo's refusal; ZeroSub notes in its timeline to pick another mode, and leaves the account as it is.

Either way, Bedrock has no 5-hour or weekly limits, so the account counts as available unless AWS turns a turn down. What's read for that is a failed turn's failure and error rows, and Claude Code's own error replies ("API Error: …") among the turn's last two replies, whether the turn failed or completed (Paseo before 0.16 reports such a turn as completed), never an agent's reply that only mentions one. A completed turn's warnings, error rows and tool output (an MCP server's "HTTP 401 Unauthorized", an AccessDenied from a command the agent ran) are another service's, and never touch the account.

  • Throttling (ThrottlingException, HTTP 429, "Too many tokens") sets it aside for a minute; an exceeded service quota (ServiceQuotaExceededException) for five. While every Claude subscription account is out too, its agents stay on it rather than go back to one at its limit (at failover, for idle agents, and at the 30-second check), and the agent that was turned down says every account is at its limit.
  • Refused credentials or access (AccessDeniedException, HTTP 401/403, an invalid or expired security token, no credentials found): ZeroSub checks the credentials again first, as when they're saved (aws sts get-caller-identity, then aws bedrock list-inference-profiles). Only if AWS refuses them too is the account marked signed out, with AWS's answer on its card, until you change its settings. If they pass, or can't be checked (no aws command, AWS can't be reached), the account stays usable and the daemon's log says so.
  • A model Bedrock names as unusable ("You don't have access to the model with the specified model ID", "The provided model identifier is invalid", a model that needs an inference profile) marks it signed out the same way without that check: only Bedrock words it so, and the credentials are fine. Change the model overrides in its settings.
  • A model Claude Code finds missing in the account's region ("The model … is not available on your bedrock deployment") leaves the account as it is: other models still run there. The agent's timeline names the model and says to set the model overrides (see Models below) or pick another model for the agent.

Where the credentials are. The region, credential source, profile name, model overrides and prices are in the account's home, $PASEO_HOME/zerosub/homes/claude-<id>/bedrock.json, readable only by you; for an access key, so are the key ID, the secret and the session token. Unlike other Claude accounts' folders, a Bedrock account's home stays in homes/, managed by ZeroSub: it's never moved to ~/.claude-config (or the folder picked under the Claude accounts) and gets no terminal script, since its access key reaches Claude Code only in the session's environment; removing the account deletes it, bedrock.json and all. A folder that's signed in already turns down a folder with a bedrock.json: to add a Bedrock account back, add it again with AWS Bedrock. bedrock.json is never linked into or out of any Claude home. The registry marks the account as Bedrock (provider: "bedrock"; a Claude API-key account has no such mark and keeps its own form) and keeps its region and source, an access key by a short hash of its ID. The app only ever gets the key ID's last four characters; ZeroSub never logs a secret, and leaves it out of what the aws command says when it's shown.

How it runs. The home is a Claude home like any added account's: shared entries are links to ~/.claude, and there's no sign-in in it. When Paseo opens a session there, ZeroSub sets CLAUDE_CONFIG_DIR to the home, CLAUDE_CODE_USE_BEDROCK=1, AWS_REGION and AWS_DEFAULT_REGION, and blanks what would send it elsewhere or sign it in another way (ANTHROPIC_API_KEY, ANTHROPIC_AUTH_TOKEN, CLAUDE_CODE_OAUTH_TOKEN, ANTHROPIC_BASE_URL, ANTHROPIC_CUSTOM_HEADERS, the Vertex and Foundry switches). By source:

  • Host: the daemon's own AWS variables are left as they are.
  • Profile: AWS_PROFILE is set, and AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN and AWS_BEARER_TOKEN_BEDROCK are blanked, since they'd come before it.
  • Access key: those three are set from bedrock.json, read right then, and AWS_PROFILE and AWS_BEARER_TOKEN_BEDROCK are blanked.

The model variables are set from the overrides, or blanked so a model named for your subscriptions doesn't reach Bedrock. Its generated settings.json is ~/.claude/settings.json with the account's own settings.account.json on top, as for any added account, then made to agree with that environment: the same env (never a secret), no apiKeyHelper, and, unless it uses the host's credentials, no awsAuthRefresh or awsCredentialExport. A proxy set for the account with the globe button stays in it.

Usage. In place of usage bars, the card shows the tokens used this calendar month (UTC): input (with how much was read from and written to the cache) and output, and an estimated cost. At the end of each turn on the account, ZeroSub reads the agent's Claude Code session file (~/.claude/projects/<project>/<session>.jsonl, which every Claude account shares) and adds the assistant messages written since the turn started, each one once. Totals are kept by model in $PASEO_HOME/zerosub/api-usage.json, with Azure's, and start again each month. The cost comes from the price table in the account's settings (USD per million input, cache read, cache write and output tokens, per model as Claude Code names it; a cache read or write without a price counts at the input price). With no prices it says "cost unknown". It's an estimate from Claude Code's own counts, not AWS's bill.

Limitations.

  • An access key reaches Claude Code through the session's environment, which Paseo starts the agent with; anything that can read that process's environment can read it. Use the host's credentials or a profile to keep it out of ZeroSub's files.
  • Project settings (.claude/settings.json in a repository) that set another provider or AWS credentials still apply on top, as they would in Claude Code.
  • Token counts need the Claude Code session file. A turn whose file isn't found is counted as "couldn't be counted", and the card says the totals are short. Turns run on the account from a terminal aren't seen.
  • The check covers the credentials, not each model: a model your AWS account hasn't enabled in the region shows up as a refusal on its first turn.

Pi accounts

Paseo's built-in Pi agents get a section of their own once Pi is installed where the daemon runs. Its first card is Pi's own login, ~/.pi/agent (or PI_CODING_AGENT_DIR in the daemon's environment), with whatever it's signed in to. ZeroSub changes its files only when you edit its key or proxy on that card (see below; otherwise it only makes the directory and its sessions folder if they're missing, for added accounts to share), While a proxy is set on that card, ZeroSub gives that login's Pi agents the proxy as environment variables (see below) and checks the address Anthropic sees; otherwise a Pi agent on it runs as Paseo would run it without ZeroSub. Nothing else changes for Pi until you add an account: no scripts and no folders outside ZeroSub's own. Add account under Pi adds an Anthropic API key as an account, each with:

  • Anthropic API key, sent as x-api-key.
  • Base URL (optional): a gateway that speaks Anthropic's API. Empty uses https://api.anthropic.com, even when Pi's own models.json sends Anthropic's requests somewhere else.
  • Proxy (optional): every request its Pi agents make goes through it, Anthropic's and any other provider's alike. Change it later with the globe button on its card. The card shows the address Anthropic sees the account's requests come from (IP: 203.0.113.7 (US)), from Anthropic's cdn-cgi/trace fetched through its proxy when it's set: when the account is added or its proxy changes, and every half hour after. Pi's own login is checked too, but only while a proxy is set on it, and not while its models.json sends Anthropic's requests elsewhere; an added account with another base URL isn't checked.

Pick an account for a Pi agent from the agent's account button or with /account, or make it the default. ZeroSub never moves agents onto a Pi account by itself, the CLI login included, since either may be billed per use: "Balance new agents" leaves new Pi agents on the default, and an agent whose key is refused stays where it is until you pick another account. A Pi agent moves between accounts in place: Pi reopens its session file on the other key. Pi doesn't report usage, so Pi accounts have no usage bars, banked resets or automatic switching, and they're never forked to another provider.

The key button on Pi's own login card changes the Anthropic API key and base URL that login uses, in Pi's own auth.json (anthropic; an Anthropic sign-in made with /login is replaced by the key) and models.json (providers.anthropic.baseUrl), so pi in a terminal uses them too. The globe button there sets its proxy as httpProxy in Pi's settings.json, which pi in a terminal reads itself. ZeroSub also gives that login's agents the proxy as https_proxy, HTTPS_PROXY, http_proxy and HTTP_PROXY, so it wins over a proxy in the daemon's environment. Their no_proxy/NO_PROXY is the list they'd otherwise have, minus * and anything that would send Anthropic's traffic around it, plus localhost, 127.0.0.1 and ::1. It does this only while no key or sign-in of the login's would cross the proxy over plain http://; otherwise it gives none, and Pi applies httpProxy itself. Each file is written where it really is (through a link to it), keeping the rest of it, under Pi's own lock on it, after a copy of it as it was goes to $PASEO_HOME/zerosub/backups/ (the last five of each, readable only by you); a file that ends up holding a key or a proxy password is readable only by you. Leaving a key empty keeps it, a kept key only goes to the base URL it went to before, and a proxy is refused where a key or sign-in of the login's, for Anthropic or another provider, would go through it over plain http://: one in auth.json, in models.json (read as Pi reads it, comments and all) or in the environment, sent to the provider's base URL or one of its models'.

How it works:

  • Each account has an agent directory of its own, which its agents get as PI_CODING_AGENT_DIR. It's set up in $PASEO_HOME/zerosub/homes/pi-<id>, then kept in ~/.pi-config/pi-<account> (ZEROSUB_PI_DIR in the daemon's environment moves the default), beside its terminal script. The folder button under the Pi accounts picks another folder, and the accounts move there one at a time.
  • A folder only moves while no Pi process runs with it as PI_CODING_AGENT_DIR (on macOS ZeroSub reads ps -E, on Linux /proc), no agent was routed to it in the last 30 seconds, and ZeroSub itself isn't working on it. Nothing waits for a move: a session that opens on the account, or anything ZeroSub does on it, while the folder is being moved makes the move give way (the folder goes back, and it's tried again at a later check), and once a move is saved new sessions get the new folder. A session that opens while the folder is away from both places opens on Pi's own login instead, never on the account without its proxy. Each move is written down first, so one a restart cut short is finished, or undone, at the next check. If Pi makes the old folder again meanwhile (a terminal running the old script, say), so the folder can't go back, the move is finished at the next check to the folder that has the account's key, and the one Pi made is left for you to delete.
  • Everything in Pi's own directory (settings, extensions, skills, prompts, sessions and the rest) is linked in, except Pi's sign-ins (auth.json), models.json and its model catalog cache (models-store.json).
  • The account's key, base URL and proxy are in its folder's zerosub.json (readable only by you); the registry keeps only a short hash of the key. auth.json is made from it and Pi's own: the account's key for Anthropic, plus the API keys Pi's login keeps for other providers. Pi's subscription sign-ins (/login, OAuth) aren't copied, because each copy would refresh its token on its own and leave the other with a spent one: models that need one stay on Pi's login. Pi reads a stored key as config (a value starting with ! is run as a command, and $NAME is filled in from the environment), so the account's key is written escaped ($ as $$, a leading ! as $!) and Pi reads it exactly as you typed it. Pi uses a stored key before one in the environment, and the account's agents get ANTHROPIC_API_KEY, ANTHROPIC_AUTH_TOKEN and ANTHROPIC_OAUTH_TOKEN blanked anyway, so nothing from the daemon's environment goes to the account's base URL in its place. So are ANTHROPIC_CUSTOM_HEADERS, whose headers the Anthropic SDK adds to every request (an x-api-key line there would replace the account's key), and the workload identity federation variables (ANTHROPIC_FEDERATION_RULE_ID, ANTHROPIC_ORGANIZATION_ID, ANTHROPIC_IDENTITY_TOKEN_FILE, ANTHROPIC_SERVICE_ACCOUNT_ID, ANTHROPIC_WORKSPACE_ID), which Pi would use for a token when no key comes out. models.json is Pi's own with Anthropic's base URL set to the account's, and any other key, headers, or a model's own baseUrl or headers for Anthropic left out, so no model carries the account's key to wherever Pi's own login sends it. Both are remade every 30 seconds and before an agent opens on the account, so don't edit them, or run /login with that directory.
  • Agents on an account keep their sessions in the folder Pi's own login uses for that project (~/.pi/agent/sessions/--<project path>--, given as PI_CODING_AGENT_SESSION_DIR unless the daemon, the Pi provider's env or Pi's settings set a sessions folder already), so pi --resume finds them, and Paseo still resumes them after the account is removed.
  • An account's proxy goes to its agents as https_proxy, HTTPS_PROXY, http_proxy and HTTP_PROXY, which Pi puts before its httpProxy setting, with no_proxy and NO_PROXY set to the list they'd otherwise have minus anything that would send Anthropic's or the base URL's traffic around it, plus localhost, 127.0.0.1 and ::1. An account without one gets the CLI login's proxy the same way, while the login has one and the account's key wouldn't cross it over plain http:// (its base URL's host stays in the no-proxy list if it's there). Otherwise it gets no proxy variables, and uses the daemon's network or httpProxy in Pi's settings, as Pi would. An added account's proxy is also written as httpProxy in a settings.json of its folder's own, made from Pi's with httpProxy on top (a link to Pi's again once the proxy goes), so pi started with that folder elsewhere goes through it too, unless its environment names a proxy. A kept key is never sent somewhere new: changing the base URL takes the key again, and so does a new proxy for an account whose base URL is plain http:// to another machine (the proxy could read the key); remove and add that account again with both. Typing the key yourself is what allows it: the guard keeps a saved key from being sent somewhere new by someone who only sees its last characters, so a key typed together with a plain http:// base URL and a proxy is used as given (the form warns about plain http://). A proxy is also refused while Pi's own models.json sends another provider's API key (which every account gets, stored or from the environment) over plain http:// to another machine. Clearing an account's own proxy is refused the same way when its key goes over plain http:// and the CLI login's proxy would then carry it. While a following account's folder is being moved, a new proxy for the CLI login is refused until the move is done; try again in a moment.
  • Pi extensions are shared with every account, and one can still change where Anthropic's requests go after models.json is read (pi.registerProvider("anthropic", { baseUrl }), say): the account's key then goes there too. Only install extensions you trust with your keys.
  • Anthropic refusing an account's key (authentication_error) marks it signed out; Fix key on its card takes a working one.
  • Each account gets a script, ~/.pi-config/pi-<account>.sh: put ~/.pi-config on your PATH (the line to add is under the Pi accounts) and run pi-work.sh. It sets the account's PI_CODING_AGENT_DIR, reads the proxy variables its agents get in Paseo, and the same blank ANTHROPIC_* key, custom header and federation variables, from zerosub.env in its folder (ZeroSub keeps it up to date), so they win over what your shell exports, and runs pi. Scripts follow renames; ZeroSub never overwrites one it didn't write, and several daemons can share the directory.
  • Removing a Pi account kept outside homes/ only takes it out of ZeroSub: its folder, key and script stay (the script's second line then says ZeroSub no longer manages it). Add it back with Add account → A folder set up already and its folder's path: it comes back with its key, base URL and proxy, named after the folder. One still in homes/ goes on the cleanup list, and the cleanup pass deletes it, key and all, once no open agent uses it. Pi accounts can't be disabled, since no other Pi account would stand in for one: make another the default or remove it instead.

Tested on macOS with Pi 1.4.0 and Paseo 0.15.0.

Grok accounts

Grok is optional, like Pi. Nothing about it shows until a Paseo provider runs Grok Build's agent, grok agent stdio (as Paseo's own Grok entry does), and grok runs where the daemon runs, or until you've added a Grok account. Without the grok CLI you see no Grok section and no warning. Its first card is Grok's own login, ~/.grok (or GROK_HOME in the daemon's environment), and agents on it run as Paseo would run them.

  • Add account under Grok runs grok login for a new account. In a browser on the host's own computer, the page finishes by itself. Anywhere else, choose Use a code instead: open the page on any device and confirm the code ZeroSub shows.
  • Each conversation stays on its account. Pick an account for a new Grok agent from its account button, with /account or the next-new-agent pick, or make it the default. Once an agent has a conversation, it stays on the account it started on, as ChatGPT conversations do, but without a hand-off: to use another account, start a new agent. Changing the default doesn't move existing conversations.
  • Usage is deferred. ZeroSub runs Grok's own grok usage --json with the account's home, but does not interpret successful JSON until the CLI's real supported-route format is verified. The card stays unavailable and directs you to /usage inside Grok; timeouts and known CLI errors still say why.
  • No automatic switching yet. ZeroSub doesn't watch Grok's turns for limits or sign-outs, so it never moves a Grok agent by itself. There are no banked resets for Grok, and Grok chats are never forked to another provider.
  • An account that still has Grok conversations on it can't be removed until you archive them.

How it works:

  • A provider counts as Grok when it extends acp and runs grok (by path, or grok-<version>) with agent … stdio. One that joins a shared leader (--leader), is disabled, or brings its own login or endpoint in its env (GROK_HOME, GROK_AUTH, GROK_AUTH_PATH, the Grok API-key variables, external-provider variables, OIDC variables, GROK_DEPLOYMENT_KEY or GROK_CLI_CHAT_PROXY_BASE_URL) is left exactly as configured.
  • Each added account has its own home in $PASEO_HOME/zerosub/homes/grok-<id>, which its agents get as GROK_HOME, with GROK_AUTH_PATH set to its auth.json. Known daemon-level Grok login, API-key, external-provider, OIDC, deployment-key and chat-proxy overrides are blanked for managed homes, so an account's agents don't fall back to another login, key or endpoint.
  • The home keeps the account's own files: its sign-in (auth.json, and mcp_credentials.json for MCP servers), what Grok fetched for it (settings_cache.json, models_cache.json, experiments_remote_opt_out, a team's managed_config.toml and requirements.toml), and the running processes' locks, sockets, leader and logs. Everything else is linked to ~/.grok, including config.toml, sessions/, memory, skills and plugins.
  • ZeroSub reads who is signed in (email, user and team) from the home's auth.json, never its login itself.

Built against Grok 1.0.77 and Paseo 0.15.4 on Linux. A separate daemon verified two real logins running concurrently, next-agent and default routing, historical-session pinning across a reload, and the removal guard. Successful plan-usage JSON, quota exhaustion and removal afte