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
- Auto-enable Anthropic Files API beta when messages contain `UploadedFile`
- Public API to enumerate `KnownModelName` members
- Single-source `BinaryContent` -> `BinaryImage` narrowing in `MultiModalContent` validation
- `AnthropicModel` should auto-enable Files API beta for `UploadedFile` requests
- `OpenAIResponsesModel` should map image `UploadedFile` parts to `input_image`
- [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)
- Add `known_model_names()` to enumerate `KnownModelName` members
- `CodeMode(tools="all")` hides `load_capability`, breaking deferred capabilities
- Docs
- Python not yet supported