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
- First-party cancellation attribution can mislabel an external cancel after a user `Task.uncancel()`
- Add `ctx.enqueue(str, system=True)` sugar for mid-conversation operator steering
- Same-name tool schema changes: honest re-send with a reported cache boundary
- Framework-attributed cache-boundary reasons, carrying the invalidation tier
- Track tool-output tokens as a usage dimension
- First-class checkpoint/rewind primitive for agent runs
- Export `HistoryProcessor` from the package root
- `on_cache_bust` hook: react programmatically when a prompt-cache bust is detected
- Deferred capability instructions are not visible to `before_model_request`, unlike deferred tools
- Unified `cache` setting on `ModelSettings`, mirroring unified `thinking`
- Docs
- Python not yet supported