BlueAgent x402 Services

April 24, 2026 · View on GitHub

Security OS for Autonomous Agents on Base — 31 pay-per-use AI tools via x402 protocol. No subscription. No API key. Pay USDC per call.

Built for AI agents, Zero-Human Companies (ZHC), and Base ecosystem builders.

Base URL: https://x402.bankr.bot/0xf31f59e7b8b58555f7871f71973a394c8f1bffe5/


For AI Agents — Choose Your Integration

I want to...Use
Use BlueAgent tools inside Claude Code or Claude Desktop@blueagent/skill MCP server
Use BlueAgent tools inside Cursor@blueagent/skill MCP server
Call tools from TypeScript/Node.js code@blueagent/sdk
Use with Coinbase AgentKit@blueagent/agentkit
Call via HTTP (any language)Direct x402 call
Explore from terminal@blueagent/cli

MCP — Claude Code & Cursor

Install 31 tools in 2 commands. Works in Claude Code, Claude Desktop, and Cursor.

# Install MCP server
npx @blueagent/skill install --claude    # Claude Code
npx @blueagent/skill install --cursor    # Cursor
npx @blueagent/skill install --desktop   # Claude Desktop
npx @blueagent/skill install --all       # All editors at once

# Set your Base wallet
export WALLET_PRIVATE_KEY=0x<your_key>

# Restart your editor → 31 tools ready

Then ask Claude naturally:

"Is 0x4200... a honeypot?"
"Check my wallet for dangerous approvals"
"What's the quantum risk for 0xabc...?"
"Find me the best USDC yield on Base"
"Should my agent pause after losing \$340?"

Full setup guide: docs/claude-code.md · docs/cursor.md


Ecosystem

PackageDescriptionInstall
@blueagent/skillMCP server — 31 tools for Claude Code, Claude Desktop, Cursornpx @blueagent/skill install --claude
@blueagent/sdkTypeScript SDK — namespaced methodsnpm i @blueagent/sdk
@blueagent/agentkitCoinbase AgentKit plugin — 31 actionsnpm i @blueagent/agentkit
@blueagent/cliTerminal CLI — TUI, natural languagenpm i -g @blueagent/cli

Quick Start

CLI

npm install -g @blueagent/cli
blueagent setup
blueagent honeypot-check 0xTOKEN_ADDRESS
blueagent risk-gate "approve USDC to 0xDEX"
blueagent analyze "$BRETT"
blueagent yield USDC
blueagent ask "is this wallet safe to trade with?"

SDK

import { BlueAgent } from '@blueagent/sdk'

const ba = new BlueAgent({ privateKey: process.env.WALLET_PRIVATE_KEY })

const check = await ba.security.riskcheck({ action: 'swap 100 USDC', amount: '\$100' })
if (check.decision === 'BLOCK') return

const analysis = await ba.research.analyze({ projectName: '$BRETT' })
const yields   = await ba.earn.yieldOptimizer({ token: 'USDC', riskTolerance: 'LOW' })
const pnl      = await ba.data.pnl({ address: '0x...' })

AgentKit

import { blueagentPlugin } from '@blueagent/agentkit'
import { AgentKit } from '@coinbase/agentkit'

const agentkit = await AgentKit.from({
  cdpApiKeyId: '...',
  cdpApiKeySecret: '...',
  actionProviders: [blueagentPlugin()],
})

MCP (Claude Code)

npx @blueagent/skill install --claude
# Restart Claude Code → 31 BlueAgent tools available

Direct x402

No SDK — works from any language via HTTP:

import { wrapFetchWithPayment } from 'x402-fetch'
import { createWalletClient, http } from 'viem'
import { privateKeyToAccount } from 'viem/accounts'
import { base } from 'viem/chains'

const BASE_URL = 'https://x402.bankr.bot/0xf31f59e7b8b58555f7871f71973a394c8f1bffe5'

const wallet = createWalletClient({
  account: privateKeyToAccount(process.env.WALLET_PRIVATE_KEY as `0x${string}`),
  chain: base, transport: http(),
})
const paidFetch = wrapFetchWithPayment(fetch, wallet as any)

// Discover all tools — FREE
const tools = await fetch(`${BASE_URL}/discover`).then(r => r.json())

// Call any tool
const result = await paidFetch(`${BASE_URL}/honeypot-check`, {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({ token: '0xabcd...' }),
}).then(r => r.json())

