All Skills
Automation & WorkflowClaude Plugins (Official)

pydantic ai — Agent Skill

by pydantic · Updated

Write accurate Pydantic AI code from the start. Up-to-date patterns, decision trees, and common gotchas for agents, tools, structured output, streaming, and multi-agent apps.

At a glance

pydantic-ai is an Agent Skill by pydantic in the Automation & Workflow category. In Claude Code it installs with `/plugin install pydantic-ai@claude-plugins-official` after adding the anthropics/claude-plugins-official marketplace; other assistants use its SKILL.md instructions as rules. Its source repository has 146 GitHub stars (as of Oct 28, 2026).

Source 146GitHub stars

How to install pydantic ai in your AI client

Setup for Claude Code, Claude Desktop, Cursor, Codex, Windsurf, Cline and VS Code — copy-paste ready.

How to install pydantic ai in Claude CodeAnthropic's agentic CLI

  1. Add the marketplace

    claude
    /plugin marketplace add anthropics/claude-plugins-official
  2. Install the skill

    claude
    /plugin install pydantic-ai@claude-plugins-official
  3. Use it

    These are slash commands for a Claude Code session, not your shell. Claude auto-invokes the skill when your request matches its description — or type its slash command if it exposes one.

Documentation

Full README

ai

Build production-grade AI agents with Pydantic AI.

Features

  • SKILL.md with core Pydantic AI patterns (agents, tools, capabilities, structured output, testing, multi-agent systems)
  • Reference docs for common tasks (hooks, specs, streaming, fallback models, delegation)
  • Migration skills for porting an existing application from another framework, one per source framework: LangChain and LangGraph, the OpenAI Agents SDK, Google ADK, Mastra, Agno, Pi, the Claude Agent SDK, and the Vercel AI SDK and Eve

Install

bash
claude plugin marketplace add pydantic/skills
claude plugin install ai@pydantic-skills

Codex

ai is not currently listed as a Codex plugin in the Pydantic marketplace. Codex users can still use the standalone cross-agent skill at skills/building-pydantic-ai-agents/.

More Automation & Workflow skills

Catalog data refreshed . Something wrong? Report it.