Create a multi-agent group chat using AutoPattern (no handoffs). The Group Chat Manager selects agents automatically based on their descriptions. Use when conversation flow is unpredictable or defining explicit routing rules would be overly complex.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ag2-workflow-patterns:group-chat-auto-patternThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are creating an AG2 group chat workflow using AutoPattern -- fully LLM-driven agent selection with no handoffs.
You are creating an AG2 group chat workflow using AutoPattern -- fully LLM-driven agent selection with no handoffs.
Ask the user for:
Create the group chat following this pattern:
from autogen import ConversableAgent, UserProxyAgent, LLMConfig
from autogen.agentchat import run_group_chat
from autogen.agentchat.group.patterns import AutoPattern
llm_config = LLMConfig({"api_type": "anthropic", "model": "claude-sonnet-4-6"})
# Each agent MUST have a description -- used by Group Chat Manager for routing
agent_a = ConversableAgent(
name="agent_a",
system_message="Your role instructions here...",
description="When to select this agent -- used for routing decisions.",
llm_config=llm_config,
)
agent_b = ConversableAgent(
name="agent_b",
system_message="Your role instructions here...",
description="When to select this agent -- used for routing decisions.",
llm_config=llm_config,
)
user = UserProxyAgent(
name="user",
code_execution_config=False,
)
# AutoPattern -- no handoffs, LLM picks next agent based on descriptions
pattern = AutoPattern(
initial_agent=agent_a,
agents=[agent_a, agent_b],
group_manager_args={"llm_config": llm_config},
user_agent=user,
)
result = run_group_chat(
pattern=pattern,
messages="Your task here",
max_rounds=15,
)
result.process()
print(result.summary)
description fieldsdescription (not just system_message) -- this is what the Group Chat Manager uses for selectionsystem_message tells the agent how to behave; the description tells the manager when to select the agentLLMConfig({...}) -- NOT a raw dict like {"model": "..."}run_group_chat with a pattern -- NOT initiate_chat or GroupChatManagermax_rounds reasonable (10-20)See examples/organic_team.py for a complete project management team example.
npx claudepluginhub ag2ai/ag2-claude-plugins --plugin ag2-workflow-patternsProvides patterns for multi-agent systems in Claude Code: job description method, shared folder communication, handbook consolidation, context management. Use for complex agent orchestrations.
Coordinates multiple Claude Code agents as teams. Covers Agent Teams, Subagents, Agent SDK, and multi-agent orchestration patterns for parallel work and task delegation.
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.