News · Breaking
Pydantic AI 2.71.0 renames the peer-network interface
Pydantic AI 2.71.0 renames PeerNetwork to PeerConnection and changes Peers(network) to join an in-memory peer network under the agent's name. The same release deprecates StackOne's api_key in favor of auth, and changes deferred pauses so a run remains paused when required tool results are absent. Search imports and constructors before upgrading, then resume a paused run without deferred_tool_results and confirm that no model step advances. 4
Relevant to: Pydantic AI applications using peer agents, StackOne or deferred tool approval.
What the verdict meansWill break existing code: deprecation or API change.
Sources
Originally part of the 19 November 2026 edition.