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: Pass metadata to MCP server tool calls
- FallbackModel does not handle UnexpectedModelBehavior raised during response handling in agent graph
- Expose build_run_context
- Allow customization of all prompts sent by the framework to the model
- Create `FilePart` for all files generated by OpenAI and Anthropic `CodeExecutionTool`
- Handling Incorrect Error Type in `validate_structured_result` Causes Context Detachment Issue
- Model proxy/gateway/router
- For list-like `result_models`, LLM tries to call `final_result` multiple times
- Add Resources, Prompts to MCP Client
- Expose method to map messages to model provider format
- Docs
- Python not yet supported