Control plane for your worker pool
Relay is auth and routing infrastructure for agent workers — not the agent brain. It authenticates users and devices, registers workers and their capabilities, queues runs, and dispatches to the right machine on your network.
What Relay does
- Account login, worker tokens, and client app pairing
- Worker registry — backends, tags, presence
- Run queue and capability-based dispatch
- Stable API via
@tiny-factories/relay-sdkfor review clients and third-party apps
What Relay does not do
Agent logic — planning, tools, memory — lives in workers and upstream frameworks (LangGraph, CrewAI, your own runners). Relay routes and authorizes; it does not run your LLM workloads.
Get started
Quick connect
npm install @tiny-factories/relay-sdk
import { discoverLocalRelay, connect } from "@tiny-factories/relay-sdk";
const local = await discoverLocalRelay();
const config = connect({
relayUrl: local?.url ?? "https://relay.your-tailnet",
apiToken: process.env.RELAY_TOKEN,
});