Channels are named conduits for events. They route events between agents and connect to external systems via sinks.Documentation Index
Fetch the complete documentation index at: https://docs.m4trix.dev/llms.txt
Use this file to discover all available pages before exploring further.
Creating Channels
Main Channel
Additional Channels
'main', 'client-output').
Channel Configuration
.events([...])
Optionally declare which events a channel carries:
.sink(sinkFactory)
Attach a sink. Can be called multiple times for multiple sinks.
Sink Factories
| Sink | Description |
|---|---|
sink.httpStream() | Streams events as SSE to HTTP clients |
sink.kafka({ topic }) | Publishes events to a Kafka topic |