PydanticAI 2.53.0 adds ToolCallJudge to vet risky agent tool calls

KhuyenTran16 · x · 2026-10-15

PydanticAI 2.53.0 introduces ToolCallJudge, which reviews risky tool calls before execution. Example: ToolCallJudge("anthropic:claude-haiku-4-5", tools=["deletefile"], question="Would this destroy data?", onuncertain="ask") — unsafe calls are blocked, uncertain ones escalate to human approval, preventing a single bad call from causing irreversible damage.

Related event: PydanticAI 2.53.0 Adds ToolCallJudge to Screen Risky Tool Calls(2 posts)→

Original post →

More from coding & agent

coding & agent channel →