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
- gen_ai.input.messages omits message changes made by a capability's wrap_model_request
- Claude served through OpenAI-compatible providers ignores `mimics_assistant_message_formatting`
- A capability cannot be outermost for wrapping and last for contribution: one `get_ordering()` decides both, so a tracing-driven `outermost` silently costs it every `get_model`/`get_model_settings` contest
- Support alert and runnable fallback for MCP server connection failures
- Add structured citations to `TextPart`
- Azure AI Voice Live: cascade voice and transcription tuning settings
- Azure AI Voice Live: support Foundry Agents (`agent_id` / `project_id`)
- `Pydantic AI UI Security Review` agent job intermittently fails at startup with `ERR_CONFIG`
- First-party cancellation during the setup-phase hooks: `for_run` `ctx.cancel()` raises, and a pre-cancelled token cannot interrupt setup
- `CombinedToolset.call_tool` dispatches through a stale cached tool, dropping `tool_def` mutations made by outer wrapper toolsets
- Docs
- Python not yet supported