python Pydantic AI Releases · · 2.33.0

pydantic-ai v2.33.0 Enhances Anthropic SDK Compatibility, Resolves Runtime Issues

sdkaigaengineerpython-agentic
feature patch announcement

pydantic-ai v2.33.0 introduces full compatibility with `anthropic>=1.0.0`, which now leverages `httpx2` for its underlying HTTP client. This release resolves critical runtime failures that occurred when previous `pydantic-ai` versions allowed `anthropic` 1.0.0 installations without proper `httpx2` support. Developers using Anthropic models with `pydantic-ai` are affected and should upgrade to avoid breakage. Users needing to remain on older `pydantic-ai` versions must pin `anthropic<1`; custom HTTP clients for `AnthropicProvider` now require an `httpx2.AsyncClient`.

Read the original announcement →

https://github.com/pydantic/pydantic-ai/releases/tag/v2.33.0

Related releases