Skip to content

pydantic-ai

v1.96.0 Maintenance

This release keeps dependencies and maintenance posture current for teams operating this tool.

✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

agent-framework genai llm pydantic python

ReleasePort's take

Light signal
editorial:auto 13d

Version v1.96.0 of pydantic‑ai introduces several deprecations to prepare for upcoming v2 changes.

Why it matters: Deprecate Agent(history_processors=), method‑style result usage access, AGUIApp, OutlinesModel and OutlinesProvider; migrate code before the next major release (v2).

Summary

AI summary

Deprecations announced for upcoming v2 changes.

Changes in this release

Deprecation Medium

Adds openai-chat: prefix; warns on bare openai: for v2 behavior switch

Adds openai-chat: prefix; warns on bare openai: for v2 behavior switch

Source: llm_adapter@2026-05-21

Confidence: high

Deprecation Medium

Deprecates Agent(history_processors=) in favor of capabilities=[ProcessHistory(...)]

Deprecates Agent(history_processors=) in favor of capabilities=[ProcessHistory(...)]

Source: llm_adapter@2026-05-21

Confidence: high

Deprecation Medium

Deprecates method-style result.usage(), result.timestamp(), stream.get() access

Deprecates method-style result.usage(), result.timestamp(), stream.get() access

Source: llm_adapter@2026-05-21

Confidence: high

Deprecation Medium

Deprecates AGUIApp, Agent.to_ag_ui(), pydantic_ai.ag_ui in favor of AGUIAdapter

Deprecates AGUIApp, Agent.to_ag_ui(), pydantic_ai.ag_ui in favor of AGUIAdapter

Source: llm_adapter@2026-05-21

Confidence: high

Deprecation Medium

Deprecates OutlinesModel and OutlinesProvider classes

Deprecates OutlinesModel and OutlinesProvider classes

Source: llm_adapter@2026-05-21

Confidence: high

Full changelog

What's Changed

🆕 V2 Preparation (coming in June)

  • Add openai-chat: prefix and warn on bare openai: which will switch to use the Responses API in v2 by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/5334
  • Deprecate Agent(history_processors=) in favor of capabilities=[ProcessHistory(...)] by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/5425
  • Deprecate method-style result.usage(), result.timestamp(), stream.get() in favor of property-style result.usage, result.timestamp, stream.response by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/5263
  • Deprecate AGUIApp, Agent.to_ag_ui(), and pydantic_ai.ag_ui shim in favor of AGUIAdapter by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/5345
  • Deprecate OutlinesModel and OutlinesProvider by @DouweM in https://github.com/pydantic/pydantic-ai/pull/5432

Full Changelog: https://github.com/pydantic/pydantic-ai/compare/v1.95.1...v1.96.0

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track pydantic-ai

Get notified when new releases ship.

Sign up free

About pydantic-ai

AI Agent Framework, the Pydantic way

All releases →

Related context

Earlier breaking changes

  • v1.95.0 rename ‘built-in tools’ to ‘native tools’, deprecate old fields, register via capabilities=[NativeTool(...)]

Beta — feedback welcome: [email protected]