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: Agent Functional API / Decorator
- Cancellation cleanup in run_stream_events returns before internal tasks finish
- Add conversation evaluators and shared OTel conversation extraction utilities
- Add curated quality metrics pack (Faithfulness, AnswerRelevance, GEval, GembaScore, …)
- Add agentic span-based evaluators (ToolCorrectness, TrajectoryMatch, ArgumentCorrectness, StepEfficiency)
- Online evaluation via OpenTelemetry events
- docs: add Doubleword as an OpenAI-compatible provider
- Add model response lifecycle events for UI streams
- Support default _meta parameters in MCPServer
- Add `request_meta` to `MCPServer`
- Docs
- Python not yet supported