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
- Bedrock: an attachment (DocumentUrl/ImageUrl) merged into the same user message as a tool_result → Converse ValidationException
- Add FAQ on deferred tools, tool search, and prompt caching
- fix(utils): run sync callbacks inline on Pyodide/emscripten by default
- DBOSAgent and PrefectAgent drop per-run `event_stream_handler` in durable runs
- docs: Add example for streaming with instructor
- fix(google): enable include_server_side_tool_invocations for CodeExecutionTool
- Support `retries={'tools': N}` override at `run`/`iter`/`override` time
- Route remaining instrumentation serialization through `safe_to_json`
- DBOSAgent and PrefectAgent drop runtime `toolsets` in durable runs
- Modernise Exa common tools for exa-py >= 2.15 (deprecations + new parameters + tests)
- Docs
- Python not yet supported