ag2-network-workflow
Installation
SKILL.md
AG2 Network — Workflow Adapter
workflow is the orchestrated multi-party adapter. A declarative TransitionGraph describes who speaks first, what conditions fire on each turn, and when the channel terminates. It's the modern replacement for the classic GroupChat + Agent.handoffs pattern — turn-taking lives in the hub, not in an in-process speaker selector.
Prerequisite: read
ag2-network-quickstartfirst. This skill assumes you knowHub.open,HubClient.register, the channel lifecycle, and the basicagent_client.open(...)/channel.send(...)flow.
When to use
Load this skill when the user asks for any of:
- "Two/three/N agents with conditional handoffs"
- "Pipeline / sequence of agents (researcher → writer → editor)"
- "Triage agent routes to specialists"
- "Drafter / reviewer feedback loop"
- "Coordinator + specialists / hierarchical orchestration"
- "Migrate from
GroupChat/ConversableAgent.handoffs/ReplyResult(target=...)" - "I want context-driven routing (
OnContextCondition,StringContextCondition)"
Don't use workflow for: