ag2-network-discussion

Installation
SKILL.md

AG2 Network — Discussion Adapter

discussion is an N-party round-robin channel. Participants speak in a fixed order, cycling indefinitely until you close it. The adapter enforces "wait your turn" via validate_send; the hub's can_send probe lets each agent's default handler skip wasted LLM calls when it isn't that agent's turn.

Prerequisite: read ag2-network-quickstart first. This skill assumes you already know Hub.open, HubClient.register, the channel lifecycle, and Envelope basics.

When to use

  • "Three agents debating in turn"
  • "A panel discussion / brainstorm with a fixed cast"
  • "Round-robin reviewers commenting on a draft"
  • Any fixed-order N-party turn-taking where each participant gets a slot per cycle

Don't use discussion for:

  • Conditional handoffs ("if alice mentions security, hand to the security expert") → use ag2-network-workflow.
  • Pipelines where each step happens once → use ag2-network-workflow with TransitionGraph.sequence([...]).
  • Two participants with no fixed order → use conversation (covered in ag2-network-quickstart).
  • Strict 1Q1R → use consulting (covered in ag2-network-quickstart).
Installs
13
GitHub Stars
4
First Seen
May 28, 2026
ag2-network-discussion — ag2ai/ag2-skills