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
- docs: add governed OpenAI-compatible endpoint example
- Support callable `requires_approval` for conditional tool approval
- fix(anthropic): guard against message=None in _map_usage on Bedrock streams
- fix(vercel-ai): round-trip FileUrl/BinaryContent vendor_metadata
- fix: keep streaming state as 'complete' if cancelled after finish
- fix: prevent `cancel()` from flipping complete state on finished stream
- Unified thinking setting is not used for setting effort in Groq provider
- Reject conflicting native MCP tool IDs
- `AnthropicModel.count_tokens` diverges on `ToolSearchTool` replay history
- `GoogleModel.count_tokens` may forward native tools to count_tokens (Vertex branch)
- Docs
- Python not yet supported