
ag2ai/resource-hub
4 skills4 installs16 starsGitHub
Install
npx skills add https://github.com/ag2ai/resource-hubSkills in this repo
1Ag2 ArchitectThis skill acts as an AG2 architecture advisor that helps design multi-agent systems with the AG2 framework. Given a problem description, it identifies the agents needed, chooses the right pattern (DefaultPattern, AutoPattern, or RoundRobinPattern), defines the communication flow and handoffs, recommends tools, and produces a complete runnable AG2 Python script. A developer uses it when planning the structure of a multi-agent AG2 application.1installs2Ag2 ImportsThis skill documents the correct import paths and module structure for the AG2 framework. It clarifies that the package is ag2 (not autogen) and shows how to import core agents (AssistantAgent, UserProxyAgent, ConversableAgent), LLMConfig, group-chat helpers (run_group_chat, DefaultPattern, AutoPattern, RoundRobinPattern), and the @tool decorator. A developer uses it to avoid common import mistakes such as import autogen or using GroupChat/config_list dicts.1installs3Fastapi Project StructureThis skill defines a standard directory layout and module organization for FastAPI applications. It lays out app/ with api, models, schemas, deps, services, and db packages, plus tests and Alembic migrations, and shows key files like main.py, the v1 router, config, and a DB session dependency. A developer uses it to scaffold a FastAPI project with clear conventions such as keeping ORM models and Pydantic schemas separate and moving business logic into services.1installs4Fullstack ArchitectureThis skill defines the architecture, directory layout, and communication protocol for a full-stack multi-agent application. The backend uses FastAPI and AG2 with Pydantic; the frontend uses React 19, TypeScript, and Vite; and they communicate over a single WebSocket at /ws/chat with a defined JSON message format. A developer uses it to structure an app where a 3-agent AG2 team (planner, coder, reviewer) streams messages to a React chat UI.1installs