The trust layer every AI agent calls before it touches money. Risk-scoring ASP for the OKX.AI marketplace. Pay-per-call via x402.
Built for the OKX AI Genesis Hackathon (Jul 3-17, 2026) β the launch campaign seeding the first wave of Agent Service Providers (ASPs) for OKX's agent economy marketplace.
Live at: sentriagent.xyz Author: Olaniyan Oluyemi (@donyemiight) Contact: yemiight777@yahoo.com (OKX Agentic Wallet & listings) | donyemiight@gmail.com (GitHub)
When AI agents autonomously execute crypto transactions β swaps, transfers, contract calls β they need pre-flight risk checks. Today, an agent calling swap(USDC β TOKEN_X) has no fast, pay-per-call way to verify:
- Is
TOKEN_Xa honeypot? - Is the contract upgradeable by a malicious owner?
- Has the deployer wallet done rugs before?
- Is the liquidity deep enough to not get rugged mid-trade?
Centralized tools (CertiK, GoPlus web apps) exist for humans. None are purpose-built for agents that pay per call.
SentriAgent exposes 4 MCP tools that any AI agent (Claude Code, OpenClaw, Codex, Hermes) can call directly. Payment happens autonomously via OKX Agent Payments Protocol (APP) over x402 β no human in the loop.
agent.run("swap 100 USDC for TOKEN_X")
β mcp.call("assess_token", { chain, address })
β HTTP 402: $0.01 USDT
β agent signs payment
β retry with X-Payment header
β verdict: { score: 23, level: "CRITICAL", proceed: false }
β agent.run aborts: "Token is honeypot, refusing to swap"
| Tool | Description | Price |
|---|---|---|
assess_token |
0-100 risk score for a token contract (multi-source fusion) | $0.01 USDT/call |
assess_wallet |
Risk profile for a wallet (rug history, sanctions, mixer exposure) | $0.01 USDT/call |
assess_tx |
Pre-flight simulation combining target + sender risk | $0.02 USDT/call |
bundle_assess |
Bulk assess up to 5 tokens in 1 call (20% cheaper) | $0.05 USDT/5 |
We don't trust any single oracle. SentriAgent fuses:
- OKX onchainos-mcp β token metadata, holder cluster, liquidity depth, smart-money activity
- GoPlus Security β honeypot detection, buy/sell tax, ownership privileges, self-destruct
- De.Fi β wallet reputation, historical rug patterns, exploit exposure
Scoring: weighted average with hard overrides for honeypots (score β€ 10) and rug history (score β€ 15).
Ethereum Β· BSC Β· Polygon Β· Arbitrum Β· Base Β· X Layer Β· Solana
Pricing: $0.01-$0.05 USDT per call, settled on X Layer (gas-free stablecoin transfers).
Agents pay via x402:
- First request β server returns
HTTP 402with payment challenge - Agent signs payment using its Agentic Wallet
- Agent retries with
X-Payment+X-Payment-Idheaders - Server verifies, settles, returns verdict
# Coming soon to OKX.AI marketplace
# For now, run locally:
git clone https://github.com/Donyemiight/sentriagent.git
cd sentriagent
npm install --no-audit --no-fund --omit=optional
npm run build
# Configure your MCP client (Claude Code example):
# claude mcp add sentriagent node /path/to/sentriagent/dist/mcp/server.js
# Then in any agent:
await mcp.call("assess_token", { chain: "ethereum", address: "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48" })# Without payment β 402 challenge
curl -X POST https://sentriagent.xyz/v1/assess-token \\
-H "Content-Type: application/json" \\
-d '{"chain":"ethereum","address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"}'
# With x402 payment β verdict
curl -X POST https://sentriagent.xyz/v1/assess-token \\
-H "Content-Type: application/json" \\
-H "X-Payment-Id: pay_xxx" \\
-H "X-Payment: 0xsignature..." \\
-H "X-Payment-Tx: 0xtxhash..." \\
-d '{"chain":"ethereum","address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"}'βββββββββββββββββββ
β AI Agent β Claude Code / OpenClaw / Codex / Hermes
β (MCP client) β
ββββββββββ¬βββββββββ
β MCP / x402 / HTTP
βΌ
βββββββββββββββββββ
β SentriAgent β Fastify HTTP + MCP server
β (this repo) β - x402 payment gate
ββββββββββ¬βββββββββ - Risk orchestration
β
ββββββΌβββββ¬βββββββββββ
βΌ βΌ βΌ βΌ
ββββββββ ββββββββ ββββββββββ βββββββββββ
β OKX β βGoPlusβ β De.Fi β β APP/x402β
βOS-mcpβ β β β β βsettle β
ββββββββ ββββββββ ββββββββββ βββββββββββ
| Category | Why we fit |
|---|---|
| Best Product | Multi-source fusion, not single-oracle. Built agent-first, not human-dashboard-adapted. |
| Business Potential | Trust is a universal need β every agent that touches money is a customer. |
| Revenue Rocket | Sub-cent pay-per-call model. 1000 calls = $10/day per active agent client. |
| Finance Copilot | Risk scoring IS finance copiloting. |
| Software Utility | Tool every agent builder reaches for. |
sentriagent/
βββ src/
β βββ server.ts # Main entry point
β βββ api/
β β βββ app.ts # Fastify HTTP API + landing page
β βββ mcp/
β β βββ server.ts # MCP server (stdio transport)
β βββ risk/
β β βββ engine.ts # Multi-source fusion + scoring
β β βββ sources/ # OKX / GoPlus / De.Fi adapters
β βββ payments/
β β βββ x402.ts # APP/x402 payment gate
β βββ utils/
β βββ config.ts # Env-based config
β βββ logger.ts # Pino logger
βββ public/ # Static assets
βββ docs/ # User-facing docs
βββ test/ # Test suite
βββ Dockerfile # Fly.io deployment
βββ fly.toml # Fly.io config
βββ package.json
βββ tsconfig.json
βββ README.md
npm test# First time:
fly launch --name sentriagent --region sin
# Set secrets (real wallet address, API keys):
fly secrets set PAYMENT_RECEIVER_ADDRESS=0xYourWallet
fly secrets set OKX_ONCHAINOS_API_KEY=...
# Deploy:
fly deploy
# View logs:
fly logsMIT β fork, modify, ship your own trust layer.
- Campaign: OKX AI Genesis Hackathon (Jul 3-17, 2026)
- Prize Tracks Targeted: Best Product, Business Potential, Revenue Rocket, Finance Copilot, Software Utility
- Demo: 90s walkthrough on X (#OKXAI)
- ASP Listing: okx.ai/agents/5103 (Agent ID: 5103, submitted for review)
- OKX Agentic Wallet: yemiight777@yahoo.com
- GitHub: donyemiight@gmail.com
- Submission Form: https://docs.google.com/forms/d/e/1FAIpQLSfIAgP_WmMGtZ5qyW_LnKZonsjyfOYwV3bduRwiuN4oBmcqjQ/viewform
Built with β€οΈ by @donyemiight for the agent economy.