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
- Fail loudly when a `@durable_operation` would run inline under a durable engine
- Check whether model request spans still carry the full message history every request, and offer a lighter option
- Lead the retries docs with the common case: retry 429 and 5xx with backoff on any provider
- Allow non-integer values in `RequestUsage.details`
- Point to `NativeOutput`/`PromptedOutput` when output retries run out because the model answered in text
- Option to stream internally and return an aggregated response, so gateways don't drop idle requests
- A `ServiceTierFallback` capability: try a cheaper service tier, fall back to standard
- Docs: keep per-turn context out of instructions so the prompt cache survives
- Document VideoGen third-party tools
- Move realtime agent guidance into a packaged topic reference
- Docs
- Python not yet supported