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
- `UIEventStream.encode_stream` doesn't forward `aclose()` to the stream it wraps
- [provider-parity-explore] Provider parity: thinking — `CohereModel` silently drops the unified `thinking=` setting (SDK accepts `thinking=Thinking(type, t`[truncated]
- Forward unified `thinking` setting to Cohere `client.chat`
- Add `openai_cache_instructions`: place `prompt_cache_breakpoint` on the developer/system message for OpenAI GPT-5.6
- AG-UI: invalid client `state` escapes as a server error instead of a `RUN_ERROR` event
- AG-UI: a partial `resume[]` silently strips unaddressed interrupts instead of emitting `RunError`
- Document nested approval for deferred tool calls in delegated agents
- Vercel AI: an `approval-responded` part with a non-`ToolApprovalResponded` approval is silently dropped
- Deliver tool-tied `'asap'` enqueue content into the same `ModelRequest` as the tool's `ToolReturnPart'
- fix(mcp): map audio content to sampling messages
- Docs
- Python not yet supported