What is Agentmail?
Agentmail is an open-source compliance and verification toolkit for AI agents. It provides OFAC sanctions screening, Know-Your-Agent verification, transaction risk scoring, disposable email inboxes, and rentable SMS numbers so agents can autonomously trust or pay counterparties without human oversight.
How to use Agentmail?
Install via pip install sanctions-mcp. Configure as an MCP server in .mcp.json for Claude Code/Cursor, run as an HTTP API (python -m agentmail.api), or use the CLI (python -m agentmail.cli). Then call tools like sanctions_check, risk_score, kya_verify, dispute_open, create_inbox, fetch_code, create_number, and fetch_sms.
Key features of Agentmail
- OFAC sanctions screening – 782 crypto wallets & 19,086 names
- Disposable email inbox for receiving OTPs / magic links
- Rentable SMS numbers for phone verification
- Transaction risk scoring (0–100, allow/review/decline)
- Know-Your-Agent (KYA) trust verification for counterparty agents
- Dispute tool for reporting failed transactions
- Self-host free & open source (MIT); hosted API also available
- MCP, HTTP API, and CLI surfaces – same core, same data
Use cases of Agentmail
- Screen a wallet against real OFAC data before an agent sends funds
- Verify another agent’s identity before trusting it as a counterparty
- Receive OTPs for automated sign-ups using a disposable email or SMS
- Score transaction risk right before authorizing a payment
- Open a dispute when a paid transaction goes bad
评论