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
- `OpenAIProvider` cannot receive an async API-key callback
- Preserve Vercel binary mappings without `data`
- Allow async `api_key` provider callables in `OpenAIProvider`
- continuous_usage_stats: usage-less stream chunk wipes the cumulative usage to zero
- List `glm-5.3-flash` among the Z.AI thinking models
- Streamed PartEndEvent carries the wrong part (or IndexError) after a nameless tool-call delta
- Bedrock: a thinking-only response is re-sent with its thinking block silently downgraded to `<thinking>` text, and the API rejects the retry
- Non-streaming chat completions: empty choices array raises bare IndexError instead of a typed error
- Anthropic `count_tokens` fails with a 400 when `CodeExecutionTool(files=...)` is in use
- docs: add piighost to third-party capabilities
- Docs
- Python not yet supported