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
- OpenAI Responses streaming retains the requested router alias instead of the terminal served model
- Wire-contract cases assert against their own cassette, so they cannot catch body drift
- MCP(native=<factory>) with `url=` stamps the local fallback with an `unless_native` id the factory's `MCPServerTool` never matches
- `MistralModel` streaming raises a bare `ValueError` (or drops the text) when output tools are registered and the model answers in plain text
- Dataset.evaluate never extracts span-tree metrics when the task raises
- CI Review agent job fails to check out the PR head: pre-warm rewrites pydantic-ai-runner.lock
- Events from tool calls that trail a streamed final output never reach `event_stream_handler`
- tests: pin Bedrock thinking + auto-output silent downgrade (native/prompted) path
- `TestModel` structured output retries out on `datetime`, `UUID`, `time`, and URL fields
- Make `TestModel` generate valid `datetime`, `UUID`, `time`, and URL values
- Docs
- Python not yet supported