Pydantic released six consecutive pydantic-ai versions (v2.38.0–v2.43.0, 2026-09-03 to 2026-09-11). Highlights include support for OpenAI gpt-6-astra and gemini-3.8-flash, Claude Fable 5.1 and Mythos 5.1, a vLLM provider, a GitHub Copilot provider, ChatGPT/Codex subscription auth, context-window tracking, barge-in handling in realtime sessions, and an @agent.on_event listener API. The releases matter to practitioners building agents who need current model support, cost tracking, and realtime voice control.
v2.43.0 (2026-09-11) adds a first-run clai session banner and fixes OpenAI text-part boundaries after tool calls
v2.40.0 adds barge-in handling for voice sessions, @agent.on_event listeners, and background price updates
Pydantic released pydantic-ai v2.48.0 on 2026-09-22, adding model support for OpenAI's gpt-6-sol and gpt-6-luna, Anthropic's claude-opus-5-5, and new OpenAI audio models via genai-prices 0.1.7. It also fixes message-ID preservation in Vercel AI and AG-UI adapters and bumps genai-prices to 0.1.8.
Pydantic released pydantic-ai v2.48.0 on 2026-09-22, adding model support for OpenAI's gpt-6-sol and gpt-6-luna, Anthropic's claude-opus-5-5, and new OpenAI audio models via genai-prices 0.1.7. It also fixes message-ID preservation in Vercel AI and AG-UI adapters and bumps genai-prices to 0.1.8.
Pydantic AI released v2.37.0 (2026-08-31), adding the glm-5.3-flash model and reworking the Z.AI test suite onto cassettes. The release also fixes Z.AI's non-standard finish_reason mapping and AG-UI streaming behavior, improving agent-framework compatibility with Z.AI models.
Pydantic AI released v2.37.0 (2026-08-31), adding the glm-5.3-flash model and reworking the Z.AI test suite onto cassettes. The release also fixes Z.AI's non-standard finish_reason mapping and AG-UI streaming behavior, improving agent-framework compatibility with Z.AI models.
Pydantic AI v2.31.0 was released on August 14, 2026, introducing a feature that allows UIEventStream to be built without a run_input and giving AGUIEventStream its own thread_id/run_id. It also includes bug fixes for FallbackModel span attribution and OpenAI compatibility in Temporal workflows.
Pydantic AI v2.31.0 was released on August 14, 2026, introducing a feature that allows UIEventStream to be built without a run_input and giving AGUIEventStream its own thread_id/run_id. It also includes bug fixes for FallbackModel span attribution and OpenAI compatibility in Temporal workflows.
Pydantic released pydantic-ai v2.47.0 on 2026-09-21, adding TypeSafeModel routing improvements and stricter validation of user prompt content. The release includes compatibility notes that change route naming and error behavior.
Pydantic released pydantic-ai v2.47.0 on 2026-09-21, adding TypeSafeModel routing improvements and stricter validation of user prompt content. The release includes compatibility notes that change route naming and error behavior.
Pydantic AI v2.26.0, released August 6, 2026, introduces support for hiding function tools until revealed via tool search or load_capability, first-party run cancellation, and a method to resolve effective prompt-cache retention. These features give developers finer control over tool exposure and runtime management.
Pydantic AI v2.26.0, released August 6, 2026, introduces support for hiding function tools until revealed via tool search or load_capability, first-party run cancellation, and a method to resolve effective prompt-cache retention. These features give developers finer control over tool exposure and runtime management.