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
- Cache model responses for identical requests
- opentelemetry dependency of pydantic-ai makes AWS lambda crash at import time
- Support built-in MCPServerTool approval request
- deep research example
- Let OTel messages/events from Logfire be deserialized into `ModelMessage`s
- Do `output_type` functions support streaming input?
- Meta: Issue & PR Prioritization in the age of AI-assisted coding
- Support "prompted tool calls" for models that don't have native support (e.g. Ollama + Gemma3)
- Add "Circuit Breaker" to Fallback model
- Add `message_stream_handler` / `run_stream_messages`
- Docs
- Python not yet supported