orchestrating-agent-relay
БесплатноБез исполняемых скриптовНе проверенThe canonical way to run agent-relay - set up the Agent Relay core with `agent-relay init` and autonomously spawn, monitor, and coordinate a team of worker…
от AgentWorkforce★ 1 167 звёзд на GitHubОб этом скилле
Orchestrating Agent Relay
Self-bootstrap agent-relay infrastructure and manage a team of agents autonomously.
The local broker was removed.
agent-relay node up,node down,node status,node metrics,node tail,node deadletters,node redeliverandnode agent …now only print a removal notice. Runagent-relay initto set up and start the Agent Relay core (oragent-relay init --hostedfor the hosted service), then spawn, list and release agents through the relay MCP (add_agent,list_agents,remove_agent) or the desktop app. Sections below that still mention the broker,node agent …,node tailor--state-dirdescribe older releases.
Overview
A headless orchestrator is an agent that:
- Makes sure the Agent Relay core is set up on this machine (
agent-relay init;agent-relay init --hostedto use the hosted service instead) - Spawns and manages worker agents through the relay MCP
- Monitors agent lifecycle events
- Coordinates work without human intervention
The orchestrator drives the team and reads/sends/lists through the Agent
Relay MCP server (agent-relay mcp). The session registers itself once with
the register_agent tool (name it orchestrator) — every messaging tool
errors with Not registered. Call the "register_agent" tool first. until it
does. Spawning and releasing agents go through the same MCP (add_agent /
remove_agent). The
workers it spawns are registered participants too; their peer-messaging
reference is the using-agent-relay skill.
The model
- Agent Relay delivers messages node-only: every agent is owned by a node, and the engine routes that agent's messages to its node reliably (ordered, resumable). The local broker is a node; agents you spawn on it are bound to it.
- A fleet is the set of nodes advertising capabilities (
spawn:<harness>plus custom node actions). The engine places a spawn or action onto a node by capability + liveness + capacity + least-loaded, or onto a namedtarget_node. Spawning and releasing agents are actions. Most orchestration spawns on the local broker; fleets matter when coordinating across nodes. - Agent-to-agent coordination is messages — channels, DMs, threads — plus
reactions and read receipts. Reading another agent's replies is a messaging
operation (
check_inbox,list_messages,get_message_thread), not a broker-event tail.
When to Use
- Agent needs full control over its worker team
- No human available to run
agent-relay initmanually - Agent should manage agent lifecycle autonomously
- Building self-contained multi-agent systems
Quick Reference
| Step | Command/Tool |
|---|---|
| Verify installation | command -v agent-relay or npx agent-relay --version |
| Verify Node runtime if shim fails | node --version or fix mise/asdf first |
| Set up and start the core | agent-relay init (hosted: agent-relay init --hosted) |
| Workspace + cloud status | agent-relay status |
| Spawn worker (MCP) | add_agent(name: "Worker1", cli: "claude", task: "...") |
| List workers (MCP) | list_agents(status: "online") |
| Send DM to worker (MCP) | send_dm(to: "Worker1", text: "...") |
| Post to channel (MCP) | post_message(channel: "general", text: "...") |
| Read worker replies (MCP) | check_inbox(limit: 20) / list_messages(channel: "general") |
| Give a human a follow-along link | agent-relay observer |
| Release worker (MCP) | remove_agent(name: "Worker1", reason: "...") |
Bootstrap Flow
Step 0: Verify Installation
# Check if agent-relay is available
command -v agent-relay || npx agent-relay --version
# If your shell reports a mise/asdf shim error, fix Node first
node --version
# e.g. for mise: mise use -g [email protected]
# If not installed, install globally
npm install -g agent-relay
# Or use npx (no global install)
npx agent-relay --version
Step 1: Set Up the Core
# Sets up and starts the Agent Relay core on this machine
agent-relay init
# Or use the hosted service so agents on other machines can join
agent-relay init --hosted
agent-relay status reports workspace and cloud login together. The CLI writes
runtime state to .agentworkforce/relay/ and may create .mcp.json; clean
those files after validation if a worktree should remain clean.
Step 2: Spawn Workers
Spawn through the relay MCP (the orchestrating session runs agent-relay mcp):
add_agent(
name: "Wo
Установить orchestrating-agent-relay в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл orchestrating-agent-relay?
The canonical way to run agent-relay - set up the Agent Relay core with `agent-relay init` and autonomously spawn, monitor, and coordinate a team of worker agents without human intervention. Covers infrastructure startup, agent spawning, lifecycle monitoring, message-based reading via the relay MCP, and team coordination.
Как установить скилл orchestrating-agent-relay?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл orchestrating-agent-relay запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic