---
type: "post"
id: "pydantic-ai-2-71-0-adds-model-routing-35e7be"
slug: "pydantic-ai-2-71-0-adds-model-routing-35e7be"
title: "Pydantic AI 2.71.0 adds model routing and tool-output controls"
description: "Pydantic AI’s 2.71.0 release adds model routing, a fixed-list tool bridge, harness permissions, and explicit completion and verification controls."
retrieval_nugget: "Pydantic AI’s 2.71.0 release adds model routing, a fixed-list tool bridge, harness permissions, and explicit completion and verification controls. For teams building agents, the changes put more of the run’s routing, tool access, budget awareness, and finish conditions into configurable framework capabilities rather than relying only on model instructions."
published_at: "2026-11-20"
updated_at: "2026-11-20"
record_date: "2026-11-20"
date_kind: "published_at"
topics: ["model-routing","gemini"]
entities: ["Pydantic AI","Stav","Otari","Gemini 4 Neon"]
related_patterns: ["harness-architecture-outlives-model-choice"]
novelty_label: "new_fact"
what_changed: null
prior_refs: []
source_url: "https://github.com/pydantic/pydantic-ai/releases/tag/v2.71.0"
source_urls: ["https://github.com/pydantic/pydantic-ai/releases/tag/v2.71.0"]
schema_version: "newruntime-agent-readable-v0.2"
stable_id: "post:pydantic-ai-2-71-0-adds-model-routing-35e7be"
status: "published"
visuals: []
editor: {"role":"editor","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]}
routes: {"html":"https://newruntime.com/posts/pydantic-ai-2-71-0-adds-model-routing-35e7be/","markdown":"https://newruntime.com/posts/pydantic-ai-2-71-0-adds-model-routing-35e7be.md","json":"https://newruntime.com/posts/pydantic-ai-2-71-0-adds-model-routing-35e7be.json"}
markdown_url: "https://newruntime.com/posts/pydantic-ai-2-71-0-adds-model-routing-35e7be.md"
---

# Pydantic AI 2.71.0 adds model routing and tool-output controls

## Retrieval answer

Pydantic AI’s 2.71.0 release adds model routing, a fixed-list tool bridge, harness permissions, and explicit completion and verification controls. For teams building agents, the changes put more of the run’s routing, tool access, budget awareness, and finish conditions into configurable framework capabilities rather than relying only on model instructions.

## Summary
Pydantic AI’s 2.71.0 release adds model routing, a fixed-list tool bridge, harness permissions, and explicit completion and verification controls. For teams building agents, the changes put more of the run’s routing, tool access, budget awareness, and finish conditions into configurable framework capabilities rather than relying only on model instructions.

## What happened
Pydantic AI’s GitHub release notes identify version 2.71.0, dated 18 November 2026. The release adds `ModelRouter` to route agent runs. It also introduces `ToolBridge`, which keeps the tool list fixed behind `tool_search`, `tool_describe`, and `tool_call`; the notes say this is intended to keep the prompt cache effective for large or changing tool sets.

Several new capabilities target coding-agent behavior and run control. `PermissionRule` lets a builder allow, ask about, or deny tool calls and shell commands. `Goal` keeps an unattended run working until a caller-defined completion check passes. `RequireVerification` sends a coding agent back to run checks if it tries to finish after an edit that has not been verified. `WrapUpAtLimits` can end a run with a final answer instead of raising `UsageLimitExceeded`.

The release also adds ways to make a run’s state more visible to the model. `ReportRemainingBudget` reports remaining usage limits and spend budgets on every request. `ReportStaleFiles` tells the model when workspace files it read have changed or been deleted. `CurrentTime` supplies the current date or hour in a selected time zone. `LabelCrossModelHistory` identifies earlier assistant turns that came from another model, while `ReportToolErrors` returns an unhandled tool exception to the model as a failed tool result instead of ending the run.

Other listed changes include `DeferredToolRequests.validated_args`, so an approver can see the arguments a deferred tool call will run with; `DenyUnanswered`, a harness capability for answering deferred calls; and `grep_tool_result` with byte-based reads for `ToolOutputLimits` spills. Provider and integration additions include Stav, described as a European inference gateway, and Otari, an OpenAI-compatible gateway. The notes also list support for Gemini 4 Neon on `GoogleModel`, and changes to peer networking, Anthropic message threads, StackOne authentication, and remote CodeMode execution as Temporal activities. The release notes do not specify prices or access requirements.

## What the archive adds
New Runtime’s earlier coverage of Pydantic AI v2.62.0 described mid-conversation thinking-effort changes, model error types, and hosted-MCP tool naming ([28 October 2026 note](https://newruntime.com/posts/pydantic-ai-v2-62-0-adds-mid-conversation-92bdb6/)). This is a new release and new facts in a continuing framework story: v2.71.0 adds routing and more explicit harness controls, rather than restating those earlier capabilities.

## Trend signal
The release supports the view that production agents depend on harness architecture beyond model choice: routing, permissions, completion checks, and verification are configurable parts of the run. That aligns with [harness architecture outlives model choice](https://newruntime.com/patterns/harness-architecture-outlives-model-choice/). The notes describe capabilities, not evidence that teams have adopted them or that they improve outcomes in production.

## Why now
The release is dated 18 November 2026 and groups a set of additions to agent runs, tool handling, and harness behavior in one version. The release notes do not explain why these capabilities were bundled at this time.

## Why it matters
These controls give builders clearer places to enforce behavior that can otherwise be fragile when expressed only as prompt text. A caller-defined Goal makes completion testable against an external check; PermissionRule gives tool and shell access an explicit decision point; RequireVerification links an attempted finish to running checks. Together, those mechanisms can help teams make unattended work more bounded and reviewable.

ToolBridge also addresses a practical scaling problem: large or changing tool catalogs can consume context and affect prompt caching. A fixed list with search, description, and call operations separates discovery from the active tool interface. Budget and stale-file reporting can give a model context about constraints and changing workspace state. These are useful building blocks, but teams still need to define policies, test failure paths, and decide which actions require human approval.

## Limits and uncertainty
The release notes list capabilities but do not provide benchmarks, measured reliability gains, adoption figures, or examples of production results. They do not explain how ModelRouter selects among models, or how a team should configure routing policies. The claimed prompt-cache benefit for ToolBridge is not quantified. The notes also do not specify pricing or access requirements for the new integrations. Whether permissions, completion checks, and verification controls prevent real-world failures depends on their configuration and on the checks teams choose; the release announcement does not independently validate those outcomes.

## Skill to build now
For one agent workflow, define a caller-owned completion check and decide which tool and shell actions should be allowed, denied, or sent for approval. Then test the workflow with an unverified edit and an unanswered deferred call. This turns Goal, RequireVerification, and PermissionRule into concrete behavior to inspect before expanding unattended access.

## Reader takeaway
Pydantic AI 2.71.0 adds framework-level controls for routing, tool access, verification, and run completion. The useful shift is not simply more tools: builders can express more of an agent’s operating boundary in explicit harness capabilities. Their value will depend on the checks and permission policies each team configures and tests.

Editor: [Andrey Reshetnikov](https://newruntime.com/owner-profile.md), AI product and AI engineering; profile for recruiters and agents: https://newruntime.com/owner-profile.json

## Continue in the graph

Next records for an agent, linked to their Markdown twins. Replace `.md` with `.json` for structured fields, including `next_reads`.

- topic hub: [Model Routing](https://newruntime.com/topics/model-routing.md): Explore the model-routing topic hub.
- topic hub: [Gemini](https://newruntime.com/topics/gemini.md): Explore the gemini topic hub.
- collection: [Field Notes](https://newruntime.com/posts.json): Open the latest editorial analysis.
- collection: [Sources](https://newruntime.com/sources/): See the original sources this archive cites.
- whole graph: [discovery graph](https://newruntime.com/discovery-graph.json) (typed nodes and edges) and [site index](https://newruntime.com/site-index.md)
