# Pitboard
Switch AI coding tools between your accounts.
[](https://github.com/datlechin/pitboard/actions/workflows/ci.yml)
[](https://crates.io/crates/pitboard)
[](https://github.com/datlechin/pitboard/blob/main/LICENSE)
<img src="https://raw.githubusercontent.com/datlechin/pitboard/main/.github/media/menu.png"
alt="The Pitboard menu, offering first to sign in to an account again, then listing Claude
Code and Codex accounts with a check mark on each one in use and, under each account's name,
how much of its limits it has used or that its sign-in has expired"
width="300">
Pitboard switches Claude Code, OpenAI's Codex CLI, Antigravity and, on macOS, Claude Desktop
between your own accounts without signing out, and shows what each Claude Code, Codex and
Antigravity 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](https://docs.usepitboard.com/concepts/open-sessions) follow a
switch with no restart. Anything that runs Codex keeps the old account until it starts again.
Claude Desktop switches only while Claude is closed, and Antigravity only while none of it
runs. The app offers to quit Claude, and the Antigravity app on macOS; the command line
refuses while either is open.
While the app is open, it notifies you once a limit of the account in use reaches 95%, and
offers another account with room left. Pitboard can also
[switch Claude Code by itself](https://docs.usepitboard.com/guides/automatic-switching), from
the app or from a background service that `pitboard watch install` sets up on macOS, Windows
and Linux.
On macOS and Windows, the app also gives each Claude Code and Codex account its own
[window on claude.ai or chatgpt.com](https://docs.usepitboard.com/guides/account-windows). On
Linux, it opens their links in your browser.
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](https://docs.usepitboard.com/security#what-leaves-your-machine)
lists every request.
The command line runs on macOS, Windows and Linux. The app runs on macOS 14 or later, on
Windows 10 version 2004 or later, and on Debian 13, Ubuntu 26.04, Fedora 43 and later, or openSUSE
Tumbleweed, with GNOME or KDE Plasma, and includes the command line. Pitboard for Windows is not
signed yet. [What you need](https://docs.usepitboard.com/install#what-you-need) says how far each
system is tested.
## Install
On Debian 13, Ubuntu 26.04, Fedora 43 and later, or openSUSE Tumbleweed, install the app, or
`pitboard` for the command line alone, from Pitboard's apt, dnf and zypper repository, as
[Set up the Linux repository](https://docs.usepitboard.com/install/linux-repository) says.
On macOS, or on a Linux distribution the repository does not cover, install the command line
with the script:
```sh
Or with Homebrew:
```sh
brew install datlechin/tap/pitboard # the command line, on macOS or another Linux
brew install --cask datlechin/tap/pitboard-app # the app, on macOS
```
On Windows, download the installer from
[Download Pitboard](https://usepitboard.com/download#windows). 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](https://docs.usepitboard.com/install) covers each system, Cargo, release
files and updates. [Verify a download](https://docs.usepitboard.com/install/verify) checks a
file before you run it. The
[code signing policy](https://docs.usepitboard.com/install/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](https://docs.usepitboard.com/install/remove).
## Quickstart
```sh
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, or in the Pitboard window or its tray menu on
Linux. The
[Quickstart](https://docs.usepitboard.com/quickstart) shows each step and what it prints. For
Codex, put `codex/` before each label, as
[Use Pitboard with Codex](https://docs.usepitboard.com/guides/codex) explains. For Claude
Desktop on macOS, put `desktop/`, as
[Use Pitboard with Claude Desktop](https://docs.usepitboard.com/guides/claude-desktop)
explains. For Antigravity, put `agy/`, as
[Use Pitboard with Antigravity](https://docs.usepitboard.com/guides/antigravity) explains,
after reading Google's terms, which Pitboard shows before your first Antigravity account.
Add accounts only this way, never with Claude Code's `/login`, with `codex login` or by
signing in again in Antigravity. 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.
`pitboard doctor` checks what Pitboard relies on, and names a setting, such as a managed one,
that limits which organisation or workspace Claude Code or Codex signs in to. Pitboard refuses
to switch to an account such a setting rules out.
## Documentation
The documentation is at [docs.usepitboard.com](https://docs.usepitboard.com). Start with:
- [Commands](https://docs.usepitboard.com/reference/commands)
- [JSON output](https://docs.usepitboard.com/reference/json-output)
- [Security and privacy](https://docs.usepitboard.com/security)
- [Troubleshooting](https://docs.usepitboard.com/troubleshooting)
## Contributing
[CONTRIBUTING.md](https://github.com/datlechin/pitboard/blob/main/CONTRIBUTING.md) says how to
build Pitboard and submit a change. Report a bug with the
[bug report form](https://github.com/datlechin/pitboard/issues/new?template=bug.yml), and a
vulnerability privately, as
[SECURITY.md](https://github.com/datlechin/pitboard/blob/main/SECURITY.md) says. Everyone
taking part follows the
[code of conduct](https://github.com/datlechin/pitboard/blob/main/CODE_OF_CONDUCT.md).
## Licence
Pitboard is licensed under
[Apache-2.0](https://github.com/datlechin/pitboard/blob/main/LICENSE). It is not affiliated
with Anthropic or OpenAI, as [NOTICE](https://github.com/datlechin/pitboard/blob/main/NOTICE)
states.