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
- 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)
- Run sync tool/callback functions inline on Pyodide/emscripten instead of offloading to a thread
- fix(dbos,prefect): preserve runtime `toolsets` in durable runs
- [roundtrip-sweep] AG-UI adapter: FilePart.content.vendor_metadata silently dropped on round-trip (model response side)
- Recommend passing an explicit `name` to `Agent` for better Logfire observability
- fix(test): set `provider_name` on `TestModel` non-streaming responses
- Expose the live `AgentRun` handle from `to_web`/`dispatch_request` for cross-request steering (interrupt / enqueue)
- Docs
- Python not yet supported