v1.95.0

pydantic/pydantic-aiv1.95.0May 13, 2026by DouweM

AI Summary

Adds native tool search, instrumentation capability, and Google structured output support.

Key Highlights

  • Native Tool Search on Anthropic and OpenAI
  • Add Instrumentation capability
  • Support structured output + tool combination for Gemini 3
  • Rename 'built-in tools' to 'native tools'
  • Add local= opt-in for provider-adaptive capability fallback

New Features

  • Native Tool Search
  • Instrumentation capability
  • Google structured output support
  • Native tools rename

Full Release Notes

<!-- Release notes generated using configuration in .github/release.yml at main -->

## What's Changed
### 🚀 Features
* feat: native Tool Search on Anthropic and OpenAI, with custom search strategies on any provider by @DouweM in https://github.com/pydantic/pydantic-ai/pull/5143
* Add `Instrumentation` capability; deprecate `Agent(instrument=...)` by @DouweM in https://github.com/pydantic/pydantic-ai/pull/4967
* feat(google): support structured output + tool combination for Gemini 3 by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/4848
### 🆕 V2 Preparation (coming in June)
* Rename “built-in tools” to “native tools”; deprecate old fields; register via `capabilities=[NativeTool(...)]` by @DouweM in https://github.com/pydantic/pydantic-ai/pull/5338
* Add `local=` opt-in for provider-adaptive capability fallback; deprecate auto-fallback by @DouweM in https://github.com/pydantic/pydantic-ai/pull/5331
### 🐛 Bug Fixes
* Restore ability to swap the Bedrock client at runtime by @DouweM in https://github.com/pydantic/pydantic-ai/pull/5392
* fix(anthropic): normalize Bedrock model IDs for capability profile lookup by @DouweM in https://github.com/pydantic/pydantic-ai/pull/5395
* fix(vercel_ai): emit `tool-input-(available|error)` on `FunctionToolCallEvent` by @sadra-barikbin in https://github.com/pydantic/pydantic-ai/pull/5292
### 📦 Dependencies
* Reinstate `mistral` as default dependency, exclude compromised 2.4.6 by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/5393

## New Contributors
* @sadra-barikbin made their first contribution in https://github.com/pydantic/pydantic-ai/pull/5292

**Full Changelog**: https://github.com/pydantic/pydantic-ai/compare/v1.94.0...v1.95.0