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
- `RequestUsage.extract` swallows all exceptions and returns a fabricated zero usage
- Non-standard finish_reason values crash Bedrock Mantle and Gemini OpenAI-compatible endpoints with UnexpectedModelBehavior
- `join()` with a fanned producer silently drops that branch's contribution
- Validate deferred result categories on agent resume
- fix(bedrock-mantle): map Bedrock-native guardrail_intervened finish_reason
- Add compaction lifecycle events (`CompactionStartEvent`, `CompactionEndEvent`), emitted by stateless `OpenAICompaction`
- Move provider-specific native-tool fields to `provider_settings`
- There is no public way to ask whether a capability is a durability capability
- `CallDeferred` raised from a model-request hook escapes the run with an empty message
- An empty `CompactionPart` summary is treated as a wire boundary, dropping the history it cannot replace
- Docs
- Python not yet supported