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
- 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
- Emit OTel `gen_ai.usage.reasoning.output_tokens` and `gen_ai.request.reasoning.level`
- pydantic-evals: round out the built-in evaluator pack (safety metrics, similarity heuristics, named-preset policy)
- Docs
- Python not yet supported