AgentNetwork wires everything together. You declare channels, register agents with their subscriptions and publish targets, and the network manages the event plane at runtime.
Setting Up a Network
Setup Context
| Tool | Description |
|---|---|
mainChannel(name) | Designates the main channel where start events are published |
createChannel(name) | Creates additional named channels |
proxy | Provides proxy factories (e.g. sse(), kafka()) |
registerAgent(agent) | Registers an agent and returns a binding builder |
spawner | Creates a spawner for dynamic agent creation (multi-tenant) |

