Integration · ElizaOS

OFAC Screens Before ElizaOS Agents Sign Transactions

Integrate OFAC sanctions screening into ElizaOS agents. Wallet screening before every on-chain transaction.

The problem

ElizaOS agents can autonomously sign transactions on multiple chains. The plugin architecture makes it easy to add new capabilities but does not include sanctions screening by default.

Code example

import { createAgent } from "@elizaos/core";
import { agentmailPlugin } from "@elizaos/plugin-agentmail";

const agent = createAgent({
  plugins: [agentmailPlugin],
  // agentmail auto-registers sanctions_check action
});

// agent.sanctions_check is called automatically
// before any transfer or swap action

Setup steps

Add agentmail pluginAdd @elizaos/plugin-agentmail to your agent dependencies
Configure API keySet AGENTMAIL_API_KEY environment variable (or use free tier without key)
Screen pre-paymentCall sanctions_check before any transfer or swap action
Log and auditAll screens are logged to the agentmail dashboard with full audit trail

Pricing

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

Add OFAC screening to ElizaOS

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

See pricing