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
- Support nested deferred tool calls, i.e. subagents or code mode calling tools that require approval
- Add `otel_messages_to_model_messages` to convert OTel messages back into `ModelMessage`s
- Support recursive `$ref` and `$defs` in `StructuredDict`
- Support ACP (Agent Client Protocol)
- Gemini Interactions API
- [RFC] Strict Runtime Validation for Untrusted Tool Outputs
- Tool Output mode does not stream structured output incrementally with Gemini
- `AGUIAdapter.streaming_response` doesn't preserve context vars
- Track Google Gemini fix for `functionResponse` role handling
- Add `ContextWindowExceeded` exception for context window errors
- Docs
- Python not yet supported