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 supported4 Subscribers
Add a CodeTriage badge to pydantic-ai
Help out
- Issues
- Add Nimble Search as a common tool
- Upgrade Anthropic web search / web fetch to 20260318 tool versions (cache bypass and response inclusion support)
- Realtime: outbound sends bypass `ReconnectPolicy` (OpenAI and Gemini)
- Expose effective `reasoning.context` and `reasoning.mode` on `ModelResponse.provider_details` (OpenAI Responses)
- Validate native tool IDs per capability layer
- Carry non-native `ThinkingPart`s in a user turn for models that imitate assistant formatting
- Support Anthropic `web_search_20260318` and `web_fetch_20260318`
- ci: enforce agent sensitive-path guard at the CI boundary
- Realtime: consider a higher-altitude `session.exchanges()` turn-outcome iterator
- Continue-as-new support in `TemporalDurability` for long-running agent runs
- Docs
- Python not yet supported