Skip to main content
plugin

pydantic-ai — Claude Code plugin: Pydantic AI agent code

A Claude plugin that steers Claude toward correct Pydantic AI code: patterns, decision trees and notes on common pitfalls.

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin install pydantic-ai@claude-plugins-official
/plugin marketplace add anthropics/claude-plugins-community
/plugin install pydantic-ai@claude-community
/plugin marketplace add anthropics/claude-plugins-official
Open on GitHub

What pydantic-ai does

The plugin ships a skill for Pydantic AI. SKILL.md covers the basics: agents, tools, structured output, testing and multi-agent setups. Companion references go into hooks, specs, streaming, fallback models and delegation.

Migration skills sit alongside, one per source framework: LangChain and LangGraph, Anthropic Agents SDK, Google ADK, Mastra, Agno, Pi, Claude Agent SDK, Vercel AI SDK and Eve. That suits a codebase you want to port rather than rewrite by hand.

It targets Claude only. Pydantic does not list it as a Claude plugin, yet Claude users can pick up a standalone cross-agent skill under skills/building-pydantic-ai-agents/.

What it helps with

  • write Pydantic AI agents without guessing at patterns
  • wire up tools and structured output correctly
  • handle streaming and fallback models
  • port an existing LangChain app to Pydantic AI
  • build and test a multi-agent system

Example prompts for the agent

  • Build a Pydantic AI agent with two tools and structured output
  • Show me how to set up streaming responses in Pydantic AI
  • Port this LangGraph app over to Pydantic AI

How to install pydantic-ai

Plugin marketplace

/plugin install pydantic-ai@claude-plugins-official
/plugin marketplace add anthropics/claude-plugins-community
/plugin install pydantic-ai@claude-community
/plugin marketplace add anthropics/claude-plugins-official

Step by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own

Questions about pydantic-ai

How do I install pydantic-ai in Claude Code?

From the marketplace: run /plugin marketplace add anthropics/claude-plugins-official first, then /plugin install pydantic-ai@claude-plugins-official.

What does pydantic-ai do?

It gives Claude reference material for Pydantic AI — agents, tools, structured output, testing, multi-agent apps — plus skills for migrating from other frameworks.

Can I use it with Claude?

Pydantic's marketplace does not list a Claude plugin. Claude users can use the standalone cross-agent skill in skills/building-pydantic-ai-agents/ instead.

Source text

ai · MIT
# ai

Build production-grade AI agents with [Pydantic AI](https://ai.pydantic.dev/).

## 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/`.

© pydantic · MIT · pydantic/skills

Similar plugins

All plugins for AI and ML →

From the same set13

logfire-query Queries and analyzes Logfire telemetry data directly from your AI agent. It handles traces, logs, error root causes, and metrics via SQL. CX Codex +1 1,900installs logfire-ui Opens Logfire project pages, live views, and traces directly in the browser without fetching telemetry first. CX Codex +1 1,600installs logfire-setup Takes a broad "set up Logfire" request and routes the agent to the right specialist: app instrumentation, infrastructure, evals, frontend, Gateway. CX Codex +1 555installs logfire-evals Runs offline Python and Node.js evaluations, reviews them in Logfire, and redirects existing Braintrust suites. CX Codex +1 554installs migrating-langchain-to-pydantic-ai A skill that moves Python apps off LangChain, LangGraph and Deep Agents onto Pydantic AI. Useful when you want to keep the behavior and drop the framework shape. CX Codex +1 314installs migrating-vercel-ai-sdk-and-eve-to-pydantic-ai Moves TypeScript Vercel AI SDK or Eve apps to Python with Pydantic AI. Useful when the goal is keeping behavior, not the source APIs. CX Codex +1 306installs migrating-claude-agent-sdk-to-pydantic-ai A skill that walks a Python app off the Claude Agent SDK and onto Pydantic AI. Useful when your code imports claude_agent_sdk. CX Codex +1 308installs migrating-mastra-to-pydantic-ai A skill that moves TypeScript Mastra apps to Python with Pydantic AI. Use it when source code imports @mastra/* or relies on Mastra agents, tools, workflows, memory, or streaming. CX Codex +1 304installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor