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
- pr-guard: exempt pydanty PRs from auto-close & supersede near-simultaneous duplicates
- Fix `new_messages()` leaking resumed request when `before_model_request` replaces it
- fix: track `new_messages()` boundary by position so a rebuilt resumed request isn't leaked
- Add `args_before_validator` for raw tool args
- Add `pytest.mark.eval` integration for `pydantic-evals`
- (WiP) Add realtime speech-to-speech support
- fix(openai): raise ContentFilterError for plain-text content_filter responses
- [provider-mapping-sweep] groq: image `detail` from `vendor_metadata` silently dropped by `_map_user_prompt` for `ImageUrl` and `BinaryContent`
- Forward image `detail` from `vendor_metadata` for `GroqModel` and `MistralModel`
- [provider-parity-explore] Provider parity: thinking — HerokuProvider silently drops `thinking` for every reasoning model (Claude, Kimi K2 Thinking, Qwen3- [Content truncated due to length]
- Docs
- Python not yet supported