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
- Add a `ConvertFiles` harness capability that converts files to a format the model reads
- [cache] Draft: `Caching` retention policies with a tunable `'auto'` default and a public `CachePolicy` interface
- Draft: mark withdrawn and replaced instructions in place on models that otherwise keep following them
- Let a capability rewrite a tool call's name before the tool is resolved
- Send video to OpenAI-compatible Chat Completions endpoints whose profile says they accept it
- Anthropic and Bedrock warn on every request about dropped sampling params, against the silent-tuning-knob rule
- A way to apply capabilities to every agent in a process
- Decide what OpenAI-compatible Chat Completions responses do with data we don't map: opt-in `provider_details`, a compatible-endpoint default, or nothing
- Give HTTP 408, 413, 424 and 498 an error category instead of a bare `ModelHTTPError`
- Populate `ModelAPIError.retry_after` from Gemini's `RetryInfo.retryDelay`
- Docs
- Python not yet supported