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
- Add prepare_model_request capability hook to replace Model.prepare_request / Model.prepare_messages
- feat(fallback): support fallback model handling for streaming cases
- Add NVIDIA NIM as a model provider
- [Feature Request] `AgentSpec` add `plugins` field for automatic custom capability loading
- Question: result.usage() under-counts on Anthropic context-management compaction-triggered streamed runs — am I reading this right?
- Output validator `ctx.last_attempt` can be inaccurate when `ToolOutput.max_retries` exceeds `output_retries`
- How to input video into qwenvl models
- fix(vercel_ai): skip stale `approval-responded` when tool already executed (#5154)
- Gateway: Model ID translation in custom routing groups
- Gateway: Adaptive routing — latency-aware provider selection
- Docs
- Python not yet supported