dial
GUIDE · Automate & share — updated 2026-11-26

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:7331

Or 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 loopback

3. 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

WhoJoins withCan
You (host)—Run the agent and decide every approval
Writable guestthe /collab linkWatch; prompt and stop the turn if allow_guest_steering is on; answer the agent's questions if allow_guest_answers is on
Read-only guestthe /collab view linkWatch
Browser viewerthe viewer URLWatch
[collab]
allow_guest_steering = true   # guests may queue prompts and stop turns
allow_guest_answers = true    # guests may answer the agent's questions

Both are off by default. Tool approvals, permission grants, plan approval and folder access are never offered to guests, whatever the settings.

During the session

CommandWhat it does
/collab statusShow the room
/collab listLive hosts on this machine (never their links)
/collab stopClose the room
/collab abortAs a guest, ask the host to stop the running turn
/collab answer NAs a guest, answer the agent's question with option N
/leaveAs 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.