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 supported1 Subscribers
Add a CodeTriage badge to pydantic-ai
Help out
- Issues
- fix(ag-ui): preserve ModelRequest part order when dumping messages
- AGUIAdapter.dump_messages reorders ToolReturnPart after UserPromptPart
- Record time-to-first-token for streaming model requests
- fix(openai): add tool_search when a deferred tool is sent on Responses
- [provider-parity-explore] Provider parity: streaming — CohereModel has no streaming at all (raises NotImplementedError)
- `group_by_temporal` starts the debounce window before the first item arrives, splitting the first group
- Fix `group_by_temporal` emitting first item alone when delayed past soft_max_interval
- Expose native tool lifecycle stream events for provider-side code execution
- [provider-mapping-sweep] cohere: prompt-cache hit count (usage.cached_tokens) silently dropped by _map_usage
- docs(openrouter): use property-style result.usage in caching example
- Docs
- Python not yet supported