ag2ai

44 mods in 6 plugins, 4 repositories, 5.0k stars between them.

email-drafting

01

ag2ai/ag2-assistant

Skill Claude CodeCodex

Use when the user asks you to write or reply to an email or message. Produces a ready-to-send draft in their voice, matching their learned tone and formatting preferences.

not rated 14 yesterday A 39 tokens original Apache-2.0

pdf-tools

02

ag2ai/ag2-assistant

Skill Claude CodeCodex

Use when the user wants to read, summarise, extract text/tables from, split, merge, or fill a PDF. Explains when to read a PDF visually vs. extract its text, and how to manipulate PDFs via code execution.

not rated 14 changed 18d ago A SkillSpector: pass 52 tokens original Apache-2.0

self-knowledge

03

ag2ai/ag2-assistant

Skill Claude CodeCodex

Use when the user asks what you can do, whether you can do a specific thing (make images, run something on a schedule, read a folder, reach their email), how to make you do it, where in the app to change a setting, or why you can't access something. Covers your own capabilities, the Settings pages, and how folders…

not rated 14 changed 8d ago A 82 tokens original Apache-2.0

web-research

04

ag2ai/ag2-assistant

Skill Claude CodeCodex

Use when the user asks you to research a topic, fact-check a claim, compare options, or gather current information from the web. Guides thorough, multi-source research using the search and web-fetch tools.

not rated 14 yesterday A 45 tokens original Apache-2.0

ag2-a2a

05

ag2ai/ag2-skills

Skill Claude CodeCodex

Expose an AG2 Agent over the Agent-to-Agent (A2A) protocol so any A2A-compliant client (or another AG2 agent) can call it across process/host boundaries. Wrap the agent with A2AServer(agent) and serve it via buildjsonrpc(...), buildrest(...), or buildgrpc(...) — each returns a ready-to-serve ASGI/gRPC object that…

not rated 12 2mo ago A 271 tokens original Apache-2.0

ag2-acp

06

ag2ai/ag2-skills

Skill Claude CodeCodex

Drive external CLI coding agents (Claude Code, Codex, OpenCode) as first-class AG2 Agents over the Agent Client Protocol (ACP): point an Agent at a ClaudeCodeConfig / CodexConfig / OpenCodeConfig preset from ag2.acp and ask()/run() it like any agent, with its thinking, tool calls, plans and permission prompts…

not rated 12 2mo ago A 161 tokens original Apache-2.0

ag2-add-custom-tool

07

ag2ai/ag2-skills

Skill Claude CodeCodex

