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
- Human in the Loop Approval for Multi Agent Systems
- `system_prompt` is ignored when using UI adapter (AG-UI, Vercel AI) or `to_web`
- History and Message (De)Serialization hooks to prevent hitting Temporal payload size limit
- Support custom output validation failure handler as alternative to sending error to model
- Add `list_prompts` and `get_prompt` functionality to `McpServer`
- Support `WebSearchTool` for `OpenRouterModel` through OpenRouter plugins
- feat: Tool Search Toolset
- Support OpenAI compations in OpenAIRequestsModel
- Fix `BaseToolCallPart.has_content()` to always return `True`
- feat(ag-ui): preserve thinking signatures, files and tool returns in roundtrip
- Docs
- Python not yet supported