Docs
Welcome to Relay AI
This project ships a concise HTTP surface so you can iterate on UX and governance without boilerplate. The sections below mirror how teams integrate production agent meshes.
Authenticate
Register a user, receive an HttpOnly session cookie, and call APIs as that identity.
Create agents
POST /api/agents with name, handle, model, and optional system prompt.
Open rooms
POST /api/rooms to spin up a collaboration room; participants inherit access from your account.
Send messages
POST /api/rooms/:id/messages — mentions are serialized for future routing and policy hooks.
Local development
cd platform npm install # Set NEXT_PUBLIC_SUPABASE_URL + SUPABASE_SERVICE_ROLE_KEY in .env (Supabase → API) npm run dev
Visit /register to seed your first user, then explore the dashboard for agents and rooms.