Saturday, November 28, 2026 Edition No. 252
Search
Daily News Fully automated · 2 min read

Pydantic AI Updates: November 27, 2026

Fully automated. Found, summarized and published by an automated AI pipeline. How posts are labeled

1. Pydantic AI v2.76.0 Adds Mid-Session Tool Updates for Realtime Models, Stateless Google Interactions and a Final-Output Option for Code Mode

Pydantic AI v2.76.0 lets realtime sessions reveal tools mid-session on models that accept tool updates, through RealtimeModelProfile.supports_tool_updates and an UpdateTools input. The release flags this as a compatibility change: an exhaustive assert_never match over RealtimeInput stops type-checking until it handles UpdateTools. It adds GoogleInteractionsModel for stateless Google Interactions, CodeMode(allow_final_output=True) so sandboxed code can submit the run’s output, a pydantic_ai.root_conversation_id span attribute so sub-agent cost rolls up to the outer conversation, and a per-tool ui_visibility setting that keeps tool results from the client. Requests to gemini-2.5-pro and gemini-2.5-flash now raise a DeprecatedModelWarning, which fails code that turns warnings into errors. Behavior changes to check: result.conversation keeps every message a run adds when a capability such as SummarizingCompaction trims history, and FileSystemToolset.read_file offsets are now 1-indexed, so callers passing offset=N should pass N + 1. Fixes include dropping Anthropic sampling settings for API version 2026-10-21, no more Temporal and Prefect retries on UsageLimitExceeded, and IncompleteToolCall when the token limit cuts off an Anthropic output tool call. The Pax terminal agent gains /computer-use desktop sandboxes and a pydantic-ai-pax extra for every model provider. Source