← All agents

Agent frameworks

Pydantic AI

Type-safe Python agent framework from the Pydantic team.

Official site →

Best for

build your own agentopen source

Recent updates

  • 2026-11-03 Pydantic AI v2.65.0 (November 3, 2026) falls back to the next model in ModelFallback when a model refuses, and counts BrowserUse model calls toward the host run's usage and UsageLimits. Source

Setup example

pip install pydantic-ai, then Agent('openai:gpt-4o').run_sync('your prompt').

Compare Pydantic AI

vs OpenAI Agents SDK