Pydantic AI 2.64 adds model fallback controls and artifact scanning
Updated Pydantic AI
Summary
Fallback timing, provider-state boundaries and a Boxd sandbox arrive with harness and evaluation changes.
- Tool
- Pydantic AI
- Category
- Frameworks
- Date
- Pricing
- Not stated in the sources we cited.
Pydantic AI 2.64 introduces a ModelFallback capability with per-attempt request preparation and retry controls. A sticky option keeps a conversation on the fallback model that answered, while first_event_timeout allows a stream that never starts to trigger fallback.
Keep provider state with its origin
Stored response, item, conversation and container identifiers are sent back only to the endpoint that created them, through Model.accepts_server_state. This matters when an application changes providers or falls back: an identifier from one server is not automatically meaningful to another. The release also changes exhausted transport error handling so eligible HTTP failures can reach fallback logic.
Scan artifacts and choose a workspace
ArtifactScanner adds security scanning for memory and skills, and BoxdSandbox runs harness capabilities in a boxd machine. Scanning is a new control, not a guarantee that an artifact is safe. Sandbox provisioning and access remain application responsibilities.
Other additions include on-demand capability loading, realtime speech word timestamps for supported services, and plain-function evaluators. Durable online evaluations are dispatched once per run rather than on each replay.
Review compatibility notes
json-repair becomes optional and is needed only for specific capabilities. Coder’s strict tool schemas become opt-in. Nested repository instruction files are surfaced more fully, which can change the instructions an agent receives. Existing applications should check these defaults, state routing and fallback behavior against their own tests; the release does not include provider inference credits.
See the pydantic-ai hub.
More from Pydantic AI
Pydantic AI 2.67 moves native-tool options
Pydantic AIA long compatibility list: provider_settings for native tools, RepoContext instruction loading, durable guardrails and new Claude and Gemini models.
Category: Frameworks
Pricing: Not stated
Pydantic AI 2.63 adds loop detection and shared spend budgets
Pydantic AINew evaluation timeouts, IPython Code Mode and PostgreSQL-backed spend storage arrive with changed defaults.
Category: Frameworks
Pricing: Not stated
Pydantic AI 2.62 adds steerable subagent tasks
Pydantic AIThe framework adds background-task controls, provider batch requests and mid-conversation thinking settings, with durable replay compatibility cautions.
Category: Frameworks
Pricing: Not stated
Pydantic AI 2.61 adds structured citations and durable extensions
Pydantic AIPydantic AI adds structured text citations, provider normalization and a public durable-engine extension surface, with compatibility changes.
Category: Frameworks
Pricing: Not stated
Pydantic AI 2.60.0 adds Docker sandboxes and hardening
Pydantic AIPydantic AI v2.60.0, published October 23, 2026, adds Docker and BoxLite sandbox capabilities plus sanitization and filesystem hardening.
Category: Frameworks
Pricing: Open source
Pydantic AI 2.58.0 fixes MCP telemetry exposure and adds run deadlines
Pydantic AIPydantic AI ships two medium-severity security fixes, run and request timeouts, delegated-task steering, and new ChatGPT and ElevenLabs integrations.
Category: Frameworks
Pricing: Not stated
Pydantic AI 2.57 adds tool-approval review and MCP Apps routing
Pydantic AIThe October 16 release adds ApprovalReviewer, MetaProvider and MCP Apps frontend integration, with realtime compatibility changes.
Category: Frameworks
Pricing: Open source
Pydantic AI 2.55.0 adds Conversation and prompt caching
Pydantic AIPydantic AI 2.55.0, released October 9, 2026, requires Python 3.11 and adds Conversation, a unified cache setting and Postgres stores.
Category: Frameworks
Pricing: Open source
Questions
What is Pydantic AI?
The product site describes it as a model-agnostic Python framework featuring type safety, structured outputs, validation and observability.
Is Pydantic AI open source?
The GitHub repository reports an MIT license.
Which models does it support?
The product site says it supports OpenAI, Anthropic, Google and more.
Filed on Agent Radar. Claims in this note are limited to the sources above.