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
- Add Mem0 Memory Toolset
- ToolReturnPart drops error status — is_error hardcoded to False for Anthropic/Bedrock, AG-UI ToolMessage.error not mapped
- Automatic tool budget reminders via `ToolReturn.content`
- Truncate large tool results and let model read the rest (in chunks) via a new tool
- MCP Tool result audience annotation is ignored
- Pylance reports "No parameter named" errors for `DocumentUrl` and `BinaryContent`
- Model classes hold stale client references when provider is re-initialized
- Support building eval datasets from Logfire production traces
- Exposing tool calls for A2A agents without duplicating existing Pydantic AI functionality
- feat: Add file_ids support to CodeExecutionTool for Anthropic and OpenAI
- Docs
- Python not yet supported