Build AI agents with Pydantic AI — tools, capabilities, structured output, streaming, testing, and multi-agent patterns. Use when the user mentions Pydantic…
Building AI Agents with Pydantic AI Pydantic AI is a Python agent framework for building production-grade Generative AI applications. This skill provides patterns, architecture guidance, and tested code examples for building applications with Pydantic AI. When to Use This Skill Invoke this skill when: User asks to build an AI agent, create an LLM-powered app, or mentions Pydantic AI User wants to add tools, capabilities (thinking, web search), or structured output to an agent User asks to define agents from YAML/JSON specs or use template strings User wants to stream agent events, delegate between agents, or test agent behavior Code imports pydantic_ai or references Pydantic AI classes (Agent, RunContext, Tool) User asks about hooks, lifecycle interception, or agent observability with Logfire Do not use this skill for: The Pydantic validation library alone (pydantic/BaseModel without agents) Other AI frameworks (LangChain, LlamaIndex, CrewAI, AutoGen) General Python development unrelated to AI agents
don't have the plugin yet? install it then click "run inline in claude" again.