Pydantic AI expands agent controls and integrations
- Hosted MCP capabilities can now use asynchronous `auth` functions, and Pydantic AI exposes more of its durable engine interface, including operation types and run identity hooks.
- `TextPart` supports structured citations; the release also standardizes citations from Bedrock, OpenRouter, and xAI and preserves them in message history.
- `Shell.max_log_bytes` sets a limit for logs produced by background and shell jobs.
- `InputGuardrail` now redacts the user's prompt and closes fail-open paths in guardrail handling.
Our take
For asynchronous agents using hosted MCP, async authentication can keep a synchronous auth function from blocking the event loop. Exposing durable-run interfaces gives integrators more direct control over run identity and parameter transport, though the release notes do not specify what migration existing integrations may require.
Sources
- pydantic-ai v2.61.0 (2026-10-23) · Pydantic AI Releases
The summary and analysis were generated by AI. The original sources are authoritative. AI content policy