How it works
The Orchestrator maintains four kinds of connections:- The control WebSocket. A persistent outbound connection to Relay. The Orchestrator initiates this connection itself, so your server does not need any inbound ports open.
- Local connections to each Assistant on the server. The Orchestrator connects to each Assistant locally on loopback.
- Assistant WebSockets. When you connect to an assistant, RelayCloud sends the Orchestrator a connection ID and token over the control WebSocket. The Orchestrator opens an assistant WebSocket with them and provides a tunnel directly to the assistant.
- The ingest service. The Orchestrator forwards events from your assistants to the control plane so conversations are synced to the web console and remain accessible even when the server or assistant is offline.
Next steps
- Provision a managed server and the Orchestrator is installed for you automatically.
- Setting up a self-managed server? Install the Orchestrator manually by following the setup guide.
- Connect locally to an Assistant through the Orchestrator Proxy.
- Learn more about assistants and servers.