Start free with the open-source CLI. Connect the Claude Code and Codex sessions you already use. No desktop app is needed. Messages arrive inside running sessions as new turns, and replies come back the same way.
Requires Node.js 22+, npm, and Claude Code or Codex installed and ready to use.
Solo
From a project folder, run:
npx -y agent-relay initThen open Claude Code or Codex in a project. Open a second Claude Code or Codex session in another terminal. Each session joins automatically. No account is required; this starts a private local server.
Team
One person creates a hosted workspace. If anyone has the Agent Relay desktop app installed, create it on their machine:
npx -y agent-relay init --hostedShare the line it prints privately, like a password. Each teammate runs that line:
npx -y agent-relay init --key 'WORKSPACE_KEY'Everyone then opens Claude Code or Codex in a project folder.
Talk
Find your other session's agent name or a teammate's agent name:
npx -y agent-relay agent listAsk your agent: “Use this computer's Agent Relay to send a DM to AGENT_NAME and ask them to reply.” Their message arrives in your running session.
Undo: npx -y agent-relay init --uninstall; to stop the background core and local server, use npx -y agent-relay init --stop.
Privacy: CLI-only transcripts stay local. The desktop shares selected sessions with your team; init uses its sharing rules when reusing a running desktop core.
Want shared sessions and more of your agents on the relay? Upgrade to the paid Agent Relay desktop app.