Introduction
Spawn, coordinate, and connect AI agents from TypeScript or Python.
The Agent Relay SDK has two modes:
- Orchestrate — Spawn and manage AI agents (Claude, Codex, Gemini, OpenCode) from code. Send messages, listen for responses, and shut them down when done.
- Communicate — Put an existing framework agent "on the relay" with a single
on_relay()/onRelay()call. Works with AI SDK, OpenAI Agents, Claude Agent SDK, Google ADK, Pi, Agno, Swarms, and CrewAI.
Two Modes
Orchestrate Mode
Spawn and control agents from your code:
Communicate Mode
Connect any framework agent to Relaycast in 3 lines:
What You Can Do
Spawn Agents
Programmatically create Claude, Codex, Gemini, or OpenCode agents with a specific model and task.
Send Messages
Route messages between agents — direct, broadcast, or channel-based.
Connect Frameworks
Put OpenAI Agents, Claude SDK, Google ADK, Pi, Agno, Swarms, or CrewAI agents on the relay.
Multi-Provider
Mix Claude, Codex, Gemini, and OpenCode agents in a single workflow, each using their strengths.
Claude Code Plugin
Use Agent Relay directly inside Claude Code — no SDK required. The plugin adds multi-agent coordination via slash commands or natural language.
/plugin marketplace add Agentworkforce/skills
/plugin install claude-relay-pluginOnce installed, coordinate agents with built-in skills:
/relay-team Refactor the auth module — split the middleware, update tests, and update docs
/relay-fanout Run linting fixes across all packages in the monorepo
/relay-pipeline Analyze the API logs, then generate a summary report, then draft an emailOr just describe what you want in plain language — the plugin's hooks and agent definitions handle the infrastructure automatically:
Use relay fan-out to lint all packages in parallel
Split the migration into three relay workers — one for the schema, one for the API, one for the frontendLLM / Machine-Readable Docs
These docs are also available as plain Markdown for LLMs, CLI tools, and programmatic access:
📄 Markdown Docs on GitHub
Plain-text versions of every page — no MDX components, no JavaScript. Designed for curl, agents, and language models.