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
- `download_item` trusts the response `Content-Type` for every `FileUrl`, so spoofed or mismatched bytes are forwarded to providers
- Capability-contributed local tools drop their token usage from `RunUsage` and `UsageLimits`
- Provider-reported billed cost has a reserved home in `RequestUsage.cost` that no adapter populates
- Temporal: an oversized activity *argument* fails the workflow task and retries forever instead of raising
- Verify Azure OpenAI explicit prompt caching for GPT-5.6 (cache_write_tokens now appearing in usage)
- Capability hooks that touch external state cannot commit exactly once under durable execution
- Re-record cassettes whose recorded no-output-retry request body has drifted from the code
- `DeferredToolResults.calls` smart union collapses serialized parts to plain `dict`s
- `cost_limit` silently stops covering part of a run when only some responses can be priced
- Dedup root-level `input` in tool-call `RetryPromptPart` serialization
- Docs
- Python not yet supported