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
- Ambiguous inputs accepted without an error: MCP config with command and url, past Retry-After dates, non-chat providers in infer_model
- Unsupported media types and schemas raise bare KeyError / AssertionError / TypeError
- FilePart(BinaryContent(image)) from a custom model is not treated as a BinaryImage
- Tracking: bugs found by checking for asserts, sentinel values, and loose types
- Plan recovery tests for durable agent-graph delays
- Let a `ToolKind` declare its `allowed_callers`, replacing `CodeMode`'s hard-coded list of model-only kinds
- Mistral Large 4: `thinking` maps to `none`/`high`, but the model now takes `low`/`medium`/`high` and rejects `none`
- Preserve rejected-response usage when an outer `FallbackModel` handles an exception
- Support OpenAI image `markup` and `mask` edits, `complexity`, and GIF and SVG output
- Broken links found in docs
- Docs
- Python not yet supported