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
- Streaming from Tools [returning `Iterator`/`AsyncIterator` from tool calls]
- fix(litellm): default openai_chat_supports_multiple_system_messages=False for models without recognized provider prefix
- feat: add provider capability introspection API for runtime feature detection
- fix(messages): round-trip `RetryPromptPart.content` with partial `ErrorDetails`
- fix(groq): surface reasoning_tokens in usage details
- [roundtrip-sweep] `ModelMessagesTypeAdapter`: `RetryPromptPart.content` list of error details fails to round-trip when any item lacks `input`
- fix(xai): update `XSearchTool` handle limit
- feat: provider capability introspection API — let users check response_format / tool_calling support at runtime
- [groq] `cached_tokens` from groq response is dropped and not set in `ModelResponse.usage`
- GoogleModel silently reorders system messages by concatenating them into systemInstruction, regardless of original position
- Docs
- Python not yet supported