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
- Count only tool calls that will execute against `tool_calls_limit`, including calls approved inline by `HandleDeferredToolCalls`
- Expose the capabilities and toolsets passed to `run()` on `RunContext`, so a child run of the same agent can inherit them
- format_as_xml silently drops every item after the first when given a generator of dataclasses or BaseModels
- Add `pushary-pydantic-ai` to third-party capabilities
- FunctionToolset accepts non-positive timeout and negative max_retries without validation
- Merge plain synthetic responses in linear time
- Materialize single-pass iterables in format_as_xml before either walk starts
- Add a stack page and split the overview lead into paragraphs
- Avoid quadratic copying when merging synthetic response history
- WrapperCapability drops defer_loading when it wraps a DynamicCapability
- Docs
- Python not yet supported