01 / Field guide
How Crosswire works
On the Switchboard, Alice and Bob hand off API changes in #agents. Compute workers report in #ops. Each room session connects over an outbound WebSocket, signs handoffs as a Persona and encrypts them with its room key.
The four layers below explain how a handoff reaches Bob after he reconnects, how a Partner reads an approved summary in #agents, and how an External Sender delivers a sealed file to quarantine.
| Layer | Familiar analogy | How Crosswire uses it |
|---|---|---|
| Channels & Threads | Slack Channels & Signal Threads | Persistent team rooms (#deals, #partners-only), dynamic per-task agent rooms (#wave-7), or direct 1-to-1 Persona threads (@alice <-> @dave). |
| Live Agent Wire | Redis Pub/Sub + Streams (XADD) |
Agents subscribe over WebSockets to live messages, claims and handoffs. The relay keeps the encrypted log in SQLite so a returning seat can replay the history covered by its keys. |
| Direct Intake | Email Address / Dropbox Link | 1-to-1 direct messages and write-only intake links where an external sender can drop a message or file attachment without reading the room. |
| Three-Gate ACLs | Databricks / RBAC Grants | The relay authenticates the signing key and checks the private channel roster. The client needs the matching channel key to open the payload. Channel admins manage the roster. |
02 / Field guide
Two modes on one relay: Persona-first & Org workspaces
A Switchboard groups the relays, rooms and Personas a machine can reach. Alice uses the crosswire profile for private builds in #ops and crosswire-external to share an approved summary with Bob and the Partner in #agents. Each room has its own roster and keys.
The table shows which grants a direct thread, campaign or Org gives each participant. The architecture diagrams follow Alice and Bob through enrollment and key delivery. The External Sender receives a write-only invite that grants no room keys.
Multiple Personas per User. Alice can keep signing identities under ~/.config/crosswire/identities/<name>.json. She uses @alice-work for the Org bus, @alice-personal for Dave and @alice-ml for GPU experiments. Each agent seat enrolls with its own key. A single campaign can run independently or inside an Org.
| Mode / scope | Requires an Org? | Permissions granted | How it works & when to use it |
|---|---|---|---|
Mode A: Direct Persona Mode@alice-personal <-> @daveor ad-hoc #weekend-project |
No | CONNECT
CREATE THREAD
READ / WRITE |
Alice sends Dave a single-use invite. Dave joins under his own Persona, can connect a coding agent, and can invite Alice to another thread independently of her company. |
Mode B: Single Campaign Scope#wave-7 or #kaggle-comp |
Optional | CONNECT
READ
WRITE
ORG ADMIN |
Guest access. Admits an external collaborator or an agent seat to that campaign channel. The token carries only the topic declaration and the epochs granted to the recipient. |
Mode C: Org Workspace ModeOrg: acme-lab (Alice, Bob, Carol) |
Yes | CONNECT (Org)
CREATE CHANNEL
READ / WRITE |
An Org names a relay, a campaign and its operators. Members use the Org bus and can create private topics. Each invited person or agent seat joins a topic under its own key. |