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
- Wrap foreign `ThinkingPart`s in a noted `<thinking>` tag instead of the model's own bare tags
- Support Anthropic `web_search_20260318` and `web_fetch_20260318`
- ci: enforce agent sensitive-path guard at the CI boundary
- Add browser WebRTC + server sideband support for realtime speech-to-speech
- Preserve tool provenance when multimodal tool returns spill into user messages
- Realtime: consider a higher-altitude `session.exchanges()` turn-outcome iterator
- `CombinedCapability` subclasses with a custom `__init__` crash in `for_run`/`for_agent` (replace-through-subclass)
- Continue-as-new support in `TemporalDurability` for long-running agent runs
- Support MCP SDK v2 and FastMCP 4 in `MCPToolset`
- Proposal: unified `Moderation` capability mapping one config onto provider-native moderation/guardrail surfaces
- Docs
- Python not yet supported