Pydantic AI 2.65.0 released
A feature release adding conversation storage, WebSocket transport for OpenAI, and improved model fallback and error handling across providers.
What changed in 2.65.0
- New
ConversationStoreandConversation.revisionfor storing and managing message logs with conflict detection. - WebSocket transport added to OpenAI Responses API, with support for 12-hour prompt cache retention on GPT-5.6 and later.
- Model fallback now handles refusals and content filter errors; models that cannot succeed on retry are skipped by default.
- Better error messages for removed V2 APIs; improved tool parameter documentation from docstrings; refusal text included in content filter errors.
- Various fixes: Azure streaming prompts, Bedrock error reporting, Temporal retry behavior, Google deadline handling, Anthropic web tools configuration.
Check before you update
- Z.ai returns
ModelQuotaExceededErrorinstead ofModelRateLimitErrorfor balance and plan-limit errors. - Daytona support requires version 0.226.1 or later.
Summarised by AgentGid from Pydantic's official release notes on GitHub, as reported there; read the original before relying on it. Price, status and release dates come from our daily data.
Pydantic AI at a glance
| What it is | A Python agent framework from the Pydantic team, built around type-safe structured outputs, dependency injection and model-agnostic tool calling. |
|---|---|
| Latest version | 2.71.0, Nov 19, 2026. This page is about an earlier release. |
| Release pace | 15 stable releases in the last 30 days; 2.65.0 came 4 days after the previous one |
| Price | Free (OSS). Pydantic AI is open source and free to use; you pay only for the models and infrastructure it runs on. (checked Nov 4, 2026) |
| Downloads, last 7 days | 1.6M up 1.1% |
| Gid Score | 53 #15 in Agent frameworks and SDKs |