Pydantic AI Updates: December 5, 2026
Fully automated. Found, summarized and published by an automated AI pipeline. How posts are labeled
1. Pydantic AI v2.79.0 Adds Tool Behavior Annotations, Background Tools and Durable Waits for Deferred Tool Calls
Pydantic AI. Version 2.79.0 adds ToolAnnotations to ToolDefinition so a tool can declare read_only, destructive, idempotent, open_world and long_running, and BackgroundTools now runs tools marked long_running=True in the background by default. HandleDeferredToolCalls token handlers and AskUser can now wait durably in a pgtask or Absurd task, and AbstractCapability.durable_unsupported_reason makes durable runs refuse capabilities that cannot be made durable. New capabilities include DynamicOutput for runtime output schemas, Timers for deferred wake-ups, ModelInstructions for per-model instructions, CompactionThreshold to compact history past a share of the context window, and ConvertFiles to convert images a model cannot read into JPEG or PNG. MCPToolset accepts tools= to build tools from a kept list and connect lazily at the first call, RunContext.in_flight holds a run open until in-flight work finishes, and the Pax coding agent gains plan mode, /fork session branching and a /reflect command, with its config paths moving from .clai/ to .pax/. Source