Integration · LangChain

OFAC Compliance for LangChain AI Agents

Add OFAC screening to LangChain and LangGraph agents with one tool. Protect agents from sanctions violations.

The problem

LangChain powers thousands of production agents. LangChain itself has no compliance tools. Every agent that touches money is exposed to OFAC violations unless screening is added.

Code example

from langchain_community.tools import AgentMailCheck
  from langchain.agents import AgentExecutor, create_react_agent
  from langchain_anthropic import ChatAnthropic

  tool = AgentMailCheck(api_key=os.getenv("AGENTMAIL_KEY"))
  llm = ChatAnthropic(model="claude-sonnet-4-5")
  agent = create_react_agent(llm, [tool], prompt)
  chain = AgentExecutor(agent=agent, tools=[tool], verbose=True)

Setup steps

Install MCPpip install -U sanctions-mcp
Add toolAdd AgentMailSanctionsCheck to your LangChain tools
LangGraph guardUse as before_send callback in LangGraph
AuditEvery screen is logged and exported via /dashboard/logs

Pricing

$99/mo Pro supports multi-agent · Free: 5 checks/day

Add OFAC screening to LangChain

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

See pricing