Pydantic AI shipped v2.49.0 on 2026-09-24 (PyPI aligned). Highlights: `GitHubCopilotOAuthFlow` device auth, `BoolCriteria` for typed yes/no fields, `RealtimeSession.wait_for_reply()`, plus Bedrock Converse fixes for `gpt-6-sol`/`gpt-6-luna`/`gpt-6-astra` and dropping unsupported temperature/top_p on GPT-5.6/GPT-6.

Key Takeaways

  • ✓Upgrade: `pip install -U 'pydantic-ai==2.49.0'` (PyPI)
  • ✓`GitHubCopilotOAuthFlow` device authorization (#8618)
  • ✓`BoolCriteria` clarifies bool/Enum yes-no semantics (#8586)
  • ✓`RealtimeSession.wait_for_reply()` (#8514)
  • ✓Bedrock: allow gpt-6-sol/luna/astra; strip temperature/top_p for GPT-5.6/GPT-6 (#8656/#8668)
🔬

In-Depth Technical Analysis

Core Background & Industry Pain Points

Typed Python agents need validated outputs, multi-cloud routing, and realtime sessions. Missing Copilot device-login or sending unsupported Bedrock sampling params blocks production wiring.

Architecture Highlights & Internals

v2.49.0 adds GitHubCopilotOAuthFlow (#8618), BoolCriteria (#8586), richer TypeSafeModel none/choice handling, and RealtimeSession.wait_for_reply() (#8514). Bedrock Converse accepts gpt-6-sol/luna/astra and drops temperature/top_p for GPT-5.6/GPT-6.

Benchmarks & Measured Numbers

No new public benchmark scores. Verified: GitHub v2.49.0, PyPI upload 2026-09-24T03:23:01Z; changelog vs v2.48.0 on GitHub compare.

Developer Getting Started

pip install -U pydantic-ai==2.49.0, then docs / changelog. Wire Copilot via the OAuth flow; on Bedrock GPT-6 avoid manual temperature.

⚡
Evaluating this AI coding model or solution?
Check live multi-benchmark rankings or compare plan costs & promo credits.
ADSponsored