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
- Support MCP SDK v2 and FastMCP 4 in `MCPToolset`
- Proposal: unified `Moderation` capability mapping one config onto provider-native moderation/guardrail surfaces
- Proactively emit spans for framework-detected issues (cache-prefix collapse first), opt-out via `InstrumentationSettings`
- Realtime: proactively resume Gemini Live sessions on `GoAway` before the connection cap
- Clarify schema compatibility expectations for persisted durable workflow payloads
- 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`)
- Improve error messages and BaseNode docstring for GraphBuilder
- Better error messages for common GraphBuilder misconfigurations (missing state, disconnected start_node)
- Replace `FallbackModel` with a fallback capability in V3
- Docs
- Python not yet supported