github pydantic/pydantic-ai v2.33.0
v2.33.0 (2026-08-20)

2 hours ago

⚠️ If Anthropic stopped working for you in the last day

anthropic 1.0.0 — rebuilt on httpx2, with legacy httpx support removed — reached PyPI on August 20. Every earlier pydantic-ai release, including v2.32.2 cut a few hours before this one, allowed that version without supporting it: a fresh or unpinned install of pydantic-ai[anthropic] could resolve anthropic 1.0.0 and then fail at runtime when using an Anthropic model. Apologies for the breakage window.

  • Fix: upgrade to pydantic-ai v2.33.0, which requires and supports anthropic>=1.0.0.
  • If you need to stay on an older pydantic-ai: pin anthropic<1.

If you pass your own http_client to AnthropicProvider, it must now be an httpx2.AsyncClient — the 1.x SDK rejects legacy httpx clients at construction.

What's Changed

⚠️ Compatibility Notes

Full Changelog: v2.32.2...v2.33.0

Don't miss a new pydantic-ai release

NewReleases is sending notifications on new releases.