Description
# Pydantic AI Slim [](https://github.com/pydantic/pydantic-ai/actions/workflows/ci.yml?query=branch%3Amain) [](https://coverage-badge.samuelcolvin.workers.dev/redirect/pydantic/pydantic-ai) [](https://pypi.python.org/pypi/pydantic-ai-slim) [](https://github.com/pydantic/pydantic-ai) [](https://github.com/pydantic/pydantic-ai/blob/main/LICENSE) Pydantic AI core logic with minimal required dependencies. For more information on how to use this package see [ai.pydantic.dev/install](https://ai.pydantic.dev/install/).
Release History
| Version | Changes | Urgency | Date |
|---|---|---|---|
| 1.85.0 | Imported from PyPI (1.85.0) | Low | 4/21/2026 |
| v1.85.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * Online evaluation via OpenTelemetry events by @dmontagu in https://github.com/pydantic/pydantic-ai/pull/5125 **Full Changelog**: https://github.com/pydantic/pydantic-ai/compare/v1.84.1...v1.85.0 | High | 4/21/2026 |
| v1.84.1 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🐛 Bug Fixes * Skip tool hooks for internal output tools by @DouweM in https://github.com/pydantic/pydantic-ai/pull/5128 * Always pass `dict`-shaped validated args to hooks for single-`BaseModel` tools by @DouweM in https://github.com/pydantic/pydantic-ai/pull/5137 **Full Changelog**: https://github.com/pydantic/pydantic-ai/compare/v1.84.0...v1.84.1 | High | 4/18/2026 |
| v1.84.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### :lock: Security * Fix exponential-time regex in Google `FileSearchTool` response parsing by @DouweM in #5106. This was first released in yesterday's v1.83.0. The pattern was reachable in principle from Gemini streaming responses but could not be triggered via real Gemini output in testing, so we're treating it as a hardening fix rather than a vulnerability. ### 🚀 Features * Add Claud | High | 4/17/2026 |
| v1.83.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## 🤖 [Pydantic AI Harness](https://github.com/pydantic/pydantic-ai-harness) is now live with [**Code Mode**](https://github.com/pydantic/pydantic-ai-harness/tree/main/pydantic_ai_harness/code_mode) powered by [Monty](https://github.com/pydantic/monty)! ## What's Changed ### 🚀 Features * feat: Add `XSearchTool` and `FileSearch` support for xAI by @colesmcintosh in https://github.com/pydantic/pydantic-ai/ | High | 4/16/2026 |
| v1.82.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## 🤖 [Pydantic AI Harness](https://github.com/pydantic/pydantic-ai-harness) is now live with [**Code Mode**](https://github.com/pydantic/pydantic-ai-harness/tree/main/pydantic_ai_harness/code_mode) powered by [Monty](https://github.com/pydantic/monty)! ## What's Changed ### 🐛 Bug Fixes * Fix OpenAI compaction chain when `openai_previous_response_id='auto'` by @DouweM in https://github.com/pydantic/pyd | High | 4/15/2026 |
| v1.81.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## 🤖 [Pydantic AI Harness](https://github.com/pydantic/pydantic-ai-harness) is now live with [**Code Mode**](https://github.com/pydantic/pydantic-ai-harness/tree/main/pydantic_ai_harness/code_mode) powered by [Monty](https://github.com/pydantic/monty)! ## What's Changed ### 🐛 Bug Fixes * Fix Anthropic compaction usage totals by @pandego in https://github.com/pydantic/pydantic-ai/pull/5068 * Exclude `ru | Medium | 4/14/2026 |
| v1.80.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * Add `CapabilityOrdering` (`innermost`, `outermost`, `wraps`, wrapped_by`, `requires`) by @DouweM in https://github.com/pydantic/pydantic-ai/pull/5036 * `Hooks` ordering parameter and instance refs in `wraps`/`wrapped_by` by @DouweM in https://github.com/pydantic/pydantic-ai/pull/5048 * Add server-side compaction support via `OpenAICompaction` and `AnthropicCompaction` ca | Medium | 4/10/2026 |
| v1.79.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * Full support for AG-UI 0.1.13 and 0.1.15: reasoning, multi-modal, `dump_messages` by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/3971 * Replace HTTP client cache with `create_async_http_client` and context manager by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/4421 * Add `apply()` to `AbstractCapability`, `CombinedCapability`, and `WrapperCa | Medium | 4/10/2026 |
| v1.78.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * Add cached token span attributes per OTel spec by @alexmojaki in https://github.com/pydantic/pydantic-ai/pull/5013 * feat: add `return_schema` and `function_signature` to `ToolDefinition` by @adtyavrdhn in https://github.com/pydantic/pydantic-ai/pull/4964 * feat: add `SetToolMetadata` capability by @DouweM in https://github.com/pydantic/pydantic-ai/pull/4964 ## New Co | Medium | 4/8/2026 |
| v1.77.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * feat: add local `WebFetch` tool and have `WebFetch` capability use it when provider lacks builtin support by @DEENUU1 in https://github.com/pydantic/pydantic-ai/pull/4906 * Add `defer_loading` to tools and toolsets to enable tool search by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/4090 * Add `ThreadExecutor` capability and `Agent.using_thread_executor()` | Medium | 4/3/2026 |
| v1.76.0 | ## What's Changed ### 🚀 Features * Have `ImageGeneration` capability auto-fallback to subagent with imagegen model if main model lacks imagegen by @DouweM in https://github.com/pydantic/pydantic-ai/pull/4910 * Add `agent` to `RunContext` by @DouweM in https://github.com/pydantic/pydantic-ai/pull/4922 ### 🐛 Bug Fixes * Include `gen_ai.operation.name` span attribute in agent runs by @adriangb in https://github.com/pydantic/pydantic-ai/pull/4936 ### 📦 Dependencies * Update Mistral integra | Medium | 4/2/2026 |
| v1.75.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * Feat(embeddings): types and limits for gemini-embedding-2-preview by @yorickvP in https://github.com/pydantic/pydantic-ai/pull/4874 * Implement support for Flex PayGo with VertexAI by @ewjoachim in https://github.com/pydantic/pydantic-ai/pull/4312 ### 🐛 Bug Fixes * Stop stripping TTL from cache control for Bedrock clients by @fuyi in https://github.com/pydantic/pydanti | Medium | 4/1/2026 |
| v1.74.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * feat: online evaluation infrastructure for pydantic-evals by @dmontagu in https://github.com/pydantic/pydantic-ai/pull/4782 * feat: Add `TextContent` for user prompts with `metadata` not sent to model by @thisisarko in https://github.com/pydantic/pydantic-ai/pull/4432 * Make run ID time-sortable; add agent name and run ID span attrs to all agent run child spans by @adria | Medium | 3/31/2026 |
| v1.73.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * feat: add `CaseLifecycle` hooks to `Dataset.evaluate` by @dmontagu in https://github.com/pydantic/pydantic-ai/pull/4854 * Allow hooks to raise `ModelRetry` for retry control flow by @DouweM in https://github.com/pydantic/pydantic-ai/pull/4858 * Allow before/wrap model request hooks to swap the model via `ModelRequestContext` by @DouweM in https://github.com/pydantic/pyda | Medium | 3/27/2026 |
| v1.72.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * feat: add `anthropic_eager_input_streaming` to `AnthropicModelSettings` by @moe9195 in https://github.com/pydantic/pydantic-ai/pull/4842 * Support sync tool preparation functions by @DouweM in https://github.com/pydantic/pydantic-ai/pull/4846 * Don't require explicit `url=` on `MCP` capability, in Python or `AgentSpec` by @DouweM in https://github.com/pydantic/pydantic-a | Medium | 3/26/2026 |
| v1.71.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * Add [Capabilities](https://ai.pydantic.dev/capabilities/): composable, reusable units of agent behavior that bundle tools, lifecycle hooks, instructions, and model settings into a single class you plug into any agent by @DouweM in https://github.com/pydantic/pydantic-ai/pull/4640 * Add [`AgentSpec`](https://ai.pydantic.dev/agent-spec/) and `Agent.from_file` for loading ag | Medium | 3/24/2026 |
| v1.70.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * Add `bedrock_inference_profile` to BedrockModelSettings and BedrockEmbeddingSettings by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/4697 ### 🐛 Bug Fixes * fix: OpenRouter Anthropic model profile matching for dotted model numbers by @majdalsado in https://github.com/pydantic/pydantic-ai/pull/4690 * fix: always pass `embedding_types` to Cohere `embed()` to | Low | 3/18/2026 |
| v1.69.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * Add `description` parameter to `Agent` and set `gen_ai.agent.description` on span by @Kludex in https://github.com/pydantic/pydantic-ai/pull/4677 * Send multimodal tool results to APIs directly instead of splitting into user parts by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/3826 * Add response-based fallback support for `FallbackModel` by @sarth6 in htt | Low | 3/17/2026 |
| v1.68.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### Changes * Remove redundant `running tools` parent span by @Kludex in #4560 ### 🐛 Bug Fixes * fix(openai): thinking detection for `gpt-5.3-chat-latest` by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/4567 * fix: AG-UI follow-up messages failing after built-in tool use by @gcheshkov in https://github.com/pydantic/pydantic-ai/pull/4624 ### 📦 Dependencies * fix: remedia | Low | 3/13/2026 |
| v1.67.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * Add GPT-5.4 support by @theadityarao in https://github.com/pydantic/pydantic-ai/pull/4554 * Support `WebSearchTool` for `OpenRouterModel` through OpenRouter plugins by @mochow13 in https://github.com/pydantic/pydantic-ai/pull/4022 * Rehaul Tavily search tool by @sarth6 in https://github.com/pydantic/pydantic-ai/pull/4158 * Enable native structured output support for Oll | Low | 3/6/2026 |
| v1.66.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * Enable native structured output for Qwen 3.5 models by @ggozad in https://github.com/pydantic/pydantic-ai/pull/4534 * Add Nano Banana 2 (`gemini-3.1-flash-image-preview`) by @adtyavrdhn in https://github.com/pydantic/pydantic-ai/pull/4525 ### 🐛 Bug Fixes * Fix builtin tool availability checking when using `TemporalAgent` with multiple models by @mattbrandman in https:/ | Low | 3/5/2026 |
| v1.65.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * Support files uploaded to providers via new `UploadedFile` object by @mattbrandman in https://github.com/pydantic/pydantic-ai/pull/3942 * feat: add `gemini-3.1-flash-lite-preview` model by @rian-dolphin in https://github.com/pydantic/pydantic-ai/pull/4517 ### 🐛 Bug Fixes * fix: add `__reduce__` to exception classes for pickle support by @OiPunk in https://github.com/py | Low | 3/3/2026 |
| v1.64.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * feat: support `template=False` on `PromptedOutput` and `NativeOutput` to disable schema prompt by @DouweM in https://github.com/pydantic/pydantic-ai/pull/4497 ### 🐛 Bug Fixes * Fix missing `run_id` on `ModelRequest` in UI adapter runs by @madanlalit in https://github.com/pydantic/pydantic-ai/pull/4419 * Wrap Google streaming errors as `ModelHTTPError`/`ModelAPIError` b | Low | 3/2/2026 |
| v1.63.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * Add Gemini 3.1 Pro Preview support by @majdalsado in https://github.com/pydantic/pydantic-ai/pull/4372 * feat(gemini): Logprob Support by @DRXD1000 in https://github.com/pydantic/pydantic-ai/pull/4269 * Add `args_validator` parameter to tools for pre-execution validation by @jerry-reevo in https://github.com/pydantic/pydantic-ai/pull/4016 ### 🐛 Bug Fixes * Fix Tempor | Low | 2/23/2026 |
| v1.62.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * Add tool approval integration for Vercel AI adapter by @bendrucker in https://github.com/pydantic/pydantic-ai/pull/3772 * Add LinePlot analysis type, ROCAUCEvaluator, and KolmogorovSmirnovEvaluator by @dmontagu in https://github.com/pydantic/pydantic-ai/pull/4356 ### 🐛 Bug Fixes * Fix missing pages in llms.txt and llms-full.txt by @DouweM in https://github.com/pydantic | Low | 2/19/2026 |
| v1.61.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * Support Python 3.14 by @Kludex in https://github.com/pydantic/pydantic-ai/pull/4138 ### 📦 Dependencies * Upgrade anthropic to 0.80.0, add Claude Sonnet 4.6 by @DouweM in https://github.com/pydantic/pydantic-ai/pull/4345 **Full Changelog**: https://github.com/pydantic/pydantic-ai/compare/v1.60.0...v1.61.0 | Low | 2/18/2026 |
| v1.60.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * Add `video_url` support to `OpenRouterModel` by @Adversarian in https://github.com/pydantic/pydantic-ai/pull/3824 * Add instrumentation version 4 to match OTel GenAI semantic conventions for multimodal input by @admackin in https://github.com/pydantic/pydantic-ai/pull/4219 ### 🐛 Bug Fixes * Fix AG-UI `parent_message_id` for back-to-back builtin tool calls by @DouweM i | Low | 2/17/2026 |
| v1.59.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * Add `Model.model_id` property that returns `provider:model` by @tdevelope in https://github.com/pydantic/pydantic-ai/pull/3917 * Add opt-in flag for aggregated usage attribute names by @thiagohora in https://github.com/pydantic/pydantic-ai/pull/4277 * Enhance `Contains` evaluator to support `pydantic.BaseModel` by @tomsquest in https://github.com/pydantic/pydantic-ai/pul | Low | 2/14/2026 |
| v1.58.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * Report-level evaluators & experiment-wide analyses by @dmontagu in https://github.com/pydantic/pydantic-ai/pull/4243 * Add multi-run aggregation support (repeat parameter) to pydantic-evals by @dmontagu in https://github.com/pydantic/pydantic-ai/pull/4253 * Add `extra_headers` support for Google model provider by @saakshigupta2002 in https://github.com/pydantic/pydantic- | Low | 2/11/2026 |
| v1.57.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🐛 Bug Fixes * Fix A2A FilePart base64 decoding for image/file uploads by @Red5d in https://github.com/pydantic/pydantic-ai/pull/4181 ## New Contributors * @Mr-Neutr0n made their first contribution in https://github.com/pydantic/pydantic-ai/pull/4208 * @Tamles made their first contribution in https://github.com/pydantic/pydantic-ai/pull/4257 * @Red5d made their first contribution | Low | 2/10/2026 |
| v1.56.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * Add Claude Opus 4.6, `anthropic_effort` and `anthropic_thinking.type='adaptive'` by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/4216 * Add `anthropic_betas` to `AnthropicModelSettings` by @bohdanhr in https://github.com/pydantic/pydantic-ai/pull/4180 ### 🐛 Bug Fixes * Fix Bedrock `CachePoint` placement with multiple trailing documents by @psg2 in https:/ | Low | 2/6/2026 |
| v1.55.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🐛 Bug Fixes * Fix error when using `OpenAIResponsesModel` with "compatible" provider that returns `reasoning_tokens` as `None` instead by @alibeyram in https://github.com/pydantic/pydantic-ai/pull/4151 * Fix `MultiModalContent` union missing discriminator causing incorrect deserialization by @jerry-reevo in https://github.com/pydantic/pydantic-ai/pull/4191 **Full Changelog**: htt | Low | 2/5/2026 |
| v1.54.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * Add concurrency limiting for Agents and Models by @dmontagu in https://github.com/pydantic/pydantic-ai/pull/4149 **Full Changelog**: https://github.com/pydantic/pydantic-ai/compare/v1.53.0...v1.54.0 | Low | 2/4/2026 |
| v1.53.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * Infer gateway base URL from token region by @Kludex in https://github.com/pydantic/pydantic-ai/pull/4192 **Full Changelog**: https://github.com/pydantic/pydantic-ai/compare/v1.52.0...v1.53.0 | Low | 2/4/2026 |
| v1.52.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * Add `openai_store` setting to control data retention by @EliMeed in https://github.com/pydantic/pydantic-ai/pull/4142 * Add number of output validation retries to agent's run context by @coccoinomane in https://github.com/pydantic/pydantic-ai/pull/4084 * Have `OpenAIChatModel` send back reasoning content via field it's received in by @safina57 in https://github.com/pydan | Low | 2/3/2026 |
| v1.51.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * feat(ui): Add `html_source` parameter to customize Chat UI source by @madanlalit in https://github.com/pydantic/pydantic-ai/pull/3974 ### 🐛 Bug Fixes * Fix error when Gemini calls tools in agent run with instructions but no user prompt by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/4148 * Fix Bedrock caching when user message ended on non-text content by | Low | 1/31/2026 |
| v1.50.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * Expose `usage_limits` and `model_settings` to users running with `to_cli()` by @tommy-waltmann in https://github.com/pydantic/pydantic-ai/pull/4133 * Add setting to include OpenAI raw text annotations in `TextPart.provider_details` by @corytomlinson in https://github.com/pydantic/pydantic-ai/pull/3787 ### 🐛 Bug Fixes * Fix serialization of `BinaryContent` returned by t | Low | 1/29/2026 |
| v1.49.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * Support parallel tool calls in `DBOSAgent` by @qianl15 in https://github.com/pydantic/pydantic-ai/pull/4077 * Add `BedrockEmbeddingModel` for Nova, Cohere and Titan endpoints by @bitnahian in https://github.com/pydantic/pydantic-ai/pull/4008 * Match Vercel AI SDK types with AI SDK v6 by @bendrucker in https://github.com/pydantic/pydantic-ai/pull/4127 **Full Changelo | Low | 1/29/2026 |
| v1.48.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * Add `allowed_domains` support for `WebSearchTool` with OpenAI by @eduardojdiniz in https://github.com/pydantic/pydantic-ai/pull/4037 * Add `continuous_usage_stats` model setting for OpenAI by @kousun12 in https://github.com/pydantic/pydantic-ai/pull/4056 * Apply `model_settings` to Mistral streaming JSON mode by @Goldokpa in https://github.com/pydantic/pydantic-ai/pull/4 | Low | 1/27/2026 |
| v1.47.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * Ensure thought signatures and other provider metadata survive a round trip through a Vercel AI frontend by @Light2Dark in https://github.com/pydantic/pydantic-ai/pull/3754 ## New Contributors * @Light2Dark made their first contribution in https://github.com/pydantic/pydantic-ai/pull/3754 **Full Changelog**: https://github.com/pydantic/pydantic-ai/compare/v1.46.0...v | Low | 1/24/2026 |
| v1.46.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * Add `XaiModel` that uses the xAI SDK and deprecate `GrokProvider` that used the OpenAI-compatible API by @brightsparc in https://github.com/pydantic/pydantic-ai/pull/3400 * Bump `mcp` and other dependencies for Dependabot alerts by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/4047 ## New Contributors * @brightsparc made their first contribution in https: | Low | 1/22/2026 |
| v1.45.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * VoyageAI embeddings support by @ggozad in https://github.com/pydantic/pydantic-ai/pull/3856 ### 🐛 Bug Fixes * Update the default behavior for `OpenRouter` from downloading `DocumentUrl`s and sending them as bytes, to sending them as URLs by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/3997 * fix(google): Set timeout in `HttpOptions` to prevent requests ha | Low | 1/22/2026 |
| v1.44.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * feat: Add Exa search tools integration by @10ishq in https://github.com/pydantic/pydantic-ai/pull/3736 * Add support for Bedrock Nova 2.0 built-in `Code Interpreter` tool by @gmetzker in https://github.com/pydantic/pydantic-ai/pull/3892 ### 🐛 Bug Fixes * Make `count_tokens()` work on `WrapperModel` by @DouweM in https://github.com/pydantic/pydantic-ai/pull/3982 ## N | Low | 1/17/2026 |
| v1.43.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * Support Google embedding models by @tboser in https://github.com/pydantic/pydantic-ai/pull/3841 ### 🐛 Bug Fixes * Fix OpenAI never populating `dict[str, ...]` tool args by @hinnefe2 in https://github.com/pydantic/pydantic-ai/pull/3712 **Full Changelog**: https://github.com/pydantic/pydantic-ai/compare/v1.42.0...v1.43.0 | Low | 1/15/2026 |
| v1.42.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * Add SambaNova provider support by @Pavanmanikanta98 in https://github.com/pydantic/pydantic-ai/pull/3887 * Consistently raise `ContentFilterError` when model response is empty because of content filter by @AlanPonnachan in https://github.com/pydantic/pydantic-ai/pull/3634 * Bump google-genai to 1.56.0 by @petersli in https://github.com/pydantic/pydantic-ai/pull/3782 * A | Low | 1/14/2026 |
| v1.41.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * Add YAML and TOML media type support in `BinaryContent.from_path` by @majiayu000 in https://github.com/pydantic/pydantic-ai/pull/3907 * Add `metadata` support for `DeferredToolResults` by @Wh1isper in https://github.com/pydantic/pydantic-ai/pull/3811 ### 🐛 Bug Fixes * Don't raise error when Mistral returns `ReferenceChunk` by @ilancoulon in https://github.com/pydantic/ | Low | 1/10/2026 |
| v1.40.0 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * Set human-readable Temporal activity summaries by @DouweM in https://github.com/pydantic/pydantic-ai/pull/3919 * Let agent call nonexistent tool as often as `Agent` `retries` limit specifies by @geodavic in https://github.com/pydantic/pydantic-ai/pull/3597 ### 🐛 Bug Fixes * Ensure `stream_output()` always calls output function/validator with `partial_output=False` at t | Low | 1/7/2026 |
| v1.39.1 | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🐛 Bug Fixes * Fix `partial_output` flag in `TextOutput` during streaming by @Danipulok in https://github.com/pydantic/pydantic-ai/pull/3845 * Fix duplicated tool calls with `partial_output=False` and cache result by @Danipulok in https://github.com/pydantic/pydantic-ai/pull/3848 * Update `thoughtSignature` for Vertex Gemini 3 compatibility by @jerry-heygen in https://github.com/pydan | Low | 1/6/2026 |
| v1.39.0 | ## What's Changed * Support embedding models by @DouweM and @dmontagu in https://github.com/pydantic/pydantic-ai/pull/3252 * Add Agent and agent run metadata and expose it on result objects and span attributes by @sstanovnik in https://github.com/pydantic/pydantic-ai/pull/3370 * Support system prompts functions returning `None` by @mrdkucher in https://github.com/pydantic/pydantic-ai/pull/3834 * Handle ThinkingPart in MCP Sampling by @eekstunt in https://github.com/pydantic/pydantic-ai/pull/ | Low | 12/24/2025 |
| v1.38.0 | ## What's Changed * Add local timestamps to request and response models - include provider timestamp in `provider_details` by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/3598 * Respect `VideoUrl.vendor_metadata` for GCS URIs on google-vertex by @barapa in https://github.com/pydantic/pydantic-ai/pull/3806 * Fix media type inference for URLs with query parameters by @fedexman in https://github.com/pydantic/pydantic-ai/pull/3501 * Allow typed `RunContext[Deps]` in `TextOutput` si | Low | 12/23/2025 |
