python Pydantic AI Releases · · 2.35.0

Pydantic-AI v2.35.0 Adds Features, Fixes Bugs, and Deprecates `RunContext` APIs

sdkaideprecationengineerpython-agentic
feature patch

Pydantic-AI version 2.35.0 has been released, introducing several updates for developers. This version deprecates `RunContext.capability_loaded` and `available_capability_ids` in favor of new `capability_active` and `active_capability_ids` methods, impacting API compatibility. It also reduces the default Temporal metric export frequency, which may affect monitoring configurations. Additionally, the release includes bug fixes, such as ensuring explicit empty `Tool` descriptions are preserved.

  • Reduce the default Temporal metric export frequency by @dmontagu in https://github.com/pydantic/pydantic-ai/pull/7768
Features (1)
  • Reduce the default Temporal metric export frequency by @dmontagu in https://github.com/pydantic/pydantic-ai/pull/7768
Fixes (1)
  • Preserve explicit empty Tool description instead of falling back to the function docstring by @mpfaffenberger in https://github.com/pydantic/pydantic-ai/pull/7759

Read the original announcement →

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

Related releases