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
- 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: add piighost to third-party capabilities
- stream_text() sometimes surfaces internal thinking/monologue as the final output
- Render `pydantic_ai.durable_exec` on its API reference page
- Batch event-stream dispatch into per-burst durable units
- Docs
- Python not yet supported