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 supported2 Subscribers
Add a CodeTriage badge to pydantic-ai
Help out
- Issues
- Add `event_stream_topic` to `TemporalDurability` to stream agent events via Workflow Streams
- Treat missing `finish_reason` as abnormal stream cancellation
- MCP Apps (SEP-1865) client support: tool-result `_meta`, resource `mimeType`/`_meta`, and `capabilities.extensions` are dropped
- Serve `anthropic.claude-*` over Bedrock Mantle Responses (`/v1/responses`)
- Temporal plugin: stream agent events to a frontend via Workflow Streams
- Realtime: use xAI Grok Voice native session resumption (`conversation_id`) instead of fresh-session reconnect
- Improve error messages and BaseNode docstring for GraphBuilder
- Better error messages for common GraphBuilder misconfigurations (missing state, disconnected start_node)
- [Azure AI Foundry] Mistral gateway rejects max_completion_tokens with 422 "Extra inputs are not permitted"
- Make `wrap_tool_validate` and `wrap_tool_execute` the outermost tool-stage hooks, restoring the tool span for failed validation
- Docs
- Python not yet supported