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 supported4 Subscribers
Add a CodeTriage badge to pydantic-ai
Help out
- Issues
- [Feature Request] `AgentSpec` add `plugins` field for automatic custom capability loading
- Question: result.usage() under-counts on Anthropic context-management compaction-triggered streamed runs — am I reading this right?
- Output validator `ctx.last_attempt` can be inaccurate when `ToolOutput.max_retries` exceeds `output_retries`
- Expose agent as OpenAI Responses API endpoint via `Agent.to_responses()`
- How to input video into qwenvl models
- fix(vercel_ai): skip stale `approval-responded` when tool already executed (#5154)
- Gateway: Model ID translation in custom routing groups
- Gateway: Adaptive routing — latency-aware provider selection
- iter_tool_approval_responses yields stale approval-responded parts for already-executed tools on continuation rounds
- (tentative) Move per-connection MCP metadata (`server_info`, `capabilities`, `instructions`) onto `_MCPConnectionState`
- Docs
- Python not yet supported