Tools
Pydantic AI 2.41.0 adds an openai-codex provider that authenticates against a ChatGPT/Codex subscription
Released 2026-09-08T04:15Z, v2.41.0 adds an openai-codex provider (PR #7769 by @mpfaffenberger) letting Pydantic AI agents authenticate through an existing ChatGPT or Codex subscription rather than a metered API key. The release also adds a direct image generation API via ImageGenerator (#5357) and deprecates fallback_model in favour of fallback_subagent_model on ImageGeneration and XSearch. For anyone already paying for a coding subscription, this removes the API-key line item from framework-driven agent work.
Source
↳ Follow the thread