Integration · Pydantic AI

OFAC Screens Before Pydantic AI Agents Pay

Wire sanctions_check into Pydantic AI agents as a regular tool - screen wallets and names before any payment function runs.

The problem

Pydantic AI is the Python agent framework of choice for production systems. Agents that pay need a screen in the tool chain - the framework does not provide one.

Code example

'''from pydantic_ai import Agent
from sanctions_mcp import sanctions_check

agent = Agent(
  "openai:gpt-4o",
  tools=[sanctions_check],
)'''

Setup steps

Installpip install -U sanctions-mcp
Register toolAdd sanctions_check to the agent's tool set
Screen before payCall it before any payment-capable tool
AuditEvery screen logged - export anytime

Pricing

From $19/mo (10,000 checks) · Free tier: 5 checks/day, no API key

Add OFAC screening to Pydantic AI

Free tier: 5 checks/day, no API key. Scale from $19/mo.

See pricing