Sync and devices overview
How Flow links your own devices. Pair Macs into a Puddle, share live terminals, sync sessions and pages, reach SSH hosts, and use the iPhone app.
On this page
Flow can reach other machines in two different ways. Puddles links your own devices that run Flow: you pair them once, then each one can list, open and start the other's terminal sessions, and the state of your sessions, Trash, Schedules and notifications follows you between them. Remote hosts are a different feature: an ordinary group whose panes run on a server over ssh, so the other machine doesn't need Flow at all.
This page explains how the pieces fit together and where each one is documented.
The pieces at a glance
| Piece | What it does | Needs on the other machine | Page |
|---|---|---|---|
Puddles and flow-remote | Pairs your devices and carries an encrypted link between them. The Puddle page (Tools › Puddle) is its face in the app; flow-remote is the daemon and CLI behind it | Flow, with Puddles on | Pair devices with flow-remote |
| Device spaces and mirror groups | Shows a paired Mac's sessions in your sidebar and opens them live in local panes | A grant from that Mac | Use another Mac's sessions |
| Sync (sink) | Keeps a live copy of each paired device's sessions, tabs, labels, Trash, Schedules, notifications and tools, and sends your closes, pins and renames back to the device that owns them | Flow, with sync on | How Flow syncs data |
| Remote hosts | Runs a group's panes on a server over ssh (an ~/.ssh/config alias, user@host or a Tailscale name) | ssh, optionally flow-session or tmux | Remote hosts |
| Flow for iPhone | Your desktop's sessions on a phone, paired like any other device | Flow on the Mac, with Puddles on | Flow for iPhone |
Turn on Puddles
Puddles is an experiment, off by default.
- Open Settings (
⌘,) and go to Experiments. - Switch on Puddles (setting key
features.remote, bool, defaultfalse, marked BETA). - A Puddle row appears in the Tools band. Open it, or press
⌃⌥⌘2(Go to Puddle).
While Puddles is on, Flow starts the flow-remote daemon in the background and keeps it running. When you switch Puddles off, Flow stops the daemon it started. The daemon keeps running when you quit Flow, so your other devices can still reach your sessions.
What a paired device may do
Pairing is mutual: both devices store each other. What each device may do on the other is decided separately on each side, per device.
| Permission | On the Puddle page | Granted by | What the other device can do |
|---|---|---|---|
| List | (always, while paired) | Pairing | See the names and states of your terminal sessions, refreshed every 15 seconds |
| Open | Can open my sessions | You, per device | Watch any shareable session and type into it. This is full shell access on your Mac |
| Create | Can create sessions | You, per device | Have Flow on your Mac start new sessions |
Open and Create are off for every new pairing, and they stay as they were if you pair the same device again. Most of what syncs needs Open; see Security and trust before you grant it.
What syncs between devices
With Puddles on and Sync sessions with your devices on (puddle.sync, bool, default true), each Mac publishes its own state and mirrors the state of every paired Mac that lets it open sessions:
- your sessions (sidebar groups), their tabs, labels, icons, agents, unread dots, folders, branches and pull requests
- the Trash page's worktrees and the Schedules page's schedules and recent runs
- notifications that follow you, and which Mac you are using right now
- your New session picker's favorite and recent folders
- your CLI tool registry; the flow tools in
~/.flow/toolsare offered to your other Macs, which install one only when you confirm
Closing, renaming or pinning a session on another device sends the change to that device, which applies it. With sync off, other devices fall back to the 15-second session listing. The details are on How Flow syncs data, and every synced table is listed in Built-in synced tables.
How the devices connect
Every device is a peer: there is no server and no account. The daemon listens where the Puddle page's Network setting says (puddle.bind):
- Automatic (
auto, the default): your Tailscale address when Tailscale is up, else this Mac only. - Tailscale (
tailscale): your tailnet address only. - Local network (
lan): every network interface. - Tailcat (
tailcat): across networks through public relays, direct when it can be. Never picked automatically.
The link is end-to-end encrypted and both ends authenticate each other's key. See Security and trust.
Pages in this section
- Pair devices with flow-remote: pairing step by step, grants, device spaces and mirror groups.
- flow-remote command reference: every
flow-remotecommand and flag. - Security and trust: what is encrypted, what a paired device can do, how to unpair and revoke.
- Remote hosts: groups that run over
sshor Tailscale. - Flow for iPhone: the phone app's current state, pairing and the key bar.
- How Flow syncs data: what syncs, where it is stored, how conflicts resolve, and how a tool defines its own synced tables.
- Built-in synced tables: the fields of every built-in synced table.
Limits
- Puddles is a Beta experiment. Its settings, its shortcuts and its notification rows only appear while it is on.
- Device spaces belong to the vertical sidebar. With horizontal tabs there are no device chips.
- When a paired device is asleep or offline, its device space says so, and the Trash and Schedules pages show its last-known rows greyed, with their age, until it is back.
Sources
Written from these files in the Flow app repo
docs/flow-remote.mddocs/sink.mddocs/mobile.mddocs/remote-hosts.mdsrc/features.rssrc/puddle.rssrc/puddle_ui.rssrc/sink_app.rssrc/settings_catalog.rssrc/remote.rs