Pydantic AI is an open-source Python framework (MIT licence) for AI agents, built by the team behind Pydantic. It offers typed agents with structured outputs, typed dependency injection and tools, support for MCP and web search, and durable execution through engines such as Temporal, DBOS and Prefect. Models from OpenAI, Anthropic, Google, Bedrock, Groq, Mistral, Ollama and others can be swapped with a string. Optional extras are a Pydantic AI Gateway and Logfire, an observability platform based on OpenTelemetry.
The contracting entity, Pydantic Services Inc., has a US notice address (Delaware) and uses New York law; the press has described the company as UK-based. The library runs inside your own application. Logfire is hosted in two separate regions: the EU on Google Cloud in the Netherlands (europe-west4) and the US (us-east4); a self-hosted enterprise option also exists. The privacy policy refers to the GDPR and relies on standard contractual clauses for transfers. With external model providers, they determine where prompts are processed.