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
- 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
- feature: add `deps` param to `agent.to_a2a()`
- chore(tests): Specify cassette matchers for different providers
- Implement `RecordModel`
- type check docs examples
- Docs
- Python not yet supported