Loading...
Loading...
Map of AG2 capabilities and which sibling skill to reach for. Load first when the user mentions building with AG2 (ag2) but the specific feature isn't yet clear — agents, tools, model config, delegation, memory, observers, structured output, HITL, AG-UI, MCP server hosting, A2A protocol, realtime voice, telemetry, testing, or evaluation.
npx skill4agent add ag2ai/ag2-skills ag2-overviewag2website/docs/user-guide/SKILL.mdpip install "ag2[openai]"ag2[anthropic]ag2[gemini]*ConfigImportError: ... requires optional dependenciespip installOPENAI_API_KEYANTHROPIC_API_KEYGEMINI_API_KEYGOOGLE_API_KEY.envfrom dotenv import load_dotenv; load_dotenv()python -c "import sys, ag2; from importlib.metadata import version; print(sys.executable, version('ag2'))"ag2ag2-quickstart| User intent | Skill | What it covers |
|---|---|---|
Build an | | |
| Give the Agent a custom Python tool | | |
| Use shipped tools (web search, code exec, MCP, etc.) | | |
| Run shell commands from an agent | | |
| Get typed Pydantic / dataclass output | | |
| Multi-agent: parallel subtasks or named delegates | | |
| Pause for human input or gate a tool with approval | | |
| Logging, retry, history-trim, custom interception | | |
| Test agents and tools | | |
| Evaluate / benchmark an agent offline, CI gate, scorers | | |
| Compare models / prompts — leaderboard or head-to-head | | |
| Persistent memory across runs, history compaction, assembly | | |
| Observability, alerts, halts | | |
| Send images / audio / video / PDFs in | | |
| Web frontend via the AG-UI protocol | | |
| Serve an agent as an MCP server (server side) | | |
| Expose an agent over the A2A protocol | | |
| Realtime voice / live audio (talking agent, STT, TTS) | | |
| OpenTelemetry traces / metrics | | |
ag2-network-quickstartHubconsultingconversation| User intent | Skill | What it covers |
|---|---|---|
| N-party round-robin / fixed turn order | | |
Declarative orchestration / | | |
| Rate limits, access policy, expectations, audit, capability tracking | | |
| Custom envelope handlers, view policies, peer discovery, the LLM-facing network tools | | adapter-owned |
run_subtaskrun_subtasks(parallel=True)ag2-subagent-delegation