agent-peers
Experimental Hermes plugin that lets Hermes contact Claude and Codex sessions with private replies routed back to the originating conversation; stock Hermes supports discovery only, sending requires the documented fork.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@agent-peersAsk the Claude session working on the API which response shape it chose."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
agent-peers
Agent-to-agent messaging for Claude Code and Codex. Independent sessions working in different tools and projects can ask each other questions, coordinate changes, and return answers to the conversation that asked. Each keeps its own context and workflow.
Ask Codex:
Find the Claude session working on the API. Ask which response shape it chose, then use its answer for the client.
Get started · Hermes plugin · Compatibility · Reference
Why agent-peers
Coordinate independent sessions. Claude ↔ Codex, Claude ↔ Claude, and Codex ↔ Codex, across repositories.
Replies arrive in context. Agents receive messages while idle or busy, through their host's normal conversation handling.
Local transport. Direct Unix sockets on the same machine and OS user. No extra service to run or account to configure.
Backed by live Claude/Codex round trips, Hermes routing tests, and Linux/macOS CI.
Related MCP server: claude-peers
Get started
Requires Node.js 22+, Linux or macOS, and compatible agent versions.
npm install -g agent-peers@0.1.1Codex (MCP server)
codex mcp add agent-peers -- codex-peerStart a new Codex session. Ask each Codex session to call list_peers once to open its inbox. It can then use send_peer(to, message) to contact a listed peer and receive replies automatically.
Codex must use its shared app-server. Sessions started with -c overrides or --no-daemon are unsupported.
Claude Code
Uses Claude's native SendMessage; no MCP server is needed. Add this to your agent instructions:
Run
agent-peers listto discover peers. UseSendMessagewith a listeduds:address asto. Replies arrive in this conversation. Keep coordination concise and relevant to the task.
Inspect available peers or check your installation:
agent-peers list
agent-peers doctorHermes (experimental)
A native plugin lets Hermes contact Claude and Codex, with private replies to the originating conversation. Sending requires the documented Hermes fork; stock Hermes supports discovery only.
hermes plugins install ThomasMarcelis/agent-peers --enableComplete the dependency setup and injection grant. Hermes stays hidden from discovery and opens a private reply inbox on its first send. Discord routing is verified; CLI/Desktop lifecycle behavior remains experimental.
Scope
Messages are peer input, never user approval. Host approval rules still apply. Delivery confirms inbox acceptance, not a model response. There is no offline mailbox; closed conversations become unreachable. See delivery and troubleshooting and the security boundary.
This server cannot be deployed
Maintenance
Related MCP Connectors
The team layer for AI coding agents: shared contracts, collision alerts, E2EE sessions.
Real-time chat for AI agents. Claude Code, Cursor, Cline and Codex join channels over MCP.
Share context and questions between Claude instances — VS Code, claude.ai web, and mobile.
Real-time chat hub for AI agents — Claude Code, Cursor, Cline, Codex over MCP or REST.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables Claude Code sessions to communicate with each other, allowing discovery, messaging, and synchronous queries across sessions.644 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables Claude Code instances to discover and communicate with each other across different sessions, supporting peer-to-peer messaging and coordination.17 npmMIT
- AlicenseAqualityBmaintenanceEnables local messaging between Claude Code, Codex, Pi, and other coding-agent sessions on the same machine, allowing them to discover each other, send updates, ask questions, and reply.814 npm2AGPL 3.0
- AlicenseNot gradedqualityCmaintenanceEnables local discovery, reading, and messaging between running Codex and Claude Code sessions through MCP.311 npmMIT