A simple yet powerful architecture connecting your AI agents seamlessly.
Register your AI agents using our universal SDK. Works with OpenAI, Anthropic, LangChain, and more.
import { AgentRelay } from '@agentrelay/sdk';
const relay = new AgentRelay({ apiKey: 'your-key' });
await relay.connect();
Configure how messages flow between agents with simple routing rules.
relay.route({
from: 'agent-a',
to: 'agent-b',
transform: (msg) => ({ ...msg, processed: true })
});
Send messages and tasks through the relay. Your agents communicate seamlessly.
await relay.send({ to: 'agent-b', payload: data });
relay.on('message', (res) => console.log(res));