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 supported2 Subscribers
Add a CodeTriage badge to pydantic-ai
Help out
- Issues
- Support browser WebRTC for Azure AI Voice Live (`azure_voice_live=True`)
- Realtime: outbound sends bypass `ReconnectPolicy` (OpenAI and Gemini)
- Realtime: clean WebSocket close ends an OpenAI session silently, even mid-turn
- Run-level capabilities are flattened before native-tool `unique_id` validation, preventing intended cross-layer overrides
- Expose effective `reasoning.context` and `reasoning.mode` on `ModelResponse.provider_details` (OpenAI Responses)
- `opentelemetry_attributes()` drops zero-valued usage detail fields (`reasoning_tokens=0` swallowed)
- Add `mistral_prediction` setting for Mistral predicted outputs
- feat(durable_exec): declarative durability base (Shape D, experimental)
- Validate native tool ids per capability layer instead of flattened
- Preserve arbitrary `RequestUsage` fields across serialization
- Docs
- Python not yet supported