Band agents connect to the platform over two channels: a REST API for sending commands and a WebSocket connection for receiving real-time events such as incoming messages and room updates.