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
- Docs and agent skill: a problem-to-capability index for the harness
- Export `AgentInstructions` and `SourcedInstruction`, and add `capabilities=` to `Agent.override`
- Native async tool calling on standard models: OpenAI `async: true`, `BackgroundTools`, and a shared concept with realtime
- ToolOutputLimits drops AG-UI / Vercel AI events in a list ToolReturn.metadata when a result spills
- `FunctionToolset` doesn't apply its `strict`, `sequential`, `defer_loading` and `include_return_schema` defaults to `Tool` instances
- Keep UI events in a list ToolReturn.metadata when ToolOutputLimits spills
- TemporalDurability: per-request usage is unreachable inside the model activity since event_stream_handler no longer receives the StreamedResponse
- BatchModelRequests status-check throttle skips checks on Windows for sub-15ms poll intervals
- strip_markdown_fences fails on indented JSON or non-word fence info strings
- get_callable_name evaluates str(callable_) even when __name__ is available
- Docs
- Python not yet supported