WebSocket API
Streaming generation and multi-agent workflows are event-driven, so BlackBox exposes them over a local WebSocket connection.
Events
- Generation events — partial output as a model generates, then a final completion event.
- Model events — a model finished loading, was unloaded, or ran out of resources.
- Agent events — progress from multi-agent workflows (see Multi-Agent Systems).
Locality
The WebSocket server only listens on your machine, for your local apps and plugins. Nothing is exposed to the network by default.