pydantic/pydantic-ai

How Python does AI. Agents, realtime voice, image generation, embeddings. Every model, every interface, typed end to end.

About the project

Pydantic AI is a typed Python SDK for building AI agents that can use different language models and interfaces, including voice, image generation, and embeddings. Developers use it for applications ranging from structured data extraction to long-running multi-agent work. The catalogue entries provide workflows and configuration for its coding-agent and harness features.

This repository also configures its own agents. See what pydantic-ai tells them →

21kStars on the repository
29Mods indexed here, across every type
todayLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown
▶ Pydantic AI 2.0: The New Best Way to Build AI Agents is Composing Capabilities Cole Medin · about pydantic/pydantic-ai · on YouTube →

pydantic/pydantic-ai

Skill Claude CodeCodex

Build AI agents with Pydantic AI — tools, capabilities (including on-demand loading), workspaces, structured output, streaming, testing, and multi-agent patterns. Use when the user mentions Pydantic AI, imports pydanticai, or asks to build an AI agent, add tools/capabilities, attach a workspace, defer capability…

not rated 21k +126 changed yesterday A Snyk: passSkillSpector: pass 92 tokens original MIT

pydantic/pydantic-ai

Skill Codex

Migrate Python LangChain, LangGraph, or Deep Agents applications to Pydantic AI and, when the source uses harness features, Pydantic AI Harness. Use for LangChain agents, chains, LCEL, direct LangGraph graphs, persistence, interrupts, streaming, and createdeepagent projects with planning, filesystem or sandbox…

not rated 21k +126 changed 1mo ago A SkillSpector: pass 100 tokens original MIT

pydantic/pydantic-ai

Skill Codex

Migrate Python applications from the Claude Agent SDK to Pydantic AI and, only when needed, Pydantic AI Harness. Use when source code imports claudeagentsdk or relies on Claude Code's agent loop, sessions, built-in tools, hooks, permissions, skills, or subagents. Do not use for the Anthropic Messages SDK or Claude…

not rated 21k +126 today A 90 tokens original MIT

pydantic/pydantic-ai

Skill Codex

Migrate Python Google Agent Development Kit (ADK) applications to Pydantic AI. Use for LlmAgent, Runner, sessions, state, memory, tools, callbacks, plugins, graph or dynamic workflows, resumability, events, artifacts, MCP, and ADK deployment boundaries.

not rated 21k +126 today A 72 tokens original MIT

pydantic/pydantic-ai

Skill Codex

Migrate TypeScript Mastra applications to Python with Pydantic AI and, only when needed, Pydantic AI Harness. Use when source code imports @mastra/ or relies on Mastra agents, tools, workflows, memory, processors, streaming, approvals, skills, or subagents.

not rated 21k +126 today A 73 tokens original MIT

pydantic/pydantic-ai

Skill Codex

Migrate Python OpenAI Agents SDK applications to Pydantic AI and, when warranted, Pydantic AI Harness. Use for agents.Agent, Runner, function tools, handoffs, guardrails, sessions, human approval, streaming, or SandboxAgent. Do not use for applications built directly on the OpenAI Responses API without the Agents SDK…

not rated 21k +126 today A 87 tokens original MIT

pydantic/pydantic-ai

Skill Codex

Migrate TypeScript Vercel AI SDK or Eve applications to Python with Pydantic AI and, only when needed, Pydantic AI Harness. Use when source code imports ai, @ai-sdk/, or eve, or relies on generateText, streamText, ToolLoopAgent, useChat, Eve agents, tools, skills, subagents, approvals, sessions, channels, schedules…

not rated 21k +126 today A 107 tokens original MIT

pydantic/pydantic-ai

Skill Codex

Migrate Python Agno applications to Pydantic AI and, only when needed, Pydantic AI Harness. Use when source code imports agno or relies on Agno agents, teams, workflows, sessions, memory, knowledge, tools, hooks, guardrails, approvals, skills, streaming, or AgentOS.

not rated 21k +126 today B 76 tokens original MIT

pydantic/pydantic-ai

Skill Codex

Migrate TypeScript Pi coding-agent applications, extensions, or packages to Python with Pydantic AI and Pydantic AI Harness. Use when source code imports @earendil-works/pi-, calls createAgentSession, registers Pi extensions, or relies on Pi tools, hooks, skills, sessions, compaction, providers, TUI, RPC, or packages.

not rated 21k +126 today A 88 tokens original MIT

pydantic/pydantic-ai

Skill Codex

Migrate Python LangChain Deep Agents applications to Pydantic AI and Pydantic AI Harness. Use when the source uses the upstream deepagents package or demonstrably reproduces its middleware, backends, skills, memory, subagents, or sandbox contracts. Use migrating-langchain-to-pydantic-ai for plain LangChain, LangGraph…

not rated 21k +126 today A 109 tokens original MIT

pydantic-ai-harness

11

pydantic/pydantic-ai

Skill Claude CodeCodex

Extend Pydantic AI agents with capabilities from pydantic-ai-harness -- the Coder coding agent, file and shell tools in local or sandboxed workspaces (Modal, E2B, Sprites, Daytona, smolvm, BoxLite), Code Mode, sub-agents and planning, memory and skills, context compaction, guardrails and spend limits, web research and…

not rated 21k +126 changed today A 192 tokens original MIT

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: