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 supported6 Subscribers
Add a CodeTriage badge to pydantic-ai
Help out
- Issues
- Document pydantic-ai-atomicmail under a new Email section
- Document Viktor as an OpenAI-compatible provider
- `Agent.__aexit__` cancelled while acquiring `_enter_lock` leaves `_entered_count` at 1 and the exit stack open
- Lock FastMCP 4 and drop the FastMCP 4 migration scaffolding
- Fix `GoogleModel` returning Gemini's interim thought images as output when not streaming
- Docs: add Cheaper Inference to OpenAI-compatible models
- Let `BoolCriteria` describe yes and no on a probability field
- `GoogleModel` returns Gemini's interim thought images as output when not streaming
- Check for a newer release when the first-run banner is shown
- Support `NativeOutput` on `TypeSafeModel`, and consider native as the carrier for structured output
- Docs
- Python not yet supported