Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude loads one when your task matches it, or you run it by name.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Daemonless local messaging between ordinary Claude Code and Codex CLI sessions. Agent Peer uses each CLI's existing local transport and never invokes another model to deliver a message.
codex queue fallbackmacOS, Linux, and Windows are supported. Claude uses Unix-domain sockets on macOS/Linux and named pipes on Windows; Node's node:net handles both transports.
Add the Stray Bits Sanctuary marketplace once, then install Agent Peer in either or both CLIs:
claude plugin marketplace add noopz/stray-bits-sanctuary
claude plugin install agent-peer@stray-bits-sanctuary
codex plugin marketplace add noopz/stray-bits-sanctuary
codex plugin add agent-peer@stray-bits-sanctuary
Restart each CLI after installation. Install only the Claude plugin for Claude-to-Codex messaging; install both for symmetric replies.
For local development:
claude --plugin-dir /absolute/path/to/agent-peer
Codex has no --plugin-dir equivalent. Install it from a configured local or Git marketplace.
Ask either CLI naturally:
Messages carry an exact return target, allowing the recipient to reply through Agent Peer. Claude-to-Codex tasks use Codex's native delegated-turn contract when its stock shared app-server is reachable: a standalone codex_app.send_message_to_thread output carrying the recognized codex_delegation envelope. Codex renders this as attributed delegated work and can receive it during an active turn. Agent Peer falls back to ordinary codex queue user input when native delivery is unavailable. Codex-to-Claude messages use Claude's canonical cross-session-message envelope, so Claude renders and classifies them as peer messages instead of raw user text. Claude replies resolve the registered endpoint directly and do not perform a separate socket probe before delivery.
The helper can also be called directly:
node scripts/agent-peer.mjs codex list
node scripts/agent-peer.mjs codex send <thread-id-or-name> <summary> <message>
node scripts/agent-peer.mjs codex send --native <thread-id-or-name> <summary> <message>
node scripts/agent-peer.mjs codex send --queue <thread-id-or-name> <summary> <message>
node scripts/agent-peer.mjs codex send --steer <thread-id-or-name> <summary> <message>
node scripts/agent-peer.mjs claude list
node scripts/agent-peer.mjs claude send <session-name-or-address> <summary> <message>
The two list commands default to the current working directory. Add --all to list reachable peers across every project.
Claude receives messages with immediate priority. If it is already working, the message joins the current turn at Claude's next tool/model boundary; it does not interrupt an in-flight tool call.
Claude-to-Codex messages use native Codex delegation by default. An idle target starts the delegated turn immediately. A busy target receives the message in its active turn at the next model boundary without interrupting an in-flight tool call. The TUI persists and renders the request as delegated work instead of ordinary user text.
If the stock shared app-server endpoint is unavailable or Codex explicitly rejects the native request, Agent Peer automatically falls back to codex queue. Queued delivery starts a separate turn: idle sessions normally begin within about ten seconds, busy sessions process it after their current turn, and interrupted threads must be resumed before queued input dispatches. Use --queue to force it, or --native to fail instead of falling back.
If a native or steering request was submitted but its response is lost, Agent Peer reports DELIVERY_UNKNOWN and does not queue a second copy. A queue command that starts and then fails also reports an unknown outcome. Check the recipient before retrying; the message may already have been accepted.
Subprocesses have a 30-second deadline and a combined 16 MiB output limit. Cleanup uses bounded termination through Node APIs.
On macOS and Linux, Agent Peer connects directly to Codex's control socket. On Windows, it runs the stock codex app-server proxy command for the duration of each operation because Codex uses its own Windows Unix-socket compatibility layer. The proxy exits when the operation ends; there is no Agent Peer daemon or special Codex launcher.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
agent-peer@stray-bits-sanctuary is listed by noopz/stray-bits-sanctuary — review the source before installing
npx claudepluginhub noopz/stray-bits-sanctuary --plugin agent-peerPlugins from other owners that cover similar ground