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 supported6 Subscribers
Add a CodeTriage badge to pydantic-ai
Help out
- Issues
- Expose native tool lifecycle stream events for provider-side code execution
- Add `Agent.to_responses()` to serve an agent as an OpenAI Responses API endpoint
- Conversion to and from ChatCompletionMessageParam
- Thinking-part re-render leak parity: `groq` / `huggingface` / `xai`
- Stream and run cancellation semantics tracker
- Guard against discriminated-union / discriminator-tag drift in `messages.py` (test-suite robustness)
- Expose Gemini 3 Web Search sources on `NativeToolReturnPart`
- Preserve optional dependency import errors
- feat(common_tools): add `BraveSearchTool` with web, news, image, video, and local search
- Add support for AG-UI agent capabilities
- Docs
- Python not yet supported