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
- Anthropic WebSearch splits response into seperate text parts
- Add extra_headers support for Google model provider
- Support Bedrock native JSON output + strict tool calls
- Report-level evaluators & experiment-wide analyses
- Vercel AI adapter: yield BaseChunk from ToolReturnPart.metadata
- Pydantic AI v2 Traits API: Research Report & Conceptual Design
- fix: only suggest 'call a tool' in retry when tools are available
- Track Google Gemini fix for functionResponse role handling
- Support Bedrock native JSON output + strict tool calls
- Add `ContextWindowExceeded` exception for context window errors
- Docs
- Python not yet supported