pitboard-core 0.15.3

The engine behind Pitboard: switches Claude Code, Codex and Claude Desktop between accounts by parking and restoring their logins. Its API serves Pitboard's own front ends.
Documentation

Pitboard

Switch AI coding accounts and see their usage.

CI crates.io Licence

Pitboard switches Claude Code, OpenAI's Codex CLI and, on macOS, Claude Desktop between your own accounts without signing out, and shows what each Claude Code and Codex account has left.

It keeps the login of each account you are not using, called a parked login. A switch puts the chosen account's parked login where the tool reads it. Your history, settings and projects stay where they are.

Open Claude Code sessions follow a switch with no restart. A running codex keeps the old account until it starts again. Claude Desktop switches only while Claude is closed. The app offers to quit Claude, and the command line refuses while it is open.

The app also gives each Claude Code and Codex account its own window on claude.ai or chatgpt.com.

Pitboard has no server of its own and no telemetry. It sends each login only to the service that issued it, and sends nothing for a Claude Desktop account. What leaves your machine lists every request.

The command line runs on macOS, Windows and Linux. The app runs on macOS 14 or later and on Windows 11 24H2 or later, and includes the command line. Pitboard for Windows is in beta, and its files are not signed. On Linux, Pitboard builds and passes its tests, but has not been run with real logins.

Install

On macOS and Linux, install the command line with the script:

curl -fsSL https://usepitboard.com/install.sh | sh

Or with Homebrew:

brew install datlechin/tap/pitboard              # the command line
brew install --cask datlechin/tap/pitboard-app   # the app, on macOS

On Windows, download the installer from Download Pitboard. It installs the app and puts the command line on your PATH, for your Windows account alone.

The app includes the command line, so install one or the other. Install Pitboard covers each system, Cargo, release files and updates. Verify a download checks a file before you run it. The code signing policy says which files are signed and who approves a signature.

Removing Pitboard without pitboard uninstall leaves its parked logins behind. Follow Remove Pitboard.

Quickstart

pitboard enroll personal        # the account Claude Code is signed in to
pitboard enroll work --sign-in  # another one, through Claude Code's own sign-in
pitboard                        # what each account has left
pitboard use work               # switch Claude Code to work

In the app, choose the account in Pitboard's menu, from its item in the menu bar on macOS or its icon in the notification area on Windows. The Quickstart shows each step and what it prints. For Codex, put codex/ before each label, as Use Pitboard with Codex explains. For Claude Desktop on macOS, put desktop/, as Use Pitboard with Claude Desktop explains.

Add accounts only this way, never with Claude Code's /login or with codex login. Each replaces the login in use without Pitboard parking it. The account that was in use then needs a browser sign-in. Never choose Log out in Claude Desktop: it ends the login Claude holds at claude.ai, and Pitboard cannot bring it back.

Documentation

The documentation is at docs.usepitboard.com. Start with:

Contributing

CONTRIBUTING.md says how to build Pitboard and submit a change. Report a bug with the bug report form, and a vulnerability privately, as SECURITY.md says. Everyone taking part follows the code of conduct.

Licence

Pitboard is licensed under Apache-2.0. It is not affiliated with Anthropic or OpenAI, as NOTICE states.