pydantic-ai

Type-safe Python agents with Pydantic I/O; multi-provider, MCP, Logfire observability, and human-in-the-loop.

mcptypedprovider-agnosticpython
Stars
21k
Adoption surface
slightly complex
Autonomy
bounded
Recovery
durable
License
✅ open-source
Category
Libraries and SDKs

Repository ↗ Example: Bank support agent ↗

Related in Libraries and SDKs

Maintain pydantic-ai? Add the badge

Best of Agent Harnesses

Paste this into your README so readers can find the list and see how pydantic-ai compares:

[![Best of Agent Harnesses](https://img.shields.io/badge/%F0%9F%8F%86_Best_of-Agent_Harnesses-5ac4bf)](https://github.com/RyanAlberts/best-of-Agent-Harnesses)