AI NewsDev toolsAnnouncement

Pydantic AI 2.73 lets subagents pass deferred tool calls to the caller

Pydantic AI 2.73 lets a SubAgent hand a delegate's deferred tool calls back to the caller. It adds thinking profiles for Nemotron, Inkling, MiMo, Step, Hy and Ling.

AI News

Editorial2 min read

LinkedInX
Pydantic AI 2.73 lets subagents pass deferred tool calls to the caller

Why it mattersA team using Pydantic AI for nested agents can keep the human-approval step at the top level. A model from the newer open families now reports its thinking budget the same way.

A SubAgent could not until today ask its caller to approve a tool call on its behalf. Pydantic has changed that in Pydantic AI 2.73, tagged v2.73.0 on GitHub. A SubAgent now passes a delegate's deferred tool calls to the caller. The delegate resumes once the caller has answered. The change comes from pull request #14115.

That matters for an orchestration where one agent calls another. A parent agent may hold the approval policy, the human-in-the-loop prompt, or the tool whitelist. A child agent that needs to run a dangerous tool can now route the request upward. It no longer decides on its own. The release lists this under Features.

Thinking profiles for six more model families

Pydantic AI 2.73 adds thinking profiles for Nemotron, Inkling, MiMo, Step, Hy and Ling on OpenAI-compatible gateways. Pull request #12370 carries the change. A thinking profile is how the library maps a model's reasoning-effort setting to the gateway's own fields. Without one, a request to a reasoning model is silent on how much thought it should spend.

GPT-Live voice gets two additions. RealtimeSession.append_voice_instructions lets a session add instructions to a voice model mid-call. A custom voice object is now accepted on the openai_voice setting. A Twilio Media Streams bridge example is included in the release.

Deprecated models now warn

DeprecatedModelWarning fires when a request targets a model Anthropic or OpenAI has deprecated. Pull request #14038 carries it. A production run that silently points at a retired model used to fail at inference time. The warning lets a team find the call before the model goes.

The openai floor rises from 3.31.0 to 3.50.0 on every extra that installs openai. Pydantic lists this under Compatibility Notes. Teams pinning an older openai client have to raise the pin.

capabilities is now a parameter on Agent.override, and AgentInstructions and SourcedInstruction are exported. The private _override_root_capability context variable now holds a (capability, injected) tuple. Code that reads it directly has to be updated.

Smaller fixes that change behaviour

Pydantic downscales images that Coder reads to at most 1024 pixels on the longest side. An opt-in FileSystem(max_image_side=...) keeps full resolution where needed. The coder extra now installs pillow>=12.3.0.

FallbackModel had been relying on 400-level errors from the unified settings to move on to a later model. Claude, Gemini and Grok models reject those settings. Pydantic AI now drops the setting on those models instead of sending it. A fallback that relied on the 400 to escape the first model now stays on it. To keep the fallback behaviour, put a model that accepts the setting first.

The boxd extra rises to 0.3, which moves the sandbox GitHub token into request headers only. pydantic-ai-harness[boxd] now needs boxd>=0.3.3,<0.4. Code that calls 0.2-only boxd APIs directly has to be updated.

Pydantic AI 2.73 follows 2.66.0, which was published on 4 November. The headline change for a team doing nested agent work is the subagent deferred-tool path. Everything else is housekeeping around model deprecations, newer open models and sandbox pinning.

Source

Pydantic AI v2.73.0 release notes, Pydantic on GitHub

This item was written by an AI system from the linked source. Reveneau is responsible for what it publishes.

Share
LinkedInX
Start a project