AI Coding Live News

Pydantic AI 2.52.0: unified Workspaces for Coder/Shell; web_fetch HTML DoS fix; CLAI2 ships

Pydantic AI shipped v2.52.0 on 2026-09-30 (pydantic-ai==2.52.0): ctx.workspace unifies local/sandbox file+command APIs with E2B, Fly.io Sprites, Modal, SSH, and Bubblewrap backends; harness moves in-repo to 0.52.0; first pydantic-clai2 release (uvx pydantic-clai2). Also patches local web_fetch nested-HTML resource exhaustion (GHSA-v36g-jcw9-x7cw, CVSS 6.5) and adds Claude Sonnet 5.5 plus GPT-6.1 Sol support.

Pydantic AI 2.52.0: unified Workspaces for Coder/Shell; web_fetch HTML DoS fix; CLAI2 ships

Key Takeaways

  • Release v2.52.0; 533 commits ahead of v2.51.0
  • Security: local web_fetch nested-HTML DoS patched (GHSA-v36g-jcw9-x7cw, CVSS 6.5); v1 patch 1.107.7; provider-native fetch unaffected
  • Workspaces via ctx.workspace (#6492) with E2B/Sprites/Modal/SSH/Bubblewrap backends; harness in-repo at 0.52.0; CLAI2 first release
  • Models: Claude Sonnet 5.5 (#8974), GPT-6.1 Sol (#9305); Anthropic default max_tokens 16384 on Sonnet 4.5+ (#9025)
  • Upgrade: pip install -U 'pydantic-ai==2.52.0'; uvx pydantic-clai2; docs: Workspace + Harness
Read full story

Pydantic AI 2.51.0: OpenAILiveModel for GPT-Live, context_window_used on realtime, tighter Gemini Live connect checks

Pydantic AI v2.51.0 (2026-09-25) adds OpenAILiveModel for OpenAI GPT-Live, exposes context_window_used on realtime sessions, tightens Gemini Live id/affective-dialog checks, and raises UserError for forced realtime tool_choice on OpenAI/Azure/xAI. PyPI pydantic-ai 2.51.0 is live.

Pydantic AI 2.51.0: OpenAILiveModel for GPT-Live, context_window_used on realtime, tighter Gemini Live connect checks

Key Takeaways

  • Shipped: GitHub v2.51.0 = PyPI pydantic-ai 2.51.0; docs pydantic.dev/docs/ai
  • Realtime: OpenAILiveModel for GPT-Live; context_window_used on sessions from GPT-Live ratio or response usage
  • Compat: match dated gemini-3.8-live ids; reject google_affective_dialog at connect; RealtimeError on Gemini Live close codes
  • Safety: UserError for forced realtime tool_choice on OpenAI/Azure OpenAI/xAI
  • Perf: cache agent graph across Agent.run(); skip task group for single-child fan-out
Read full story
Linked Models & Agents:

Pydantic AI 2.50.0: DecisionModel protocol, named route selection, Gemini 3.8 Live realtime

Pydantic AI 2.50.0 (2026-09-25) adds DecisionModel (TypeSafeModel implements it), named route questions with optional decision_route_threshold, Gemini 3.8 Live realtime, durable-context hooks, and audio_seconds usage pricing.

Pydantic AI 2.50.0: DecisionModel protocol, named route selection, Gemini 3.8 Live realtime

Key Takeaways

  • DecisionModel base + TypeSafeModel implementer; ask routes by name (#8696, #8733)
  • Opt-in decision_route_threshold replaces tool-call lean; ModelSelectionContext.prompt (#8737/#8739)
  • Gemini 3.8 Live realtime + RequestUsage.audio_seconds (#8393/#8427)
  • decide spans + RunContext.in_durable_context (#8698/#8723)
  • Upgrade: pip install -U 'pydantic-ai==2.50.0'
Read full story
Linked Models & Agents:

Pydantic AI 2.49.0: GitHub Copilot OAuth device flow, BoolCriteria, GPT-6 on Bedrock

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.

Pydantic AI 2.49.0: GitHub Copilot OAuth device flow, BoolCriteria, GPT-6 on Bedrock

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)
Read full story
ADSponsored