Add a custom Python tool to an AG2 Agent using the @tool decorator. Use when the user wants to give an Agent a new capability backed by Python code (API calls, DB queries, computations, file ops). Covers sync and async tools, parameter typing, Pydantic schema customisation, returning typed Input / ToolResult (text /…

not rated 12 2mo ago A 116 tokens original Apache-2.0

ag2-ag-ui

08

ag2ai/ag2-skills

Skill Claude CodeCodex

Expose an AG2 Agent over the AG-UI protocol so a frontend (CopilotKit, custom React/Next.js, or any AG-UI client) can stream responses (text and reasoning), render tool calls, sync shared state, and track sub-task steps. Wraps the agent with AGUIStream(agent) and mounts it in FastAPI via stream.dispatch(...) or…

not rated 12 2mo ago A 114 tokens original Apache-2.0

ag2-eval-comparison

09

ag2ai/ag2-skills

Skill Claude CodeCodex

Compare AG2 agents, models, or prompts to decide which is better. runvariants scores several named agents on one suite and ranks them on a leaderboard (Variants holds a mapping of named Agent instances plus an axis label). runpairwise with pairwisejudge does head-to-head LLM comparison using a dual-order position swap…

not rated 12 2mo ago A 190 tokens original Apache-2.0

ag2-evaluation

10

ag2ai/ag2-skills

Skill Claude CodeCodex

Evaluate, test, and track an AG2 Agent offline. Build a Suite of tasks, run the agent with runagent, and grade answers with prebuilt scorers (finalanswermatches, toolcalled, notoolerrors, tokenbudget) or a custom @scorer — including the agentjudge LLM judge. Read the RunResult scorecard (passrate, scorestats…

not rated 12 2mo ago A 173 tokens original Apache-2.0

ag2-hitl

11

ag2ai/ag2-skills

Skill Claude CodeCodex

Pause an AG2 Agent mid-run to collect human input via context.input(), or gate a tool call with approvalrequired() middleware. Use when the user wants the agent to ask for confirmation, request missing info (passwords, API keys, data), or have a human approve sensitive / irreversible / expensive tool calls (sending…

not rated 12 2mo ago A 81 tokens original Apache-2.0

ag2ai/ag2-skills

Skill Claude CodeCodex

Persist agent state across runs, shape what the LLM sees per turn, and cap history to fit a context window. Covers KnowledgeStore (memory / sqlite / disk / redis), KnowledgeConfig (store=, exposetool=, writeeventlog=, compact=, aggregate=, bootstrap=) and its opt-out flags, aggregation strategies…

not rated 12 2mo ago A 193 tokens original Apache-2.0

ag2-live

13

ag2ai/ag2-skills

Skill Claude CodeCodex

Build realtime voice / live audio agents with AG2's ag2.live module. Wrap a prompt + provider config in LiveAgent and open a bidirectional voice session with agent.run(), pumping mic audio in and playing synthesized speech out. Covers the two realtime providers — Gemini Live (GeminiRealTimeConfig) and OpenAI Realtime…

not rated 12 2mo ago A 208 tokens original Apache-2.0

ag2-mcp

14

ag2ai/ag2-skills

Skill Claude CodeCodex

Host an MCP server that exposes an AG2 Agent (plus prompts and resources) to MCP clients like Claude Desktop, Cursor, or the MCP Inspector. Wrap the agent with MCPServer(agent) — it surfaces Agent.ask() as a single conversational tool and serves over stdio (runstdio()) or streamable HTTP (it is itself an ASGI app for…

not rated 12 2mo ago A 209 tokens original Apache-2.0

ag2-middleware

15

ag2ai/ag2-skills

Skill Claude CodeCodex

Intercept the AG2 agent loop with BaseMiddleware — wrap full turns (onturn), each LLM call (onllmcall), each tool execution (ontoolexecution), or each human-input request (onhumaninput). Use for retry, logging, history trimming, request mutation, tool auditing, guardrails, or rate limiting. Built-ins…

not rated 12 2mo ago A 128 tokens original Apache-2.0

ag2ai/ag2-skills

Skill Claude CodeCodex

Send images, audio, video, or documents into an AG2 Agent alongside text. Pass ImageInput, AudioInput, VideoInput, or DocumentInput as positional args to agent.ask(...). Use when the user wants the agent to process non-text input — describe a photo, transcribe audio, summarise a PDF, analyse a video. Covers…

not rated 12 2mo ago A 138 tokens original Apache-2.0

ag2ai/ag2-skills

Skill Claude CodeCodex

Open an AG2 network discussion channel — N-party (2+) round-robin where each participant speaks in fixed order, cycling until explicit close or TTL. Use when the user wants a brainstorm with a fixed cast, a panel discussion, or round-robin reviewers. Covers agentclient.open(type="discussion", target=[...]…

not rated 12 2mo ago A 194 tokens original Apache-2.0

ag2ai/ag2-skills

Skill Claude CodeCodex

Govern an AG2 multi-agent network — identity (Passport, Resume), per-agent Rule with two top-level blocks access (AccessBlock) and limits (LimitsBlock, which nests RateBlock + InboxBlock), the swappable HubArbiter / RuleBasedArbiter access-&-routing seam, AuthAdapter / AuthRegistry registration, channel-level…

not rated 12 2mo ago A 264 tokens original Apache-2.0

ag2ai/ag2-skills

Skill Claude CodeCodex

Build a multi-agent AG2 network — load this whenever two or more Agents need to interact. The network is the standard multi-agent pattern in ag2. Covers Hub.open, LocalLink, HubClient.register, Passport, Resume, channel lifecycle (PENDING → ACTIVE → CLOSING → CLOSED), the two 2-party channel adapters (consulting for…

not rated 12 2mo ago A 206 tokens original Apache-2.0

ag2ai/ag2-skills

Skill Claude CodeCodex

Shape what an AG2 network agent perceives and which actions its LLM can take. Covers the five auto-injected LLM-facing tools that ship via NetworkPlugin (delegate, peers, channels, tasks, context) plus the adapter-owned say; replacing the default handler with agentclient.onenvelope(callback) (gateways, headless…

not rated 12 2mo ago A 274 tokens original Apache-2.0

ag2ai/ag2-skills

Skill Claude CodeCodex

Build an AG2 network workflow channel — the orchestrated N-party adapter driven by a declarative TransitionGraph. Use when the user needs conditional handoffs, multi-step pipelines, context-aware routing, feedback loops, or is migrating from the classic GroupChat + Agent.handoffs pattern. Covers TransitionGraph…

not rated 12 2mo ago A 222 tokens original Apache-2.0

ag2ai/ag2-skills

Skill Claude CodeCodex

Monitor an AG2 agent's stream — log events, detect repeated tool calls, track token spend, build trigger-driven observers, route observer alerts to the model, and halt on FATAL conditions. Covers @observer(...) (stateless), BaseObserver (stateful), built-ins (TokenMonitor, LoopDetector), Watch primitives (EventWatch…

not rated 12 2mo ago A 160 tokens original Apache-2.0

ag2-overview

23

ag2ai/ag2-skills

Skill Claude CodeCodex

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…

not rated 12 2mo ago A 82 tokens original Apache-2.0

ag2-quickstart

24

ag2ai/ag2-skills

Skill Claude CodeCodex

Build a minimal AG2 Agent end to end — pick a model provider, set a prompt, call agent.ask(), then continue the conversation with reply.ask() (multi-turn). Use when the user is starting a new AG2 project, has no working Agent yet, or needs the multi-turn chaining pattern. Covers OpenAIConfig, AnthropicConfig…

not rated 12 2mo ago A 106 tokens original Apache-2.0

At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: