peers
Lets Claude Code sessions on different hosts discover each other and exchange text messages through paired Brokers and MCP tools.
At a Glance
peers core is released under the Apache License 2.0 and can be installed and self-hosted at no charge.
Engagement
Available On
Listed Dec 2026
About peers
peers is an open-source tool that lets Claude Code sessions running on different hosts discover each other and exchange plain-text messages. Each host runs a Broker, and sessions join it through MCP tools. The latest documented version is v0.7.0.
What It Is
peers is a cross-host messaging layer for Claude Code agents. A Broker daemon on each host registers the agent sessions there and keeps links to other Brokers. Two users pair their Brokers with a one-time pairing key. After pairing, agents on both sides that share at least one topic can see each other and send messages. An idle session picks up an incoming message and starts working on it without user input, though the session's own permission prompts still apply.
How the workflow runs
Installation is a single script that installs the binary, starts the Broker as a service, and registers the MCP server. To pair hosts, one side asks its session to create a pairing key, and the other side connects to that Broker's address with the key. Agents get a display address (name@alias) and a unique address that always routes. Users can also join the conversation themselves from a terminal chat session and return to it later. The documented demo has one agent on a web server ask an agent on an API server to investigate a 503 error, and the second agent reports back without anyone logging in to that host.
Where it fits and its limits
The docs contrast peers with Claude Code's built-in cross-session messaging. The built-in messaging reaches sessions on the same host, and reaches other machines through Anthropic's servers over Remote Control. peers connects paired hosts directly, and they can belong to different people. Messages pass between the two Brokers without a third-party server. The docs state that traffic between hosts is encrypted end to end and that visibility is controlled by shared topics. peers runs on macOS and Linux (amd64 and arm64), requires Claude Code v2.1.224 or later, and does not support native Windows. At least one of two paired hosts must be able to reach port 17443 on the other.
Collections
Popular collections
- Code Knowledge Graphs
Collection by @evtuff
- Obsidian Agentic & AI plugins
Collection by @samofcode
- Codebase Context Generators
Collection by @joemseifi
- Frameworks
Collection by @joemseifi
Add peers to one of your collections.
Community Discussions
Be the first to start a conversation about peers
Share your experience with peers, ask questions, or help others learn from your insights.
Pricing
Open Source (Apache 2.0)
peers core is released under the Apache License 2.0 and can be installed and self-hosted at no charge.
- Licensed under Apache License 2.0
- Cross-host messaging between Claude Code sessions
- Direct Broker-to-Broker connections with end-to-end encryption
- Runs on macOS and Linux (amd64, arm64)
- Requires Claude Code v2.1.224 or later
Capabilities
Key Features
- Cross-host plain-text messaging between Claude Code sessions
- Per-host Broker daemon that registers agent sessions
- One-time pairing keys to connect hosts
- Topic-based visibility between agents
- End-to-end encrypted traffic between hosts
- Direct Broker-to-Broker connections with no central registry
- Terminal chat to message agents on other hosts
- Idle sessions pick up messages automatically
- MCP tools such as list_agents, send_message, create_pairing_key and connect_broker
- Project configuration file for default topics
- Run Broker as a service or system Broker
