pydantic-ai 1.93.0 released

Pydantic AI 1.93.0 adds a `tool_choice` setting for more control over model tool selection and improves event handling by yielding `OutputToolCallEvent`/`OutputToolResultEvent` for output tool calls while deprecating function-tool events for failing cases. The release also fixes a bug where spawned tasks weren't properly drained during agent cancellation, improving reliability in concurrent scenarios.

pydantic-ai 1.93.0 is available. Release notes →

Pydantic AI 1.93.0 adds a tool_choice setting for more control over model tool selection and improves event handling by yielding OutputToolCallEvent/OutputToolResultEvent for output tool calls while deprecating function-tool events for failing cases. The release also fixes a bug where spawned tasks weren’t properly drained during agent cancellation, improving reliability in concurrent scenarios.

What changed. 1.93.0 is the latest release.

Why it matters. Review the release notes for breaking changes before upgrading.

Builder takeaway. Pin your version or upgrade in a branch and run your eval suite before deploying.

The Agent Brief

Three things in agentic AI, every Tuesday.

What changed, what matters, what builders should do next. No hype. No paid placement.

More news