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
- Add `LabelCrossModelHistory` to identify assistant turns from another model
- Add snapshot and restore primitives to `Workspace`
- Disclose remaining usage and spend budgets to the model
- Support native tools (`WebSearchTool`, `XSearchTool`, `FileSearchTool`, `MCPServerTool`) in xAI realtime sessions
- Support `MCPServerTool` in OpenAI and Azure realtime sessions
- Allow a forcing `tool_choice` in OpenAI and Azure realtime sessions by applying it per user turn
- Emit input speech events on Gemini 3.x Live from `voice_activity` messages
- Surface GPT-Live backend reasoning summaries as `ThinkingPart`s
- Support G.711, Opus and other PCM sample rates in realtime sessions
- Decide how manual turn control should work on Gemini Live
- Docs
- Python not yet supported