All open source
Open SourceAgents12k

Pydantic AI

A type-safe agent framework from the team behind Pydantic.

Pydantic AI is a Python agent framework built by the Pydantic team that brings the FastAPI feel of ergonomic, type-checked development to building production LLM applications. It is model-agnostic, validates structured outputs with Pydantic models, and integrates dependency injection, tools, and durable execution with first-class observability via Logfire. It has become a popular choice for engineers who want type safety and testability in agent code.

Repository

pydantic/pydantic-ai

Language

Python

What you'd build with it

  • Build agents that return validated, strongly-typed structured outputs
  • Inject dependencies and tools into agents the way you would in FastAPI
  • Instrument and debug agent runs with OpenTelemetry and Logfire observability

Tags

pydantictype-safestructured-outputagents