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
- `AnthropicModel` should auto-enable Files API beta for `UploadedFile` requests
- [roundtrip-sweep] ToolReturnPart.content: BinaryContent round-trips as a plain dict via dump_python(mode='json')/validate_python [Content truncated due to length]
- vLLM backend rejects PromptedOutput requests with 'System message must be at the beginning'
- Guard against discriminated-union / discriminator-tag drift in `messages.py` (test-suite robustness)
- `CodeMode(tools="all")` hides `load_capability`, breaking deferred capabilities
- docs: add governed OpenAI-compatible endpoint example
- Support callable `requires_approval` for conditional tool approval
- fix(vercel-ai): round-trip FileUrl/BinaryContent vendor_metadata
- fix: prevent `cancel()` from flipping complete state on finished stream
- Unified thinking setting is not used for setting effort in Groq provider
- Docs
- Python not yet supported