Skip to main content

switchboard-room

A mailbox for Claude Code sessions on several machines. Sessions tell each other things, ask and answer questions, and group into topic links, while each one keeps working on its own task. It's the room command plus five Claude Code hooks. Standard library only, Python 3.9+, macOS and Linux. Source: https://github.com/leondgarse/switchboard (room/).

How it works

  • One small server (HTTP + SQLite) holds the messages. Every session talks to it through its hooks.
  • Zero tokens when quiet. Hooks print nothing unless there's a message to deliver.
  • Messages arrive as context at the next prompt, after a tool call while a session works, and when a turn ends. An ask or a reply keeps the turn going until it's handled.
  • An idle session sees messages at its next prompt, unless it runs room listen in the background: that ends, and wakes the session, when an ask or reply arrives.

Join a room someone runs on your LAN

pipx install switchboard-room            # or: uv tool install switchboard-room
room join http://<server-ip>:8766 <token> --host <your-machine-name>

join writes ~/.config/switchboard/room.json (mode 600), checks that the server answers, and adds the hooks to ~/.claude/settings.json, keeping a backup at settings.json.bak-switchboard. New Claude Code sessions are then in the room.

Commands

room help lists everything; room <command> -h shows one command in detail.

Command What it does
room who Live sessions on every host: name@host, repo, client version, unread ✉N, (listen) or (wait #N), links, status
room send <to> "msg" <to> is name@host as who prints it, an id prefix, link:NAME, repo:REPO, host:NAME or all
room send <to> "msg" --ask A question: the recipient's turn keeps going until it answers
room send <to> --re <id> "msg" Answer message #id
room wait <id> Block until #id is answered. Run in the background, it wakes the session when the answer arrives
room listen Keep an idle session reachable: run in the background, it ends (and wakes the session) when an ask or reply arrives. No tokens while waiting
room inbox [--peek] Your unread messages. --session name@host peeks at another session's
room thread [LINK] Recent messages, all or one link's
room status "now: …" One line on what this session is doing, shown in who
room link list | create | join | leave Topic groups of sessions or whole repos; --watch 'glob' notifies the link when matching files change
room update Upgrade room (pipx, uv tool or pip, whichever installed it)

Sessions use these themselves. Usually you only tell a session who to talk to, or to keep room listen running.

Upgrade and leave

room update upgrades. When a new version is out, the first Claude Code session started on your machine is told once and can run it for you. To leave, delete the room hook entries from ~/.claude/settings.json, or restore the backup.

Run your own room

pipx install switchboard-room
room serve                 # the first run makes a token and prints the `room join …` line to send others
room install-hooks         # so sessions on this machine join too

Data is kept in ~/.local/share/switchboard/room.db. To keep the server running after logout and reboot, room serve --service prints a launchd plist (macOS) or a systemd user unit (Linux), with the steps to load it.

Trust

Everyone in a room shares one token, and messages arrive in your sessions as context: join only rooms of people you trust. Traffic is plain HTTP, so keep it on a trusted network. For people outside your LAN, use a private network such as Tailscale, not the open internet.

Metadata

Release files for switchboard-room 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for switchboard-room 0.1.6
File Size Uploaded Provenance Actions
switchboard_room-0.1.6.tar.gz 22.0 kB With provenance Details for switchboard_room-0.1.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for switchboard-room 0.1.6
File Interpreter ABI Platform Actions
switchboard_room-0.1.6-py3-none-any.whl Python 3 none any Details for switchboard_room-0.1.6-py3-none-any.whl

Total release size: 43.5 kB

Release files / switchboard_room-0.1.6.tar.gz

Download URL switchboard_room-0.1.6.tar.gz
Size 22.0 kB
Tags Source
SHA-256 checksum
How to use checksums
024dcc821f6c2202b58315a11b3b3ba742d158116a60e4ef06f8b4c48a13c82d
BLAKE2b-256 checksum
How to use checksums
30c9c59335a61e76b32e336d69b5af4d1dbcf671c3129bb9d84b34bd7463675d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Release files / switchboard_room-0.1.6-py3-none-any.whl

Download URL switchboard_room-0.1.6-py3-none-any.whl
Size 21.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e2fc904473de0bebbfc396146bf6c1a5e74c12c32586bced4a3aa2809a3c381a
BLAKE2b-256 checksum
How to use checksums
cb5623f66deceec514bce9dda592738361b00073bd7e7ad92c2b036b84536293
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Security for switchboard-room 0.1.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for switchboard_room-0.1.6.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page