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(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
- [aw] Detection Runs
- Add `Agent.to_responses()` to serve an agent as an OpenAI Responses API endpoint
- fix(mistral): forward `presence_penalty` and `frequency_penalty` in non-streaming requests
- Docs
- Python not yet supported