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
- Cache model responses for identical requests
- opentelemetry dependency of pydantic-ai makes AWS lambda crash at import time
- Support built-in MCPServerTool approval request
- Enable more advanced Anthropic prompt caching than `CachePoint` implementation llows
- deep research example
- Require agent to use tool(s) before final output
- Let OTel messages/events from Logfire be deserialized into `ModelMessage`s
- Do `output_type` functions support streaming input?
- Meta: Issue & PR Prioritization in the age of AI-assisted coding
- Support "prompted tool calls" for models that don't have native support (e.g. Ollama + Gemma3)
- Docs
- Python not yet supported