github pydantic/pydantic-ai v2.0.0b5
v2.0.0b5 (2026-06-02)

pre-release6 hours ago

🚀 Pydantic AI V2 Beta 5 is here!

For more information on Pydantic AI V2, see the release notes for v2.0.0b1 and the Upgrade Guide.

Beta 5 adds no new breaking or v2-specific changes, but pulls in these changes from v1.105.0:

What's Changed

🚀 Features

  • feat: On-demand (deferred loading) capabilities, including instructions, tools, model settings, and hooks by @adtyavrdhn in #5230
  • Add Grok 4.3 reasoning_effort support and current xAI model names by @adtyavrdhn in #5454

🐛 Bug Fixes

  • Fix gateway/ model construction inside a Temporal workflow by passing provider SDKs through the sandbox by @adtyavrdhn in #5733
  • Fix GoogleModelSettings.google_cached_content so request omits system_instruction, tools, and tool_config by @gaurav0107 in #5681

New Contributors

Full Changelog: v2.0.0b4...v2.0.0b5

Don't miss a new pydantic-ai release

NewReleases is sending notifications on new releases.