SweetAI
Connect via MCP
Pre-payment firewall for autonomous agents

Before you pay an AI agent,
check the counterparty

Call SweetAI before sending USDC to an unfamiliar agent. Get a machine-actionable PAY / CAUTION / SKIP decision, confidence and expected loss for the exact amount you are about to send. Target by ERC-8004 agent ID, Solana pubkey, x402 seller URL or seller payTo wallet — whichever identifier you actually have. One request before every payment. No accounts or API keys — pay per verdict with x402.

API
First call in 30 seconds

Check before sending $25

Start with one concrete decision. No account, API key or subscription. Your agent pays only after it receives the x402 terms.
# pick the target you actually know: GET https://sweetai.tiamatcrypto.com/api/v1/should-i-pay?agent_id=2290&amount_usd=25 GET https://sweetai.tiamatcrypto.com/api/v1/should-i-pay?seller_url=https://api.example.com/x402&amount_usd=0.05 GET https://sweetai.tiamatcrypto.com/api/v1/should-i-pay?pay_to=0x…&amount_usd=0.05 402 Payment Required → x402 client settles 0.01 USDC → repeat the same GET 200 { "action": "PAY | CAUTION | SKIP", "confidence": ..., "expected_loss_usd": ... }

Use your own agent ID, seller URL or payTo wallet in production. Seller targets use Bazaar demand; demand data does not see seller→payer round trips (wallet_flow.status=not_available). This is the flagship pre-payment firewall, not a generic analytics dashboard.

Two decisions, one price each

One question before you execute

An autonomous agent does not need another dashboard. It needs one answer before money moves: should I pay this agent? or should I buy this token? Paid per call via x402 (USDC on Base, Polygon, Arbitrum and Solana).
flagship
💳

Should-I-Pay $0.01

The pre-transaction firewall for A2A payments: ask "should I pay this agent or x402 seller $N?" Answer is an immediate binary decision action PAY / CAUTION / SKIP + confidence + expected loss in USDC sized to your exact amount. Target by ERC-8004 agent ID, Solana pubkey, x402 seller URL or seller payTo wallet — the check meets your agent at the identifier it actually has. Agent targets use on-chain ERC-8004 feedback forensics, sybil graphs and liveness probes; seller targets use Bazaar demand (payers, calls, calls/payer, trend). Optional requestKey (body or X-REQUEST-KEY): a paid verdict is cached 30 min — retrying the same key replays the answer for free. GET or POST.

GET|POST /api/v1/should-i-pay?agent_id=… | ?seller_url=… | ?pay_to=… &amount_usd=…
0.01 USDC per decision · paid only
new
🪙

Base Token Verdict $0.02

Before you buy any token on Base: "is it BASED, MID, COOKED or RADIOACTIVE?" One call returns the grade + machine-actionable action ENTER_OK / CAUTION / SKIP + confidence + the red flags behind it (honeypot, sell tax, mintable supply, owner privileges, holder concentration, thin liquidity) and expected loss for your exact amount. Rule-based and deterministic — every flag carries the number that triggered it. Shareable verdict page in every call. GET or POST.

GET|POST /api/v1/token/verdict?token=0x…&amount_usd=100
0.02 USDC per verdict · paid only
Pricing

Two decisions. Two prices.

No signup, no API key, no subscription. The first request returns x402 terms; your client settles and repeats the call.
GET /api/v1/should-i-pay?agent_id=2290&amount_usd=25 GET /api/v1/should-i-pay?seller_url=https://api.example.com/x402&amount_usd=0.05 GET /api/v1/should-i-pay?pay_to=0x…&amount_usd=0.05 GET /api/v1/token/verdict?token=0x…&amount_usd=100 402 + PAYMENT-REQUIRED scheme: exact · asset: USDC payTo: 0xB96A…3DFb (EVM) · 5bKse…wnDc (Solana) networks: Base · Polygon · Arbitrum · Solana 200 { action, confidence, expected_loss_usd }

should-i-pay 0.01 USDC · token/verdict 0.02 USDC per call. Fixed prices. Legacy endpoints stay live but are not part of the public catalog. Full list: /api/v1/pricing.

Connect

Plug in from any agent stack

Two tools, four chains, one URL. ERC-8004 identity: agent #97287 on Base.

MCP — Claude Desktop, Cursor

"mcpServers": { "sweetai-agent-intel": { "url": "https://sweetai.tiamatcrypto.com/mcp", "transport": "http" } } # should_i_pay # check_base_token_safety

REST + x402 — any HTTP client

curl "https://sweetai.tiamatcrypto.com/api/v1/should-i-pay?agent_id=2290&amount_usd=25" # 402 → settle with any x402 client → repeat the same GET # 200 → PAY / CAUTION / SKIP + expected_loss_usd

Free: status · pricing · agent.json

SDK — pip & npm

pip install sweetai-agent-firewall # Python ≥3.9 npm install sweetai-agent-firewall # Node ≥18 from sweetai_firewall import SweetAIFirewall fw = SweetAIFirewall() first = fw.should_i_pay(agent_id=2290, amount_usd=25) # seller_url=... or pay_to=... also work payment_header = settle_with_your_x402_wallet(first.raw) decision = fw.approve_transfer(agent_id=2290, amount_usd=25, payment_header=payment_header) print(decision.action) # only a settled PAY may continue · 0.1.5

PyPI · npm · fail-closed: non-PAY, timeout or missing settlement blocks the transfer.