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 `otel_messages_to_model_messages` to convert OTel messages back into `ModelMessage`s
- Support recursive `$ref` and `$defs` in `StructuredDict`
- Gemini Interactions API
- [RFC] Strict Runtime Validation for Untrusted Tool Outputs
- Tool Output mode does not stream structured output incrementally with Gemini
- `AGUIAdapter.streaming_response` doesn't preserve context vars
- Track Google Gemini fix for `functionResponse` role handling
- Implement `RecordModel`
- Add logging/tracing for MCP server / Pydantic tool registration with LLM
- Docs improvements
- Docs
- Python not yet supported