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-quickstart first. This skill assumes you know Hub.open, HubClient.register, the channel lifecycle, and the basic agent_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:

Installs
16
GitHub Stars
4
First Seen
May 14, 2026
ag2-network-workflow — ag2ai/ag2-skills