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 supported1 Subscribers
Add a CodeTriage badge to pydantic-ai
Help out
- Issues
- Support for OpenAI Realtime API and equivalents (AWS Nova Sonic, etc)
- Add Resources, Prompts to MCP Client
- Expose method to map messages to model provider format
- Support Anthropic tool result citations
- Possible Bug with cached_tokens Usage in PydanticAI When Using Langfuse
- Failed to yield `ToolReturnPart` streaming with structured output type via tool call
- Make Gemini `google_search` tool grounding metadata available in model response
- [Bedrock] `ValidationException`: "Thinking may not be enabled when `tool_choice` forces tool use" with interleaved thinking on Sonnet 4.5
- Gemini image model does not accept history with tool calls or thinking
- Expose the instruction generated by PromptedOutput on `ModelRequest`
- Docs
- Python not yet supported