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
- Explore cache-stable tool deferral without native support via minimized declarations + `tool_choice`
- Tell the model when `search_tools` results were truncated by `max_results`
- A pre-cancelled \`cancellation_token\` bypasses the durable-context rejection guard
- 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
- Docs
- Python not yet supported