Share a live session
Share a running Dial session with a teammate: they watch it live in their terminal or a browser and, if you allow it, send prompts. Everything is end-to-end encrypted, so the relay in the middle only forwards bytes it can't read. Approvals always stay with you.
Start sharing
1. Run a relay. For a quick test on one machine:
dial relay --bind 127.0.0.1:7331Or from inside a session, /relay start. The relay keeps rooms in memory only.
2. Point Dial at it in ~/.dial/config.toml:
[collab]
relay_url = "ws://127.0.0.1:7331" # wss://… for anything but loopback3. In your session, run /collab for a link that can prompt, or /collab view for a read-only one. Dial prints the link and a browser viewer URL.
4. Guests run /join LINK in their own Dial, or open the viewer URL in a browser.
Who can do what
| Who | Joins with | Can |
|---|---|---|
| You (host) | — | Run the agent and decide every approval |
| Writable guest | the /collab link | Watch; prompt and stop the turn if allow_guest_steering is on; answer the agent's questions if allow_guest_answers is on |
| Read-only guest | the /collab view link | Watch |
| Browser viewer | the viewer URL | Watch |
[collab]
allow_guest_steering = true # guests may queue prompts and stop turns
allow_guest_answers = true # guests may answer the agent's questionsBoth are off by default. Tool approvals, permission grants, plan approval and folder access are never offered to guests, whatever the settings.
During the session
| Command | What it does |
|---|---|
/collab status | Show the room |
/collab list | Live hosts on this machine (never their links) |
/collab stop | Close the room |
/collab abort | As a guest, ask the host to stop the running turn |
/collab answer N | As a guest, answer the agent's question with option N |
/leave | As a guest, leave |
How it stays private
- The link carries a random room key. Guests decrypt with AES-256-GCM; the relay never receives the key or any plaintext. It does see metadata such as room IDs, sizes and timing.
- Host messages are signed, and writable guests prove they hold the write token without sending it, so the relay can't forge, change or replay messages.
- In the viewer URL the link sits after #, which browsers don't send to the server.
- Anyone with a link can read the session, so share it like a password.
Run a relay for a team
The built-in relay doesn't do TLS. To share beyond one machine, put it behind a TLS reverse proxy and use wss://; plain ws:// links work only on loopback. The relay serves the browser viewer at its own origin, or set collab.web_url to host the page elsewhere over HTTPS. A relay admits at most 64 connections and 16 rooms; don't expose one without access control on untrusted networks.
The full reference is dial's collaboration documentation.