pydantic-ai 1.96.0 released

Pydantic-ai 1.96.0 introduces V2 preparation changes, including the new `openai-chat:` prefix with warnings for bare `openai:` (which will switch to Responses API in v2), deprecation of `Agent(history_processors=)` in favor of `capabilities=[ProcessHistory(...)]`, and deprecation of method-style accessors like `result.usage()` for property-style equivalents. It also deprecates `AGUIApp`, `Agent.to_ag_ui()`, and related shims in favor of `AGUIAdapter`, signaling upcoming shifts for AI agent builders toward more standardized APIs.

pydantic-ai 1.96.0 is available. Release notes →

Pydantic-ai 1.96.0 introduces V2 preparation changes, including the new openai-chat: prefix with warnings for bare openai: (which will switch to Responses API in v2), deprecation of Agent(history_processors=) in favor of capabilities=[ProcessHistory(...)], and deprecation of method-style accessors like result.usage() for property-style equivalents. It also deprecates AGUIApp, Agent.to_ag_ui(), and related shims in favor of AGUIAdapter, signaling upcoming shifts for AI agent builders toward more standardized APIs.

What changed. 1.96.0 is the latest release.

Why it matters. Review the release notes for breaking changes before upgrading.

Builder takeaway. Pin your version or upgrade in a branch and run your eval suite before deploying.

The Agent Brief

Three things in agentic AI, every Tuesday.

What changed, what matters, what builders should do next. No hype. No paid placement.

More news