pydantic-ai v2.18.0 adds Anthropic/OpenRouter tool support, web access
sdkaiawsengineerpython-agentic
feature patch
Version 2.18.0 of pydantic-ai introduces new features for integrating with AI services. It adds AdvisorTool support for Anthropic and OpenRouter, enabling more flexible AI agent development. Additionally, it includes external web access options for the WebSearchTool with OpenAI, and improves multi-region support for Google Cloud Provider. These updates are primarily relevant for developers building AI-powered applications with pydantic-ai.
- →Add AdvisorTool support for Anthropic and OpenRouter by @adtyavrdhn in https://github.com/pydantic/pydantic-ai/pull/6605
- →Add external_web_access option to WebSearchTool for OpenAI Responses by @pydanty[bot] in https://github.com/pydantic/pydantic-ai/pull/6710
- →Map deferred google-genai stream errors in GoogleModel by @dmontagu in https://github.com/pydantic/pydantic-ai/pull/6693
Features (3) ›
- Add AdvisorTool support for Anthropic and OpenRouter by @adtyavrdhn in https://github.com/pydantic/pydantic-ai/pull/6605
Add 'us'/'eu' multi-region locations to GoogleCloudProvider location type by @pydanty[bot] in https://github.com/pydantic/pydantic-ai/pull/6715
- Add external_web_access option to WebSearchTool for OpenAI Responses by @pydanty[bot] in https://github.com/pydantic/pydantic-ai/pull/6710
Fixes (1) ›
- Map deferred google-genai stream errors in GoogleModel by @dmontagu in https://github.com/pydantic/pydantic-ai/pull/6693
Read the original announcement →
https://github.com/pydantic/pydantic-ai/releases/tag/v2.18.0
Related releases
- ADK-Python v2.9.0 enhances agent resilience, voice integration, and workflow management Google ADK (Python) Releases ·
- CrewAI 1.15.21 Release Introduces Telemetry and Resolves Multiple Bugs CrewAI Releases ·
- OpenAI Python Agents SDK v0.22.2 Released OpenAI Agents SDK (Python) Releases ·
- Pydantic-AI v2.42.0 Enhances GitHub Copilot Integration and Fixes Bugs Pydantic AI Releases ·
- OpenAI Agents Python SDK v0.22.1 enhances tools, guardrails, and voice features OpenAI Agents SDK (Python) Releases ·
- Pydantic-AI v2.41.0 Adds Image Generation API, Deprecates `fallback_model` Pydantic AI Releases ·