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
- Add `google_tool_config` field to `GoogleModelSettings`
- takes_run_context() silently swallows NameError on TYPE_CHECKING-hidden RunContext, causing silent dispatch failure
- feat: add `import_capability_types` to `AgentSpec`
- docs: fix broken evals link in index.md (fix #5362)
- fix: route MCP tool errors as failed ToolReturnParts instead of raising ModelRetry (#5217)
- feat(images): add direct image generation API
- fix: handle boolean JSON Schema nodes in function_signature walker
- Add prepare_model_request capability hook to replace Model.prepare_request / Model.prepare_messages
- xai: `ToolCallPart` following `ThinkingPart` goes onto a new assistant message instead of attaching to the reasoning one
- feat(fallback): transparent stream retry on response-handler rejection
- Docs
- Python not yet supported