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 supported4 Subscribers
Add a CodeTriage badge to pydantic-ai
Help out
- Issues
- fix(openai): keep the cumulative usage snapshot across usage-less chunks
- List `glm-5.3-flash` among the Z.AI thinking models
- A first-position `ToolAvailabilityDeltaPart` becomes the run's standing system prompt
- 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
- feat(cli): support --mcp-config in clai web
- fix(openai): raise a typed error for empty non-streaming choices
- fix(models): keep PartEndEvent (index, part) pairs consistent with their starts
- Anthropic `count_tokens` fails with a 400 when `CodeExecutionTool(files=...)` is in use
- Docs
- Python not yet supported