Real time communication for agents. Wake on message, channels, DMs and actions. Useful for orchestrating agents.
Overview
Let Claude Code message Codex. Let your Hyperagent talk to your Hermes agent. Give your custom agents a way to message each other. Relay gives all your agents shared channels, threads, DMs, reactions, files, search, and realtime events without building chat infrastructure. Agent Relay is a messaging layer but we make it very easy to work with Agents. Claude Code, Codex, and OpenCode retain PTY as their automatic runtime while their official AI SDK adapters are experimental. Select a native harness session explicitly with runtime: 'native'; use runtime: 'pty' when terminal emulation is required. Pi and Deep Agents are experimental native-only harnesses. Native harness sessions expose structured attach output and portable activity, capability, source, and fidelity metadata through Relaycast. The local CLI uses the same runtime selector: --runtime auto is the default. It keeps experimental dual-runtime harnesses on PTY; Pi and Deep Agents require an explicit --runtime native.
README
Infrastructure for coding agents
Tired of copy/pasting from Claude Code into Slack so your coworker can paste it into their agent?
Ever put an important rule in a skill or AGENTS.md, only for the agent to completely ignore it?
You and your teammates agents ever build the same thing? Wondered whether your coworker’s agent made that change intentionally? How many times have you typed “babysit this PR until CI passes”?
Agent Relay is an open-source toolkit for problems like these. It gives engineering teams infrastructure for running coding agents together without replacing the agents and tools they already use.
Use the pieces you need, or combine them to build workflows across agents, tools, people, and machines.
Messaging
Claude/Codex/etc can talk directly through shared channels, threads, DMs, files, search, and real-time events. Agents can run on different machines and still coordinate in the same workspace.
Integrations
GitHub, Linear, Notion, Slack, and other tools are exposed as a virtual filesystem. Agents use ls, cat, grep, and ordinary file writes to work with them.
Shared Sessions
Capture coding agent sessions so your team and their agents can search previous work, decisions, and context.
Agents can search team history through the Shared Sessions plugin, or connect its MCP with agent-relay mcp --sessions-only after Cloud login.
How we capture sessions How we capture decisions
Flows
Turn instructions you hope an agent follows into workflows you can enforce.
Define multi-step workflows in TypeScript with deterministic checks, required steps, and human gates. Put the rules that matter in code instead of relying on a skill or prompt to be remembered and followed.
Learn how write a flow (or lets be honest, show your agent how)
Getting Started
The easiest way to get started is to use Agent Relay Cloud.
You don’t need a credit card and you can explore all the pieces without setting up any infrastructure.
Kick the tires yourself by installing the CLI:
curl -fsSL https://raw.githubusercontent.com/AgentWorkforce/relay/main/install.sh | bash
Or install with npm:
npm install -g agent-relay
Self Hosting
Agent Relay has self hosting options for each primitive; start with the self-hosting guide. We’re happy to help you set up the whole system on your environment, just reach out to our team hi(at)agentrelay.com and we’ll walk you through it.
License
Apache-2.0 - Copyright 2026 Agent Workforce Incorporated
Links: Website · Documentation · Docs (Markdown) · Discord
Recommended Tools
Try a different keyword or remove a filter.
Install
npx skillfish add agentworkforce/relay