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
- fix(utils): strip markdown fences with indented JSON and arbitrary info strings
- Add `google_stream_function_call_arguments` to `GoogleModel` for Vertex streamed function-call arguments
- Render field and parameter names Python can't write in `FunctionSignature` tool catalogs
- Apply `FunctionToolset`'s `strict`, `sequential`, `defer_loading` and `include_return_schema` defaults to `Tool` instances
- Match DeepSeek V4 point-release model id spellings in profiles and providers
- Make a `$ref` in a `FunctionSignature` tool schema mean its target
- Support running `SubAgents` delegations to durable delegates as Temporal and DBOS child workflows
- Trim `Coder`'s default instructions and add `Coder(autonomy=...)`
- [voice-authority] Note text that imitates a core data frame or a capability part's frame on every untrusted channel
- Output cut off at `max_tokens` is returned, retried or reported inconsistently, and `ModelFallback` can't fall back on it
- Docs
- Python not yet supported