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 supported2 Subscribers
Add a CodeTriage badge to pydantic-ai
Help out
- Issues
- [Azure AI Foundry] Mistral gateway rejects max_completion_tokens with 422 "Extra inputs are not permitted"
- Make `wrap_tool_validate` and `wrap_tool_execute` the outermost tool-stage hooks, restoring the tool span for failed validation
- Replace `FallbackModel` with a fallback capability in V3
- feat: distinguish no-output retries from validation feedback in `RetryPromptPart`
- Does AG-UI + `TemporalAgent` + HITL tool approval work together E2E with a stateless API (no stored workflow ID between requests)?
- Add experimental Amazon Nova Sonic realtime support (`BedrockRealtimeModel`)
- Add opt-in `expose_resources` to `MCPToolset` to expose MCP resources as model-callable tools
- Prompt-cache prefix stability as a default-on, monitored framework guarantee
- Resolve effective prompt-cache retention from model settings, not just the profile default
- NativeOutput silently prevents function-tool calls with vLLM structured decoding
- Docs
- Python not yet supported