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
- Anthropic streaming drops zero-argument `mcp_tool_use` on replay, leaving an orphaned `mcp_tool_result`
- Support image input on `TypeSafeModel` (Jev)
- Support OpenAI's `gpt-image-2.5-flare` and `gpt-image-2.5-sunburst` image models
- Expose `code`, `type` and `param` of Responses API in-stream errors on `ModelAPIError`
- Answer CopilotKit's MCP Apps page requests with `AGUIAdapter.mcp_app_toolsets`
- Store each step-persistence message once and reference it from snapshots, deprecating `deduplicate_messages=False`
- Recheck Gemini media-processing replay when Google publishes updated guidance
- Send `toolMetadata` for MCP tool calls on AI SDK 7 and read it back from history
- Resolve `ctx.tracer` from the worker agent inside Temporal activities so `Memory` tools run
- Let callers configure the Bedrock client that `gateway_provider` builds
- Docs
- Python not yet supported