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
- Allow a `CancellationToken` fired from a workflow signal to cancel a Temporal durable run
- `on_run_error` is bypassed when `before_run` or a short-circuiting `wrap_run` raises
- `UIEventStream.transform_stream` skips native-stream teardown when closed during `before_stream()`
- Realtime-specific capability lifecycle hooks, and rebuilding realtime instrumentation on them
- Revisit `FallbackModel` behavior on `ContextWindowExceeded`
- `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
- Capability hooks that touch external state cannot commit exactly once under durable execution
- Docs
- Python not yet supported