
p2pmux
p2pmux is a free peer-to-peer terminal multiplexer that lets users and machines connect to a shared session.
What p2pmux is
p2pmux is a free peer-to-peer terminal multiplexer that lets users and machines connect to a shared session. Each pane runs a real shell on the machine of the person who opened it, using that host’s tools and environment. Sessions support up to 8 members, 9 tabs and 8 panes per tab, with shared layouts and nested splits. Terminal streaming is end-to-end encrypted and peer-to-peer; an iroh relay can be used when NAT requires it. If the coordinator’s laptop closes, panes on other machines keep running, although layout changes and new joins pause. Processes and credential files remain on the pane host and are not uploaded to peers. The agent inbox lists detected coding agents and can open a pane for terminal input. Anyone with a join code or ticket can see every pane and interact with terminals. Join codes last six hours; a rendezvous outage can trigger a service-free ticket fallback. The MIT-licensed project supports macOS and Linux, not Windows. Linux builds require glibc 2.35 or newer; musl systems must build from source.
Good
- Shared sessions support up to 8 members.
- Terminal streaming is end-to-end encrypted.
- Processes and credential files stay on pane hosts.
- MIT licensed and free.
Watch out
- Windows is unsupported.
- Join codes or tickets grant control of every pane.
- Linux requires glibc 2.35 or newer.
- Musl systems must build from source.
Who it suits
It suits users who want to share terminal sessions across machines and collaborate in real shells. It is aimed at macOS and Linux command-line users, including those working with coding agents.
Verdict
p2pmux provides shared terminal layouts while keeping processes and credentials on their host machines. Its broad session access makes join-code and ticket handling important, and Windows users cannot use it.
Plans and prices
From p2pmux's own pricing page, checked 2 Oct 2001.
| Plan | Price | What it gives you |
|---|---|---|
| p2pmux | Free | MIT licensed |
The facts
Each one read from p2pmux's own pages, with the date it was checked.
What it does
- agent inbox
- Ctrl+O lists detected coding agents on every machine and lets users open a pane to type in its terminal.checked 30 Sep 2001
- Agent support
- The project says Claude Code and OpenCode report state through hooks; Codex, Cursor, Pi, Hermes, and OpenClaw are detected but have no hooks yet.checked 2 Oct 2001
- Connectivity
- Terminal streaming is end-to-end encrypted and peer-to-peer, with an iroh relay used when NAT requires it.checked 2 Oct 2001
- Control
- Users can type into free panes, and active typing is protected from another user taking control.checked 2 Oct 2001
- Coordinator recovery
- If the coordinator’s laptop closes, panes on other machines keep running; after five minutes, the earliest-joined survivor takes over.checked 2 Oct 2001
- data boundary
- Processes and credential files remain on the pane host and are not uploaded to peers.checked 30 Sep 2001
- Data handling
- Processes and credential files stay on the pane host’s machine and are not uploaded to peers.checked 2 Oct 2001
- encryption
- Streaming is end-to-end encrypted peer-to-peer and can use an iroh relay when NAT requires it.checked 30 Sep 2001
- failover
- If the coordinator laptop closes, panes on other machines continue running while layout changes and new joins pause.checked 30 Sep 2001
- installation
- The installer supports macOS and Linux on x86_64 and arm64, while Windows is unsupported.checked 30 Sep 2001
- Installation
- The maker documents installation by script, Homebrew, or building from source with Rust 1.91 or newer.checked 2 Oct 2001
- integrations
- The inbox supports Claude Code, Codex, Cursor Agent, Pi and OpenCode.checked 30 Sep 2001
- join code
- A join code lasts six hours and a rendezvous outage can trigger a service-free ticket fallback.checked 30 Sep 2001
- layout limits
- Sessions support up to 8 members, 9 tabs and 8 panes per tab.checked 30 Sep 2001
- license
- p2pmux is released under the MIT license.checked 30 Sep 2001
- License
- The project is MIT licensed.checked 2 Oct 2001
- Pane hosting
- Each pane runs a real shell on the machine of whoever opened it, using that machine’s tools and environment.checked 2 Oct 2001
- pane model
- Every pane is a real PTY on its owner's machine, with host and guest assigned per pane.checked 30 Sep 2001
- product
- p2pmux is a peer-to-peer terminal multiplexer where multiple users and machines connect to one session.checked 30 Sep 2001
- Purpose
- p2pmux is a peer-to-peer terminal multiplexer where multiple users and machines can connect to the same session.checked 2 Oct 2001
- requirements
- Linux builds require glibc 2.35 or newer, and musl systems must build from source.checked 30 Sep 2001
- Shared layout
- Sessions support shared tabs, panes, and nested splits, with up to 8 members, 9 tabs, and 8 panes per tab.checked 2 Oct 2001
- support
- The project asks users to open GitHub issues with both p2pmux versions and whether the connection was direct or relayed.checked 30 Sep 2001
Where it runs
- Platform limits
- The maker lists macOS and Linux support and says Windows is not supported.checked 2 Oct 2001




