ag2-network-quickstart
AG2 Network — Quickstart
The network turns a collection of Agent instances into a coordinated multi-agent system. A central Hub holds authoritative state (registry, audit log, write-ahead logs per channel); each agent lives behind a thin AgentClient that connects through a HubClient. Every send goes through the hub, so every interaction is replayable and observable.
The network is opt-in. Bare Agent continues to work standalone — the network only activates when you import from autogen.beta.network.
When to use
Load this skill whenever the user wants two or more agents to interact. Concrete trigger phrases:
- "Have two agents talk to each other"
- "Set up a multi-agent system / multi-agent chat / agent network"
- "Agents that can call each other"
- "Replace the classic
GroupChat/ConversableAgent.handoffs" - "Add a registry / audit trail / shared inbox for my agents"
Not a network task: if the user is asking one agent to spawn its own sub-tasks (recursive task fan-out, parallel sub-task execution), use ag2-subagent-delegation instead. The network is for distinct, registered agents collaborating.