pydantic-ai
https://github.com/pydantic/pydantic-ai
Python
GenAI Agent Framework, the Pydantic way
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Python not yet supported1 Subscribers
Add a CodeTriage badge to pydantic-ai
Help out
- Issues
- Add Apache Airflow durable execution docs
- [aw] Pydantic AI Streaming Resilience Sweep failed
- fix(messages): round-trip RetryPromptPart.content with partial ErrorDetails
- fix(groq): surface `cached_tokens` and `reasoning_tokens` in usage details
- [roundtrip-sweep] ModelMessagesTypeAdapter: RetryPromptPart.content list of error details fails to round-trip when any item lacks `input`
- fix(xai): update `XSearchTool` handle limit
- fix: use running loop in chat app example
- feat: add `xai_max_turns` to `XaiModelSettings`
- feat: provider capability introspection API — let users check response_format / tool_calling support at runtime
- [groq] `cached_tokens` from groq response is dropped and not set in `ModelResponse.usage`.
- Docs
- Python not yet supported