Pydantic AI is the typed Python agent SDK from the Pydantic team, now covering agents, realtime voice, image generation and embeddings with model choice as a string swap. The newer Pydantic AI Harness adds coding-agent capabilities (workspace file access, allowlisted shell) and Pydantic Evals grades outputs and tool-call trajectories. Type safety end to end is the reason to pick it over looser frameworks. The tradeoff: observability nudges you toward paid Logfire, and the surface area (SDK, Harness, Evals) has grown fast, so there is more to learn than the name suggests. MIT, about 21k stars, near-weekly releases.
You write Python services and want typed agent inputs and outputs with built-in evals.
Your stack is TypeScript; the Vercel AI SDK fits that world better than a Python-first library.
# Clone + explore: git clone https://github.com/pydantic/pydantic-ai cd pydantic-ai # Then read the README below for setup steps.
Inferred from package · always double-check against the official README below.