Pro and the relay preview

Pro lets sessions on all your machines see and message each other, through a relay that only sees ciphertext and routing metadata.

Preview. The account server (api.conveno.dev) and the relay (relay.conveno.dev) are deployed, and Stripe is in test mode for now, so nothing you do is charged. The relay and its cryptography have had no outside audit, so treat them as unreleased.

What you get

  • Sessions on your other machines appear in conveno status, grouped under the device they run on, and in list_sessions.
  • A session's send routes to a session on another machine, and the message arrives in its mailbox like a local one and wakes it the same way. conveno send from the command line and the app reaches this machine's sessions only, and spawn starts workers on this machine only. Messages of kind system are not carried between devices.
  • Price: $6 a month or $60 a year, with a 14-day trial and no card. See pricing.

The relay carries messages between your own sessions only. It never calls a model provider and never runs agents. Without a login, or after a plan ends, the free local mesh on each machine keeps working.

Sign in

conveno login
conveno account

login runs the OAuth device flow. It prints a code and a link, opens your browser (unless you pass --no-browser), and waits for you to approve the code. Approve only if the code in the browser matches the one in the terminal. You sign in to the account page at api.conveno.dev/account with GitHub or with a passkey. The CLI saves its tokens in account.json in the data folder, readable by you only. conveno account shows your plan and, during a trial, the days left. conveno logout ends the login on the server and deletes the tokens. Nothing is sent unless you run conveno login.

GitHub and passkeys

GitHub is the account's root of trust. A passkey is a convenience: it signs you in to the account page without GitHub, and nothing more. Adding or deleting a passkey, resetting devices and deleting the account each need a browser sign-in with GitHub from the last 5 minutes. A passkey sign-in does not count for them, and neither does a device's CLI login. So someone who adds a passkey to a stolen session cannot use it to reset your devices or remove your passkeys. Delete any passkey you did not add yourself.

Deleting a passkey also signs out every other login, in case the passkey was used. Your devices sign in again and keep their device list, so you do not pair them again.

Pair your machines

Each device has its own keys, created on that device. To add one, run conveno devices pair on a device you already use and conveno devices join on the new one, at the same time, both signed in to the same account. Each screen shows its own 8-digit code. Type each device's code into the other one. A device never asks for the code it shows, so you have to read the other screen. Three wrong codes stop the pairing, and a pairing expires after 5 minutes. Only then is the new device added to your signed device list. Someone in the middle of the pairing has one chance in 108 per attempt of guessing a code.

conveno devices lists your devices, their state and the device list's head hash. conveno devices rename <name> renames this one. conveno relay status shows the connection. An account can have up to 64 active devices, and a device that has not connected for 30 days stops counting and loses its queue.

Sessions on other machines are listed as <device>:<session>, for example desktop:api, and you send to them by that name.

Revoke a device

conveno devices revoke <name> appends a signed revocation to your device list and publishes it. A revocation exists only as a signed entry in the list: there is no revoke call on the account server. The relay keeps the list in order and accepts only a new version that extends the stored one, from a device in it, so a revocation cannot be undone and no device can publish a list that leaves one out. Once the relay accepts it, the relay closes the revoked device's connection, drops what it queued, and refuses its id from then on. It then tells the account server, which ends that device's logins and refuses to bind its id again. Your other devices stop encrypting to the revoked device and stop accepting its envelopes as soon as they adopt the new list.

How fast this works depends on the relay and the account server being up and honest. A relay that is down delays it, and a malicious relay could ignore it. An access token that was already issued stays valid until it expires, at most 15 minutes, though the relay refuses it. Revocation does not reach back to messages the device already received.

If a device list conflict is shown

A relay that shows your devices different lists could hide a revocation from one of them. Every envelope carries the head and length of the sender's list, and devices compare it with their own. If the lists do not fit, or the relay's list does not extend the device's own, the device raises a conflict. conveno devices and conveno relay status warn loudly and exit 1, and the device sends and accepts nothing until you resolve it.

To recover, run conveno devices on a device that is a member of the relay's list and not in conflict, check that it lists only devices you recognise, and type the head it shows into conveno devices accept <head> on the device that warned. Detection needs two of your devices to exchange an envelope, which they do when either connects or its sessions change.

Reset devices

If no device you trust is left, for example when a stolen device revoked yours, reset your devices on the account page. The reset needs a GitHub sign-in from the last 5 minutes. It signs out every other login, including a thief's, and deletes every pending login code. It also makes the relay forget the device list, the queues and the key bindings, and refuse every older token. The form lists your passkeys. Tick every one you did not add, and they are deleted in the same step.

After a reset, every device warns that the relay's list no longer holds it. On each device, run conveno login and approve it in the browser, run conveno devices reset to make the device forget its list, then pair it again with conveno devices pair and conveno devices join. A reset adds no device, and pairing still needs the codes on two devices. Someone who takes over your account can cause the same outage of every device, which you will see, but cannot read your messages. conveno devices reset also helps a device whose list the relay left out.

A stolen device

Its keys are in device-key.json in the data folder, readable by your user only. Whoever has them reads what is sent to that device and can send as it until you revoke it. With three or more devices, revoke it from any remaining one. A thief's device can also revoke yours, and the relay accepts whichever revocation comes first. With only two devices the thief can revoke yours, and then you reset your devices as above. End any GitHub sessions on the stolen device too, since a thief with a browser signed in to GitHub can sign in to the account and reset your devices. There is no forward secrecy for a device's long-term key.

What the relay can see

  • It sees your account id, your device list (each device's id, name and public keys, and who added or revoked whom), which device sends to which and when, envelope ids, sizes and timestamps, when devices connect, and IP addresses as any web server does (not stored). During pairing it sees both devices' public keys and nonces.
  • It cannot see session names, CLIs, repositories, paths, status text, message kinds or text, or which session talks to which. All of that is inside the sealed envelopes.
  • It can drop, delay or reorder envelopes, refuse service, or delay a revocation. It cannot read, forge, alter or redirect an envelope, and it cannot add a device to your list.

Metadata is minimised, not hidden. The full list of limits is on the security page and in SECURITY.md.

How it is built

  • Every message is sealed to the receiving device's key and signed by the sending device, so the relay cannot read, alter or redirect it. See the threat model.
  • The relay is a Cloudflare Worker with one Durable Object per account. It checks your access token, routes envelopes, and keeps an offline queue per device of at most 1,000 envelopes or 32 MiB for 7 days, and at most 100 envelopes or 8 MiB from any one device. It stores no IP addresses or content.
  • Access tokens last 15 minutes. The relay checks your plan when a device connects and again when its token expires, so a plan that ends or a login that is revoked loses access within 15 minutes, not instantly.
  • The relay and account servers are AGPL-3.0. The rest of Conveno is Apache-2.0.

What the account server stores is on the privacy page.