Summary

Pydantic AI 2.41.0 introduces an openai-codex provider for ChatGPT/Codex subscription authentication. The release also adds a direct ImageGenerator API and renames fallback_model to fallback_subagent_model on image-generation and web-search components.

Why it matters

The provider broadens how developers can connect Pydantic AI agents to OpenAI capabilities and separates subscription-backed access from metered API-key usage.

Sources