CHECKING
Base Mainnet
● DeFi Safety Infrastructure

The safety layer AI agents call
before executing on-chain.

AgentForge intercepts risky DeFi actions before they execute — scanning wallets, simulating transactions, decoding contracts, and flagging dangerous approvals. Pay per request via x402 micropayments. No accounts, no subscriptions, no API keys.

14 Paid Endpoints
14 MCP Tools
384 Labeled Contracts
319 Pre-cached Docs
6 Chains
USDC Base Mainnet
DeFi Safety FLAGSHIP
POST
/v1/approval-scan
ERC-20 approval risk scanner with protocol labeling — identifies unlimited approvals, revoked contracts, and dangerous allowances.
$0.015USDC
POST
/v1/contract-monitor
Contract activity monitoring with admin function detection — surfaces ownership transfers, upgrades, and privileged calls in recent history.
$0.025USDC
POST
/v1/contract-docs
Smart contract documentation with automatic proxy resolution — 319 contracts pre-cached for instant response, rest generated live via Etherscan + LLM.
$0.02USDC
POST
/v1/tx-decode
Transaction decoder for EVM chains — human-readable breakdown of calldata, function signatures, and parameter values for any transaction.
$0.01USDC
Research & Intelligence RESEARCH
POST
/v1/token-research
Multi-source token research — CoinGecko + DeFiLlama + Etherscan + Polymarket aggregated into one structured report.
$0.04USDC
POST
/v1/token-compare
Comparative token analysis for up to 4 tokens — side-by-side metrics, risk differentials, and AI-generated recommendation.
$0.08USDC
POST
/v1/token-intel
Quick token lookup with risk assessment — market data, holder concentration, contract flags, and risk score in under 10 seconds.
$0.015USDC
POST
/v1/code-review
Smart contract security audit — vulnerability detection, gas optimization findings, and diff review mode for proposed changes.
$0.05USDC
Utilities UTILS
GET
/v1/gas
Real-time gas prices across tiers (slow / standard / fast / instant) for all supported chains.
$0.003USDC
GET
/v1/ping
Payment flow verification — confirms your wallet, x402 client, and payment channel are all working correctly.
$0.001USDC
POST
/v1/sentiment
Sentiment analysis for text content — useful for processing news, governance proposals, and social signals.
$0.008USDC
POST
/v1/summarize
Text summarization — condense long documents, audit reports, or governance discussions into structured summaries.
$0.01USDC
POST
/v1/translate
Translation for DeFi content — convert protocols docs, error messages, and on-chain text across languages.
$0.015USDC
What Makes It Useful
Contract Label Registry
384 contracts across 151 protocols — every safety check is enriched with protocol names, risk levels, and category tags. Agents see "Uniswap V3: SwapRouter" instead of a raw address.
Pre-computed Contract Docs
319 contracts documented with automatic proxy resolution — agents get instant documentation (0ms, $0 LLM cost) for the top DeFi contracts. Cache covers Aave, Compound, Uniswap, Curve, Maker, and 150+ more.
Composite Safety Checks
wallet-safety combines approval scanning, activity pattern detection, and target contract assessment in one call — instead of requiring agents to chain 3 separate requests.
Zero Infrastructure
No API keys, no accounts, no subscriptions — pay per request via x402 micropayments with USDC on Base Mainnet. Works with any wallet that holds USDC.
Integration
// npm install @x402/fetch import { wrapFetch } from '@x402/fetch'; const fetch402 = wrapFetch(fetch, { privateKey: process.env.WALLET_PRIVATE_KEY, network: 'base', // Base Mainnet }); // Comprehensive wallet safety check before a DeFi transaction const res = await fetch402('https://agentforge-taupe.vercel.app/v1/wallet-safety', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ walletAddress: '0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045', chain: 'ethereum', depth: 'standard', targetContract: '0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D' // Uniswap V2 Router }), }); const safety = await res.json(); // { riskScore: 12, approvals: [...], contractLabel: 'Uniswap V2: Router', ... }
// Add to Claude Desktop, Cursor, or any MCP-compatible client: { "mcpServers": { "agentforge": { "url": "https://agentforge-taupe.vercel.app/mcp" } } } // 14 tools available after connecting: // wallet_safety, simulate_interaction, approval_scan, // contract_monitor, contract_docs, tx_decode, // token_research, token_compare, token_intel, // code_review, gas_oracle, ping, sentiment, summarize
Discovery & Docs