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)
Pydantic AI 2.49.0: GitHub Copilot OAuth device flow, BoolCriteria, GPT-6 on Bedrock
🖼️Official Media
Click to view high-res
🧭

Turn your technical choice into a development budget

Compare 40 dev plans & simulate token costs vs $20/mo subscriptions

🔬

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.

Action HubReady to adopt this in production?

Benchmark side-by-side against alternatives, or calculate monthly token cost vs subscription break-even.

Up NextPydantic AI 2.51.0: OpenAILiveModel for GPT-Live, context_window_used on realtime, tighter Gemini Live connect checks
Read Now→