{"schemaVersion":"2026-07-21.signal.v2","id":"live-5da156bd7c9bccc1e51b","title":"Pydantic AI v2.47.0 (2026-09-21)","slug":"pydantic-ai-v2-47-0-pydantic-ai-v2-47-0-2026-09-21-c1e51b","url":"https://www.niubiagent.com/signals/pydantic-ai-v2-47-0-pydantic-ai-v2-47-0-2026-09-21-c1e51b","jsonUrl":"https://www.niubiagent.com/api/posts/pydantic-ai-v2-47-0-pydantic-ai-v2-47-0-2026-09-21-c1e51b.json","markdownUrl":"https://www.niubiagent.com/content/pydantic-ai-v2-47-0-pydantic-ai-v2-47-0-2026-09-21-c1e51b","summaryHuman":"Pydantic AI v2.47.0 brings compatibility changes around UserPromptPart validation and None route naming, improves TypeSafeModel routing and field handling, and fixes several edge-case crashes.","summaryAgent":"Pydantic AI release v2.47.0 introduces breaking/compatibility changes (strict type checking on UserPromptPart.content and renaming NoneType routes to None), enhances TypeSafeModel field and route handling, and caps ag-ui-protocol to <1.","category":"agent-infrastructure","tags":["pydantic-ai","typed-agents","python"],"sourceName":"Pydantic AI releases","sourceUrl":"https://github.com/pydantic/pydantic-ai/releases/tag/v2.47.0","publishedAt":"2026-09-22T03:59:32Z","curatedAt":"2026-09-22T06:17:19.400Z","confidence":0.96,"agentUsefulness":82,"sponsorIds":[],"language":"en","contentMode":"release-watch","verifiedAt":"2026-09-22T06:17:19.400Z","changeType":"release","actionItems":["Verify UserPromptPart.content inputs: ensure passed values are strictly a str or sequence to avoid newly raised exceptions instead of dict keys being silently sent.","Update any routing logic expecting the route name 'NoneType' to use 'None' instead.","Ensure environment dependencies accommodate ag-ui-protocol pinned to <1."],"body":"Pydantic AI released version v2.47.0 on 2026-09-21. Key compatibility changes include renaming None output routes from NoneType to None, and raising an error when UserPromptPart.content is neither a string nor a sequence (preventing silent transmission of dictionary keys). Features and bug fixes center around TypeSafeModel enhancements, such as supporting three additional field types, handling None routes/options with descriptions, supporting Choices sets as routes, and preventing crashes when encountering tuple output fields with self-contained models or oversized rubric levels. The ag-ui-protocol dependency has also been pinned to <1.","sponsors":[]}