pydantic-ai
AI Agent Framework, the Pydantic way
Python teams that want type-safe agent development with the Pydantic philosophy.
You are not working in Python.
About pydantic-ai
FastAPI revolutionized web development by offering an innovative and ergonomic design, built on the foundation of Pydantic Validation and modern Python features like type hints.
Yet despite virtually every Python agent framework and LLM library using Pydantic Validation, when we began to use LLMs in Pydantic Logfire, we couldn't find anything that gave us the same feeling.
We built Pydantic AI with one simple aim: to bring that FastAPI feeling to GenAI app and agent development.
pydantic-ai is an open-source project written primarily in Python, with 18k stars on GitHub. It was last updated in July 2026.
