← Registry
Harness Official

Pydantic AI

A Python agent framework from the Pydantic team — type-safe, model-agnostic agents for production GenAI applications.

Install

via Positronick CLI

$positronick harness install pydantic-ai --run

Official

$pip install pydantic-ai

Pydantic AI is a Python agent framework from the team behind Pydantic, bringing the ergonomic, type-safe design of FastAPI to GenAI. It offers fully type-checked agents, model-agnostic support across major providers, composable capabilities (tools, hooks, instructions, and MCP), dependency injection, structured outputs validated by Pydantic, and a graph API for complex control flow. Agents can be defined in code or entirely in YAML/JSON. Install with `pip install pydantic-ai`.