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
- feat: add WebSocket mode for OpenAI Responses API
- feat: Add Anthropic `_20260209` web tools with server-tool replay
- Migrate remaining models to use `RequestUsage.extract()` via genai-prices
- operation.cost missing for OpenRouter with OpenAIChatModel + LiteLLMProvider
- feat(bedrock): support extra_headers via boto3 event hooks
- Add `pydantic_ai.prices.update_in_background()` and warn when model pricing data is missing
- Improve capabilities & hooks docs; promote `TemplateStr` to public `pydantic_ai.template`
- Add OnlineEvaluation capability for agent integration
- feat: Cohere: Implement multimodal support for Command A Vision #3703
- Add capability and toolset override by ID
- Docs
- Python not yet supported