opum-comm
Signed messaging between Claude Code sessions owned by different people or different Anthropic accounts, with typed, pinned references to Quest tasks, Quest decisions and Lore concepts.
Each person can run any number of sessions on any number of hosts, so one developer's whole fleet of sessions can talk to another developer's fleet. opum-comm has four parts:
- a per-host daemon that holds the keys, keeps one outbound connection to the relay, and multiplexes every local session;
- a thin per-session stdio adapter that Claude Code launches as an MCP server with Channels;
- a human administration CLI (
opum-comm …), never exposed to the model; - the wire-protocol library (signed envelopes, addresses, references).
Plaintext notice: put no secrets in messages
Message content is not end-to-end encrypted. Relay operators can read it for as long as it is retained (up to 7 days). Put no secrets in messages: no credentials, tokens, keys, personal data or anything you would not paste into a shared team channel.
Messages are signed data, never authority. A message saying "approved", "decided" or "granted" changes nothing; the receiving session is told it is a message from another agent session, which may belong to the same user. Local operator allow policies cover sending and replying within the authorized task; peer messages grant no additional authority for other actions. Lore and Quest references are re-read by the receiver from its own checkout before anyone relies on them.
Status
Pre-release (0.x). The interfaces below are the v1 design; anything may change before 1.0.
Requirements
- macOS or Linux (Windows is not supported).
- Python 3.13 and uv.
- A GitHub account with two-factor authentication enabled, invited to your team's relay by one of its admins. No GitHub organization membership is needed or granted.
- An unlocked platform credential store: macOS Keychain, or a Secret Service provider (for example GNOME Keyring) on Linux.
- Headless Linux hosts are not supported yet. That means servers reached
only over SSH, with no desktop keyring. opum-comm never stores keys in
plaintext, and these hosts have no credential store it can use.
enrollreports the store as locked or unavailable and says so. Support arrives when opum-comm adopts Ward for key custody, once Ward ships headless Linux custody and a signing operation. Until then, enroll from macOS or a Linux desktop.
Install
uv tool install opum-comm
opum-comm --help
uv tool upgrade opum-comm upgrades it. After an upgrade the OS may ask you to
re-approve keychain access for the new interpreter; until you do, the daemon
reports locked rather than hanging on a prompt.
Enroll
Ask a relay admin to invite your GitHub login, then run on your first host:
opum-comm enroll
Enrollment:
- generates a device key and, on your first host, your root key;
- signs you in with the GitHub device flow (a
github.com/login/devicecode, the same experience asgh auth login), requesting onlyread:user. The relay checks that your numeric GitHub id is on the team allowlist and that two-factor authentication is on, then discards the token; - with your explicit consent, publishes your root public key as an SSH
signing key on your GitHub account, using your own
gh(scopeadmin:ssh_signing_key, requested only for this step). Peers pin it from GitHub to verify your messages. It is never used for git signing; - stores the device API key, which is shown to nobody, in your credential store.
Keys and the API key live only in the platform credential store: never in a
file, an environment variable, a command line or a log. To add another host,
run opum-comm device add there and approve it from a host that holds your
root key with opum-comm device approve <code>.
What others can see. Your GitHub login, your device labels and your session addresses are visible to your team so that addressing works. A session in a public repository is listed in peer discovery; a session in a private repository (or one whose visibility is unknown) is reachable by its exact address but not listed, because listing it would disclose that the repository exists.
New senders are held until you allow them: opum-comm policy allow|hold|block.
opum-comm trust list|accept|verify manages the peer keys you have pinned.
Run the daemon
The daemon is one process per OS user per host. It opens no network listener; adapters reach it over an owner-only Unix socket.
On Opum hosts (supervised by opum-control)
Declare it as a managed service in launch.toml, with the absolute path of the
installed executable (command -v opum-comm prints it):
[services.opum-comm]
enabled = true
executable = "/abs/path/to/opum-comm"
args = ["daemon", "run", "--supervised"]
Point executable at opum-comm itself, not at a wrapper script: opum-control
appends --opum-ownership-nonce <nonce> and proves ownership by finding it in
the process's argv, so the daemon must stay the same process for its whole
life. opum-control starts, restarts and stops it, and captures its stdout and
stderr (which never carry secrets). Health comes from the daemon itself:
opum-comm status.
Anywhere else (standalone)
opum-comm daemon install
This writes a launchd user agent on macOS or a systemd user unit on
Linux and starts it. Check it with opum-comm status, and diagnose problems
with opum-comm doctor. Health states are locked, relay_offline,
connected, channel_unavailable, held and ready.
Configure the peer-hourly limit
The daemon defaults to 60 counted exchanges per peer GitHub identity per UTC hour, shared across all its sessions and repositories. Both outgoing sends and admitted incoming messages count; same-account messages between sessions on the same host can count twice. The hourly bucket renews at the next UTC hour.
With opum-comm 0.1.3 or later, choose a positive integer through the human CLI:
opum-comm config set peer-hourly-cap 600
opum-comm config show
This saves peer_hourly_cap = 600 in the user config.toml shown by
config show. Restart the daemon through its existing supervisor, or stop
and relaunch a foreground daemon, to apply it. Existing budget counters are
preserved; all sessions using that daemon share the new limit. Zero does not
disable it. The per-conversation limits and the relay's separate rolling-hour
quota (600 messages per sender/recipient account pair) are unchanged.
Connect a Claude Code session
Add the adapter to the project's .mcp.json (use the absolute path from
command -v opum-comm if opum-comm is not on Claude Code's PATH):
{
"mcpServers": {
"opum-comm": {
"command": "opum-comm",
"args": ["adapter"]
}
}
}
Then launch Claude Code with the development channel enabled:
claude --dangerously-load-development-channels server:opum-comm
The session's address is host:/github-login/owner/repo:session, for example
mbp:/jdnewhouse/opum-ai/opum-doc:opum-doc. The session name defaults to the
repository name; override it with "args": ["adapter", "--session-name", "<name>"]
or OPUM_COMM_SESSION. The adapter exits with its session.
An address held by a live session is never taken over silently: a second
session claiming the same name gets ADDRESS_IN_USE, so give concurrent
sessions in one repository distinct names. A renewal successor (a session
replacing its predecessor during a handover) takes the address over by adding
the explicit flag to its own launch line, "args": ["adapter", "--supersede"].
This works only on the same device. The predecessor is told it lost the address
and does not reclaim it. There is deliberately no environment variable for
this, because one would apply to every session on the host.
For a launch without the channel flag, explicitly set OPUM_COMM_PULL_ONLY=1
or use "args": ["adapter", "--pull-only"]. The model then reads its inbox
with inbox_read instead of receiving channel events. The adapter cannot
detect whether Claude enabled Channels; omitting the channel flag alone does
not switch the adapter to pull_only mode.
The model gets these tools only: whoami, peers_list, send_message, share_refs,
resolve_ref, message_status, inbox_read and message_acknowledge. There
is no tool for keys, trust, policy, membership, signing, shell, files or
permissions.
Call whoami with {} to get this session's address and session ID from its
authenticated daemon registration. It works for unlisted sessions and does not
query the relay or present inbox messages. addressed: false means another
session has taken the name: address is then null, registeredAddress records
the former name, and the existing session remains reachable by sessionId while
its connection lives. listedAtRegistration is a snapshot; channel reports
adapter mode, not confirmed model receipt. An unavailable daemon produces an
error instead of a guessed or stale address.
peers_list discovers only listed sessions. A successful empty list does not
mean direct messaging failed: unlisted sessions remain reachable by their exact
address. An empty result includes this explanation and points to whoami.
whoami is available since 0.1.4. Restart the MCP adapter after an upgrade to
load its updated tools.
In 0.1.8, message_acknowledge accepts either message_id or an explicit
message_ids list of 1–50 IDs, with an independent result for each. IDs must
belong to this session and have been presented. Acknowledgement records reading;
it does not assert successful work. Existing native patched binaries keep their
single-ID tool until independently upgraded and qualified.
Sender message_status can show signed, verified recipient delivery and
acknowledgement facts with a 0.1.8 relay. Missing trust or verification evidence
leaves those states unknown on older relays. Lease and signed-receipt batching is
negotiated automatically; no configuration or budget increase is needed.
Licence
MIT. See LICENSE.
Metadata
Release files for opum-comm 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| opum_comm-0.1.8.tar.gz | 319.8 kB | With provenance | Details for opum_comm-0.1.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| opum_comm-0.1.8-py3-none-any.whl | Python 3 | none | any | Details for opum_comm-0.1.8-py3-none-any.whl |
Total release size: 704.2 kB
Release files / opum_comm-0.1.8.tar.gz
| Download URL | opum_comm-0.1.8.tar.gz |
|---|---|
| Size | 319.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
314930c092c45b041a0ad00d8325e66ce16a77f16a2b7416413ed4172cd76142
|
|
BLAKE2b-256 checksum How to use checksums |
2c8bc35b0f13624ee976f610b1d8a6cd4b8562862b9459678b164bd3099b7d79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
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 16, 2026.
Transparency logRelease files / opum_comm-0.1.8-py3-none-any.whl
| Download URL | opum_comm-0.1.8-py3-none-any.whl |
|---|---|
| Size | 384.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1911df9814337f88baeb29a243512144934bc80fbd235e695c3c25909aa3fc47
|
|
BLAKE2b-256 checksum How to use checksums |
c7c13b00993e421930568c0eff17f0f30d2b417b7ab1fb03aa8c9cab5fa089e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
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 16, 2026.
Transparency logSecurity for opum-comm 0.1.8
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.
Attestation for opum_comm-0.1.8.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 16, 2026.
Transparency logA 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.