Skip to main content

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. enroll reports 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:

  1. generates a device key and, on your first host, your root key;
  2. signs you in with the GitHub device flow (a github.com/login/device code, the same experience as gh auth login), requesting only read: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;
  3. with your explicit consent, publishes your root public key as an SSH signing key on your GitHub account, using your own gh (scope admin:ssh_signing_key, requested only for this step). Peers pin it from GitHub to verify your messages. It is never used for git signing;
  4. 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 currently unreleased; installed 0.1.3 clients still expose the original seven tools. Restart the MCP adapter after installing an updated build to expose the added tool.

Licence

MIT. See LICENSE.

Metadata

Release files for opum-comm 0.1.7

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

Source distribution (sdist)

Source distribution for opum-comm 0.1.7
File Size Uploaded Provenance Actions
opum_comm-0.1.7.tar.gz 310.2 kB With provenance Details for opum_comm-0.1.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for opum-comm 0.1.7
File Interpreter ABI Platform Actions
opum_comm-0.1.7-py3-none-any.whl Python 3 none any Details for opum_comm-0.1.7-py3-none-any.whl

Total release size: 684.6 kB

Release files / opum_comm-0.1.7.tar.gz

Download URL opum_comm-0.1.7.tar.gz
Size 310.2 kB
Tags Source
SHA-256 checksum
How to use checksums
cd033da8029a711aa088070b397012cc26025f3b647b9a1c4d23220bbaae5508
BLAKE2b-256 checksum
How to use checksums
611f3d135fe37121886048f0596a55499aebc47a4647cf4555ff0cae7c40ccc6
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 log

Release files / opum_comm-0.1.7-py3-none-any.whl

Download URL opum_comm-0.1.7-py3-none-any.whl
Size 374.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
86aaad6611b31665eeb45721dde02f6f316ca48dc50e7cce1305565ec895789f
BLAKE2b-256 checksum
How to use checksums
746f4733ba413cd5b9766238a2728f49f4cd9b849d320744dce000723c776e20
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 log

Security for opum-comm 0.1.7

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 opum_comm-0.1.7.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 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