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
- [Bug] Field mismatch in ToolOutputAvailablePart: expected result_provider_metadata (resultProviderMetadata)
- `AGUIEventStream` doesn't emit agent-generated `FilePart`s
- Emit agent-generated `FilePart`s as `pydantic_ai_file` activity events in the AG-UI stream
- Cached MCP tool results can be mutated by callers
- `EmbeddingSettings.dimensions` claims Bedrock support that Titan v1 and Cohere v3 do not have
- Fix `{schema}` substitution in prompted output templates to allow literal braces
- Document provider environment variables that are only in docstrings
- Prompted output templates reject literal JSON braces
- Copy cached lists in `MCPToolset.list_tools`, `list_prompts`, and `list_resources`
- Cached MCP listings can be corrupted by callers mutating returned lists
- Docs
- Python not yet supported