More examples: docs/examples/

Bankr CLI

bankr x402 call 0xf31f59e7b8b58555f7871f71973a394c8f1bffe5/risk-gate \
  -X POST -d '{"action":"swap 100 USDC","amount":"\$100"}' -y

Services

Quantum Security

ServicePriceDescription
quantum-premium$1.50Full quantum vulnerability report — exposure, threat level, migration steps
quantum-batchup to $2.50Scan 1–10 wallets at $0.25 each
quantum-migrate$2.00Step-by-step quantum-safe wallet migration plan
quantum-timeline$0.40Evidence-based quantum threat timeline 2026–2035
key-exposure$0.50Check if wallet public key is exposed on-chain

Agent Safety

ServicePriceDescription
risk-gate$0.05Pre-transaction safety — APPROVE / WARN / BLOCK with risk score
honeypot-check$0.05Detect honeypot or rug pull token contracts
allowance-audit$0.20Find unlimited token approvals — revoke recommendations
phishing-scan$0.10Scan URL, address, or @handle for phishing
mev-shield$0.30MEV sandwich attack risk before large swaps
contract-trust$0.25Trust score — verified, audited, safe for agent interaction?
aml-screen$0.25AML compliance — CLEAN / SUSPICIOUS / HIGH_RISK
circuit-breaker$0.50CONTINUE / PAUSE / HALT for autonomous agents and ZHC

Research

ServicePriceDescription
deep-analysis$0.35Deep due diligence — risk score, rug probability, recommendation
tokenomics-score$0.50Supply, inflation, unlock cliff — sustainability score
whitepaper-tldr$0.20Summarize any whitepaper into 5 key bullets
narrative-pulse$0.40Trending narratives in crypto and Base ecosystem
vc-tracker$1.00VC investment activity — hot sectors, who backs what
launch-advisor$3.00Full token launch playbook — tokenomics, 8-week timeline, KPIs
grant-evaluator$5.00Base ecosystem grant scoring — Fund/Decline recommendation
x402-readiness$1.00Audit any API for x402 payment protocol readiness
base-deploy-check$0.50Pre-deployment security check — vulnerabilities, go/no-go

Data

ServicePriceDescription
wallet-pnl$1.00Wallet PnL — win rate, trading style, smart money score
whale-tracker$0.10Smart money flow — accumulation vs distribution
dex-flow$0.15DEX buy/sell pressure — live DexScreener data
airdrop-check$0.10Base airdrop eligibility — protocols, activity score, estimated value
alert-check$0.10Check active alert triggers for any address

Earn

ServicePriceDescription
yield-optimizer$0.15Best APY on Base DeFi — live DeFiLlama data
lp-analyzer$0.25LP position — impermanent loss, fee income, rebalance signal
tax-report$2.00On-chain tax summary — realized gains, taxable events
alert-subscribe$0.50Subscribe to whale/circuit-breaker alerts via webhook
alert-check$0.10Check active alert triggers for any address

ZHC Agent Safety Pattern

import { BlueAgent } from '@blueagent/sdk'

const ba = new BlueAgent({ privateKey: process.env.WALLET_PRIVATE_KEY })

async function safeExecute(action: string, contract: string, amount: string) {
  const risk = await ba.security.riskcheck({ action, contractAddress: contract, amount })
  if (risk.decision === 'BLOCK') return null

  const hp = await ba.security.honeypotCheck({ token: contract })
  if (hp.isHoneypot) return null

  // execute transaction...

  const cb = await ba.security.circuitBreaker({ context: 'loss detected', recentLosses: amount })
  if (cb.decision === 'HALT') process.exit(0)
}

Deploy & Develop

# Deploy single service
bankr x402 deploy risk-gate

# Deploy all services
bankr x402 deploy

# After editing _lib/ — re-inline helpers then deploy
node scripts/inline-libs.js
bankr x402 deploy

Developer Docs

DocDescription
docs/claude-code.mdFull Claude Code MCP setup guide + all 31 tools
docs/cursor.mdCursor MCP setup guide
docs/mcp-tools.jsonMachine-readable MCP tool schema (input/output for all 31 tools)
docs/examples/sdk-basic.tsSDK usage examples
docs/examples/agentkit-safety.tsAgentKit safe agent pattern
docs/examples/direct-x402.tsDirect HTTP x402 calls (no SDK)

Resources