Source: github.com/pydantic/pydantic-ai/releases/tag/v2.71.0
Pydantic AI published v2.71.0 on its GitHub releases page, dated 18 November 2026. The release renames PeerNetwork to PeerConnection and lets Peers join an InMemoryPeerNetwork under the agent's name. StackOne now takes auth, which deprecates the api_key option, and DEPRECATED_ANTHROPIC_MODELS is deprecated because the library no longer uses it.
New providers are StavProvider for the Stav European inference gateway and Otari as an OpenAI-compatible gateway. Gemini 4 Neon (gemini-4-neon) is supported on GoogleModel, and a new anthropic_previous_message_id setting covers Anthropic message threads. The harness gains ToolBridge, Goal, ReportRemainingBudget, RequireVerification and PermissionRule, which allows, asks about or denies tool calls by rule.
Bug fixes cover Anthropic streams with zero-argument MCP tool calls, Bedrock and Groq error classification, and a lost Sprite create in SpritesSandboxBackend, which is now sent again. Provider HTTP 408 responses are now raised as ModelTimeoutError. The changelog lists further fixes and new contributors.
Why it matters if you build agents
Code that imports PeerNetwork, passes api_key to StackOne, or relies on DEPRECATED_ANTHROPIC_MODELS will need updating. Agents that call large or changing tool sets can use ToolBridge to keep the tool list fixed for prompt caching. Budget reporting, permission rules and verification checks give more control over runs without custom code.
Get stories like this every weekday
One short email with the day's agent tooling news.