Open Source — Apache 2.0

AG2 Claude Code Plugins

Build AG2 agents and multi-agent workflows directly from Claude Code. Scaffold, review, and orchestrate agents without leaving your editor.

Install in Claude Code
/plugin marketplace add ag2ai/ag2-claude-plugins
Plugin Marketplace

Available Plugins

Five focused plugins covering scaffolding, orchestration, tooling, review, and architectural guidance.

Skills
ag2-agent-scaffold

Scaffold new AG2 agents with proper structure, tool functions, and A2A server wiring. Generates a working ConversableAgent or a full A2A-compliant service in one step.

Skills
/new-agent /new-a2a-agent
Skills
ag2-workflow-patterns

Multi-agent orchestration patterns for common use cases. From simple two-agent chats to group chats and nested hub-and-spoke workflows.

Skills
/ag2-chat-fundamentals /two-agent-chat /sequential-chat /group-chat /group-chat-auto-pattern /nested-chat
Skills
ag2-tool-builder

Create well-structured tool functions with proper error handling, type annotations, docstrings, and JSON contracts. Includes API connector scaffolding with auth and pagination.

Skills
/new-tool /connector-tool
Agent
ag2-agent-reviewer

Review AG2 agent code for common issues including tool contract violations, prompt quality, security concerns, and adherence to best practices.

Agents
ag2-reviewer
Agents
ag2-agent-guide

Architecture advisors for AG2 agent systems. Get pattern recommendations and system prompt guidance without leaving Claude Code.

Agents
ag2-architect ag2-prompt-engineer

Reference

Pattern Quick Reference

Match your use case to the right orchestration pattern and plugin.

Need Pattern Plugin
Single agent with API access Tool-augmented agent ag2-agent-scaffold
Draft + review cycle Two-agent chat ag2-workflow-patterns
Step-by-step processing Sequential pipeline ag2-workflow-patterns
Collaborative problem solving Group chat ag2-workflow-patterns
Expert consultation Nested chats (hub-and-spoke) ag2-workflow-patterns
Context-dependent routing Group chat with handoffs ag2-workflow-patterns
Deployable A2A service A2A agent server ag2-agent-scaffold