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
- FastMCPToolset: add support for MCP background tasks (SEP-1686)
- Tool Output mode does not stream structured output incrementally with Gemini
- `AGUIAdapter.streaming_response` doesn't preserve context vars
- Support Bedrock native JSON output + strict tool calls
- Pydantic AI v2 Traits API: Research Report & Conceptual Design
- Track Google Gemini fix for `functionResponse` role handling
- Support Bedrock native JSON output + strict tool calls
- Add `ContextWindowExceeded` exception for context window errors
- chore(ai): update `tests/AGENTS.md`, add `pytest-vcr` skill and add `ENABLE_VERTEX` flag for better ergonomics
- Deferred tool handler
- Docs
- Python not yet supported