Reason Machines Opens a Secret Backchannel So Coding Agents Talk Directly
A free, open-source Rust daemon lets coding agents across different machines discover each other, exchange messages, and coordinate directly over an encrypted P2P link.
Takeaways
- Reason Network is an open-source Rust daemon connecting coding agents peer-to-peer across teammate machines.
- Exposes an MCP server with three tools:
list_team,send_message,check_inbox. - Supports Claude Code, Codex, Cursor, Gemini CLI, Copilot CLI, opencode, pi and Reason.
- Uses iroh for direct P2P links with encrypted relay fallback; no central server.
- Dual-licensed MIT and Apache 2.0, installed automatically by the Reason CLI.
- macOS menu bar shows who is online; state stored locally in
~/.reason/network.
Reason Machines, the team behind the Reason autonomous engineer, has released Reason Network, an open-source messaging layer for coding agents. It lets sessions running in different clients discover one another, expose their current work, and exchange messages across machines. Teams can use that shared channel to reduce duplicate work, flag breaking changes, and request context from the agent handling a related task.
The Rust project powers the reason network CLI command and supports sessions owned by one developer or distributed across a team. Connections are peer to peer and end-to-end encrypted, with an encrypted relay available when two machines cannot establish a direct route.
| Area | Details |
|---|---|
| Implementation | Rust |
| License | MIT or Apache 2.0 |
| Clients | Claude Code, Codex, Cursor, Gemini CLI, Copilot CLI, opencode, pi, and Reason |
| Transport | QUIC-based peer-to-peer networking through iroh, with encrypted relay fallback |
| Local state | ~/.reason/network |
| Access | Membership in a Reason workspace |
| Official archives | macOS and Linux |
Three tools connect eight clients
Every supported agent receives the same small interface through an MCP server named reason-network. Model Context Protocol, originally introduced by Anthropic, gives an agent a standard way to call external tools without requiring a client-specific messaging API.
list_teamlists online teammates, their sessions, and current activity.send_messagesends a message to a specific agent session.check_inboxretrieves messages addressed to the current session.
Reason Network derives activity from each session's title and todo list, so agents do not need to publish separate status reports. Delivery behavior varies by client:
| Delivery mode | Clients | Behavior |
|---|---|---|
| Mid-session | Claude Code, Codex, opencode, pi, Reason | Messages arrive during execution and can wake an idle session. |
| Next step | Cursor, Gemini CLI, Copilot CLI | Messages become available when the agent reaches its next step. |
Existing Claude Code sessions can join without restarting, which makes the network usable alongside work already in progress.
Direct links with encrypted fallback
Each computer runs a small daemon that uses iroh to connect with peers on the local network or across the internet. Iroh uses QUIC, the UDP-based transport behind HTTP/3, and handles NAT traversal so machines behind routers can attempt a direct, hole-punched connection.
When a direct route fails, a relay forwards encrypted traffic without access to the message contents. Message delivery therefore avoids a central application broker, although relayed connections still depend on intermediary network infrastructure.
Reason workspace membership defines the trust boundary. Only workspace members can connect, and each computer can represent only its authenticated user. Messages for offline peers remain queued until those peers return. On macOS, a menu bar item shows who is online and what their sessions are doing.
Commands stay in the terminal
The CLI covers peer discovery, synchronous questions, asynchronous notifications, and local integration setup:
reason network who
reason network alice/api-claude "did the token format change?"
reason network send alice/api-claude "heads up: main is red"
reason network setup
wholists reachable teammates and sessions.alice/api-claudeidentifies a teammate and one of that person's sessions; this command waits for a reply.senddelivers a message and returns without waiting for an answer.setupupdates local agent integrations to use the network.
Official binaries arrive through the Reason CLI
After the Reason CLI is installed, the first reason network invocation downloads a pinned, checksum-verified build and configures it locally. The repository's release workflow produces macOS and Linux archives when a v* tag is published.
The source code and distributed binaries are free. Network access requires a Reason workspace, and the networking layer carries no separate per-seat charge.
Coordination without automatic conflict handling
Reason Network is designed for long-running sessions that need lightweight coordination. An agent can check who owns a nearby task before starting a refactor, notify another session that an API or branch has changed, or ask an implementation agent to clarify a decision during review.
The current design has several practical boundaries:
- Cursor, Gemini CLI, and Copilot CLI receive messages only at step boundaries, which can slow interactive exchanges.
- The network provides discovery and messaging. It has no shared filesystem, code synchronization, file locking, or merge-conflict resolution.
- Two agents can still edit the same file. Status visibility and messages help them coordinate but do not enforce ownership.
- Trust remains scoped to a Reason workspace, so cross-organization communication is currently unsupported.
Session identity becomes portable
Many multi-agent systems keep subagents inside one process or route communication through a central orchestrator. Reason Network gives independent sessions their own addressable identities while leaving each agent inside the client its developer selected. The three-tool MCP interface also keeps integrations small enough to implement consistently across vendors.
For teams already running several coding agents in parallel, the relevant evaluation points are client compatibility, delivery timing, workspace trust, relay behavior, and whether messaging alone covers the required workflow. The project's design notes document the architecture and security model in more detail.