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 supported4 Subscribers
Add a CodeTriage badge to pydantic-ai
Help out
- Issues
- 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
- 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)
- Verify UI event-path cache-prefix fidelity with golden fixtures generated by the real Vercel AI / AG-UI client reducers
- feat(instrumentation): report prompt-cache health via `pydantic_ai.cache.*` span attributes and collapse events
- docs: add prompt caching contract and monitoring page
- Docs
- Python not yet supported