ag2ai

44 mods in 6 plugins, 4 repositories, 5.1k 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 17 2d ago 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 17 changed 5d 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 17 changed 18d 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 17 2d ago A 45 tokens original Apache-2.0

ag2-a2a

05

ag2ai/ag2-skills

Skill Claude CodeCodex

Serve an AG2 Agent over the Agent-to-Agent (A2A) protocol (a2a-sdk >= 1.3) and call remote A2A agents. Server: A2AServer(agent) then buildjsonrpc(url=) / buildrest(url=) (Starlette ASGI apps for uvicorn) or buildgrpc(bind=, grpcurl=, servercredentials=), publishing an AgentCard (buildcard) at…

not rated 12 changed 1mo ago A 288 tokens original Apache-2.0

ag2-acp

06

ag2ai/ag2-skills

Skill Claude CodeCodex

Agent Client Protocol (ACP) in both directions. CLIENT: drive CLI coding agents (Claude Code, Codex, OpenCode, Kilo Code) as AG2 Agents via ClaudeCodeConfig/CodexConfig/OpenCodeConfig/KiloCodeConfig/ACPConfig, or a remote agent via ACPRemoteConfig(url=, headers=); stream thinking/tool calls/plans (ACPPlan…

not rated 12 changed 1mo ago A 272 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) or needs tools to share state. Covers sync and async tools, @tool(timeout=...), parameter typing, Pydantic Field schema…

not rated 12 changed 1mo ago A 205 tokens original Apache-2.0

ag2-ag-ui

08

ag2ai/ag2-skills

Skill Claude CodeCodex

Expose an AG2 Agent over the AG-UI 1.0 protocol (ag-ui-protocol>=1.0) so a web frontend (CopilotKit, @ag-ui/client HttpAgent, custom React/Next.js) or a CopilotKit Channel (Slack etc.) can stream text, render backend and frontend tool calls, sync shared state, see delegations, and answer human-in-the-loop interrupts.…

not rated 12 changed 1mo ago B 261 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 changed 1mo 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 changed 1mo ago A 209 tokens original Apache-2.0

ag2-hitl

11

ag2ai/ag2-skills

Skill Claude CodeCodex

Pause an AG2 Agent mid-run for human input via context.input() + hitlhook, or gate a tool call with approvalrequired() (ApprovalRequired) tool middleware. The hook receives a HumanInputRequest; approvals arrive as ToolApprovalRequest (1.3.0) carrying toolcallid, so a programmatic approver can look up the tool name and…

not rated 12 changed 1mo ago A 189 tokens original Apache-2.0

ag2ai/ag2-skills

Skill Claude CodeCodex

Persist agent memory across runs, shape per-turn LLM context, cap history in AG2. Covers KnowledgePlugin (plugins=[KnowledgePlugin(store, exposetool=, aggregate=, compact=, ...)]), stores MemoryKnowledgeStore, SqliteKnowledgeStore, DiskKnowledgeStore (needs watchdog), RedisKnowledgeStore (ag2[redis])…

not rated 12 changed 1mo ago A 237 tokens original Apache-2.0

ag2-live

13

ag2ai/ag2-skills

Skill Claude CodeCodex

Build voice agents with AG2's ag2.live module. Three patterns: (1) turn-by-turn STT → Agent → TTS — OpenAITranscriber / ElevenLabsTranscriber / MistralTranscriber .pipe(agent) (VoicePipeline, VoiceInput) plus TTSObserver with OpenAITTSConfig, ElevenLabsStreamingTTSConfig, MistralTTSConfig and friends; (2) realtime…

not rated 12 changed 1mo ago A 253 tokens original Apache-2.0

ag2-mcp

14

ag2ai/ag2-skills

Skill Claude CodeCodex

Serve an AG2 Agent as an MCP server (mcp SDK 2.x) for Claude Desktop, Cursor, the MCP Inspector or any MCP client, and consume an external MCP server from an agent. Server side: MCPServer(agent) exposes Agent.ask() as one ask tool with conversation handles, over stdio (runstdio()) or streamable HTTP (it is an ASGI app…

not rated 12 changed 1mo ago C 299 tokens original Apache-2.0

ag2-middleware

15

ag2ai/ag2-skills

Skill Claude CodeCodex

Intercept the AG2 agent loop with BaseMiddleware hooks — onturn, onllmcall, ontoolexecution, onhumaninput — registered via Agent(middleware=[...]) or ask(middleware=[...]). Custom subclasses are passed as the CLASS or Middleware(Cls, kwargs), never an instance. Covers getting per-turn state out (shared object via…

not rated 12 changed 1mo ago A 226 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 the…

not rated 12 changed 1mo ago A 195 tokens original Apache-2.0

ag2ai/ag2-skills

Skill Claude CodeCodex

Open an AG2 network discussion channel — N-party (2+) round-robin where participants speak in a fixed order, cycling until explicit close or TTL. Use for a brainstorm or panel with a fixed cast, debate in turns, or round-robin reviewers. Covers agentclient.open(type="discussion", target=[...], knobs={"ordering"…

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

ag2ai/ag2-skills

Skill Claude CodeCodex

Govern an AG2 multi-agent network hub-side: identity (Passport, Resume, ObservedStat), per-agent Rule (AccessBlock, LimitsBlock with nested RateBlock / InboxBlock), the swappable HubArbiter / RuleBasedArbiter / BaseHubArbiter (Allow / Deny) gate, AuthRegistry / AuthAdapter / ApiKeyAuth / NoAuth registration auth…

not rated 12 changed 1mo ago A 280 tokens original Apache-2.0

ag2ai/ag2-skills

Skill Claude CodeCodex

Build a multi-agent AG2 network — load whenever two or more Agents (or an agent and a human/UI) need to interact; the network is the standard multi-agent pattern in ag2. Covers Hub.open, LocalLink, HubClient.register / registerhuman, AgentClient, HumanClient, Passport, Resume, channel lifecycle (PENDING → ACTIVE →…

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

ag2ai/ag2-skills

Skill Claude CodeCodex

Agent-side AG2 network surface: the NetworkPlugin LLM tools (delegate, peers, channels, tasks, context) and the adapter-owned say, tool injects (ChannelInject, AgentClientInject, HubInject, TaskInject), replacing the notify handler via agentclient.onenvelope(...) + defaulthandler and hooks (readwaluntil…

not rated 12 changed 1mo ago A 250 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 for conditional handoffs, pipelines (researcher → writer → editor), triage/routing, drafter ↔ reviewer feedback loops, coordinator + specialists, or migrating from classic GroupChat / Agent.handoffs /…

not rated 12 changed 1mo ago A 241 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 (including sub-agents), build trigger-driven observers, route alerts to the model, and halt on FATAL alerts. Covers @observer(...) (stateless), BaseObserver (stateful, process(), timeout=), built-ins TokenMonitor and…

not rated 12 changed 1mo ago A 247 tokens original Apache-2.0

ag2-overview

23

ag2ai/ag2-skills

Skill Claude CodeCodex

Map of AG2 (ag2 1.3) 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, model config, tools, MCP, delegation/subagents, memory and context assembly, middleware, observers, structured output, HITL approval…

not rated 12 changed 1mo ago A 120 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 config, set a prompt, call agent.ask(), read reply.body, then continue the conversation with reply.ask() (multi-turn). Use when the user is starting a new AG2 project, has no working Agent yet, needs the multi-turn chaining pattern, or asks which provider…

not rated 12 changed 1mo ago A 233 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: