Source: GitHub Release

For End Users

Pydantic AI released v2.0.0b1, a beta that redesigns the framework around a "capability" primitive. A capability bundles an agent's tools, lifecycle hooks, instructions, and model settings into one composable unit.

The framework now has 17,000 GitHub stars. It targets Python developers who want type-safe agent workflows without heavy abstractions.

This beta is a stepping stone. Pydantic AI v1.100.0 shipped the same day with deprecation warnings for everything that v2 removes. The recommended path is to upgrade to v1.100.0 first, clear all warnings, then install the beta.

Stable v2.0 is expected within roughly two weeks.

For Engineers and Researchers

V2's core design shift is "capabilities as a core primitive." A whole extension, like a memory system or guardrail layer, reaches every layer of the agent through one concept you pass via capabilities=[...].

This moves configuration that used to be spread across Agent arguments onto a single primitive. It also enables behavior changes that v1's stability guarantee prevented.

Key behavior changes:

  • Bare pydantic-ai install ships fewer extras. Add providers like bedrock, groq, mistral explicitly.
  • openai: model names now use the OpenAI Responses API. Use openai-chat: to stay on Chat Completions.
  • WebSearch/WebFetch are native-only by default.
  • MCP(url=...) runs locally by default.
  • Default instrumentation is version 5 with aggregated token-usage span attributes.
  • capturerunmessages() now captures partial messages from interrupted runs.
  • Function tools requested alongside a successful output tool now run by default (end_strategy='graceful') instead of being skipped.

The upgrade path is well-documented. Most removals were deprecated in v1.100.0.

The Skeptical Take

Pydantic AI is riding the hype wave of structured output validation. That is a real problem, but it is also a narrow one. Capabilities are a clean abstraction, yet they add indirection. Debugging an agent with five capabilities is harder than debugging one with flat arguments.

The "harness-first design" language mirrors what Microsoft PromptKit and OpenAI Symphony are doing. The prompt engineering field is converging on composable primitives. Pydantic AI is not leading that trend. It is joining it.

The 17,000 stars are impressive for a Python framework, but stars do not equal production usage. Pydantic AI is still young. The v2 redesign suggests the v1 API was not quite right. That is healthy for a beta project. It is less reassuring if you built production systems on v1.

The two-week timeline for stable v2 is aggressive. Betas often slip. Do not pin production builds to the beta.

Word count: ~380

Written at: 2026-05-22T01:26:00Z