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
- Support deterministic client lifecycle management in ImageGenerator
- Stop referring to the removed `history_processors` argument in the message history docs and agent skill
- docs: add pydantic-ai-contextfetch to Third-Party Toolsets
- Track what the model sees in one private `HistoryState` fold, with named projection passes
- Add an opt-in server-held history mode to UI adapters, so history never round-trips through the client
- `format_as_xml` renders a plain `Enum` as `Color.RED` everywhere except inside a `BaseModel`
- OpenAIChatModel streaming merges parallel tool calls when the server gives them the same index
- `AnthropicModel` sends an empty mid-conversation `SystemPromptPart` as an empty system text block
- `BedrockConverseModel` sends an empty or whitespace-only user prompt, and an empty `TextPart`, as a blank text block
- Document Abstract as an OpenAI-compatible API
- Docs
- Python not yet supported