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
- Give `on_complete` callback access to `deps`
- Customize String Representation for Tool Return Content (`model_response_str`)
- Support image and video generation models directly
- Move away from the http client cache
- Allow `retries` argument for `run`,`run_sync` etc
- Add input and output guardrails
- `AzureOpenAI` models don't support files
- Record `cache_read` tokens in token usage histograms
- Improve tool call order preservation behavior for `end_strategy=exhaustive` and support multi-round deferred tool handling
- Ignore: Codex tool return schema(to be reviewed by Codex)
- Docs
- Python not yet supported