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
- `OpenAIChatModel` rejects `application/openapi+yaml` attachments
- Vercel AI adapter: emit `reset-step` when a retried durable model activity republishes its stream
- Treat `+yaml` structured-suffix media types as text-like
- docs: clarify the retry bound for a ModelRetry returned by a deferred tool handler
- docs(output): deterministic physics/bounds validator example
- A `ModelRetry` from a model hook drops the billed response from history when a usage limit stops the run
- Dataset.add_case refuses a second unnamed case with "Duplicate case name: None"
- Let `Dataset.add_case` add cases without a name
- `SpanNode.first_descendant` visits sibling subtrees in reverse, so it returns the span that started last
- Walk span descendants in depth-first order instead of last child first
- Docs
- Python not yet supported