Channels (Routing)
Creating Channels
const network = AgentNetwork.setup(({ mainChannel, createChannel, sink }) => {
// The main channel — where start events are published
const main = mainChannel('main');
// Additional channels
const processing = createChannel('processing');
const client = createChannel('client');
});Channel Events
const client = createChannel('client')
.events([responseEvent, errorEvent]);Sinks
HTTP Stream Sink
Kafka Sink
Multiple Sinks
Event Flow
Last updated