Skip to content

pydantic-ai

v2.11.0 Feature

This release adds 1 notable feature for engineering teams evaluating rollout.

βœ“ 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

Summary

AI summary

Updates πŸ› Bug Fixes, πŸš€ Features, and feat across a mixed release.

Changes in this release

Feature Low

Export `HistoryProcessor` and add actionable hints to usage-limit and tool-retry errors

Export `HistoryProcessor` and add actionable hints to usage-limit and tool-retry errors

Source: llm_adapter@2026-07-16

Confidence: high

β€”
Bugfix Medium

Fix `MistralStreamedResponse` to accept int‑valued numbers and reject bools in streamed validation

Fix `MistralStreamedResponse` to accept int‑valued numbers and reject bools in streamed validation

Source: llm_adapter@2026-07-16

Confidence: high

β€”
Bugfix Medium

Suggest `Agent('test')` when provider credentials are missing during onboarding

Suggest `Agent('test')` when provider credentials are missing during onboarding

Source: llm_adapter@2026-07-16

Confidence: high

β€”
Bugfix Medium

Transform native output schema for Anthropic when `default_structured_output_mode` is "native"

Transform native output schema for Anthropic when `default_structured_output_mode` is "native"

Source: llm_adapter@2026-07-16

Confidence: high

β€”
Bugfix Medium

Prevent Bedrock from sending untransformed schema when `default_structured_output_mode` is "native"

Prevent Bedrock from sending untransformed schema when `default_structured_output_mode` is "native"

Source: llm_adapter@2026-07-16

Confidence: high

β€”
Full changelog

What's Changed

πŸš€ Features

  • feat: export HistoryProcessor and add actionable hints to usage-limit and tool-retry errors by @DouweM in https://github.com/pydantic/pydantic-ai/pull/6346

πŸ› Bug Fixes

  • Fix MistralStreamedResponse streamed number/integer validation to accept int-valued numbers and reject bools by @pydanty[bot] in https://github.com/pydantic/pydantic-ai/pull/6479
  • fix(onboarding): suggest Agent('test') when provider credentials are missing by @DouweM in https://github.com/pydantic/pydantic-ai/pull/6342
  • fix(anthropic): transform native output schema when reached via profile={"default_structured_output_mode": "native"} by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/6521
  • Fix Bedrock profile={'default_structured_output_mode': 'native'} sending untransformed schema by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/6539

Full Changelog: https://github.com/pydantic/pydantic-ai/compare/v2.10.0...v2.11.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]