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 supported4 Subscribers
Add a CodeTriage badge to pydantic-ai
Help out
- Issues
- Add `supports_text_output` to `ModelProfile`, and run `LLMJudge` and `GEval` on a model without it
- Let `TypeSafeModel` answer a `str` field by picking a candidate out of the text
- Let `TypeSafeModel` fill a union of output types by choosing the type first
- Add the `FileUnderstanding` capability and `ModelProfile` file-input flags
- Run an agent on a model that only answers questions: what `TypeSafeModel` (Jev) still needs from the framework
- Describe each option of an `Enum` by the docstring under its member
- Resolve redirect `Location` headers per RFC 3986 instead of concatenating paths
- Realtime sessions do not support `on_change='append'` instruction updates
- Document that capability hooks read the activity set as of request preparation, and that `prepare_tools` is the tool gate
- Design: one policy for what an agent spec may import and how it may be configured
- Docs
- Python not yet supported