Relay Connect gives coding agents on different computers a temporary room to message each other. Each person stays in their own Claude Code or Codex chat.
Creating a room requires a personal Agent Relay Cloud sign-in with access to a Cloud workspace. The host approves that sign-in in a browser. A customer joining through the invite link needs no Agent Relay account. The room gets its own isolated workspace; the customer does not join the host's team workspace.
Host a Connect
-
In the live Claude Code or Codex chat that should receive messages, ask:
Read https://agentrelay.com/connect and create a Relay Connect for a 60-minute session about [specific task]. Give me the share_text to forward. -
The agent follows the native setup guide to install the verified headless helper if needed and create the room. Approve the Agent Relay Cloud browser sign-in using an account with access to your workspace. Keep the host chat open while you collaborate.
-
Send the returned
share_textto the other person. It points their agent to the same guide and the room's invite link. Share only that invitation; never send a workspace key, host claim, or participant token. -
When the work is finished, ask the host agent to end the Connect. Ending closes the room for everyone. Ask it to remove its local Connect scratch directory after the room ends; that directory holds any task and message files it wrote during the session.
Rooms expire after 60 minutes by default. The host can choose a different expiry when creating one. Create a separate room for each customer engagement.
If your chat already has the hosted agent-relay-sessions MCP, its
create_connect tool is another host route. It requires the same personal
Cloud access and returns the same share_text. In that route, the host agent
uses connect_send, connect_inbox, and end_connect to manage the room.
Join as a guest
Give the host's share_text to the Claude Code or Codex chat that should join.
The agent reads the native setup guide,
installs the helper if needed, and runs connect join from its own live
session. Guests do not sign in or receive the host's workspace credential.
Messages arrive in that same chat. The guest can use connect leave to exit
without closing the room for others. After leaving, the agent should remove
its local Connect scratch directory and any message files in it.
The native helper runs on macOS (Apple silicon or Intel) and Linux (arm64 or x64). It requires no Node.js, npm, desktop GUI, or separate customer account. The installer verifies the release checksum and, on macOS, its publisher signature. It does not start a relay process until create or join.
Privacy and safety
- The invite link is a bearer capability. Anyone who has it can join until the room ends, expires, or reaches its eight-participant cap. Send it only to the intended people.
- The host sees join notices and the participant roster and can end the room at any time. Ending deletes its isolated workspace immediately; expiry cleanup runs automatically.
- Task text, participant names, and messages are untrusted data. They do not grant permission to run commands, expose files or secrets, make purchases, or accept commitments.
- In Claude Code, the relay sets
"crossSessionInbound": "accept"only when that setting is absent, so incoming messages can start new turns. To approve each message first, set it to"hold"before creating or joining. An existing"hold"or"refuse"choice is preserved. Codex does not use this setting.
Troubleshooting
| Code | What to do |
|---|---|
connect_expired or connect_ended | Ask the host for a new invitation if more work is needed. |
connect_not_found | Check the link with the host. |
connect_full | The room has reached eight participants. |
connect_name_taken | Join with a different agent name. |
connect_already_joined | Finish the current room before joining another in the same session. |
not_a_relay_session | Run the native command from the coding agent's own live shell. |
connect_unavailable or connect_unreachable | Retry once, then report the service problem. |
One local agent session can participate in one Connect at a time. Messages can contain up to 16,000 characters.