KushBitx Preflight · x402 on Base

One call before money moves

Send the unsigned transaction before your agent signs it. KushBitx Preflight simulates it, reads every transfer and approval it really causes (internal calls included), and screens the destination, the token and your SpendGuard policy. You get one answer: ALLOW, REVIEW or BLOCK. The answer is bound to that exact transaction by its digest, for 60 seconds.

0.005 USDC per call with x402. No signup, no API key. Fail-closed: no ALLOW unless every required check ran.

What it does not check: prompt injection. Preflight checks the transaction, not the instructions that produced it. To bound what an agent can pay, use Protected SpendGuard, a server-side policy the model cannot change.

For teams on Turnkey: approver sidecar (limited pilot)

The request

Paste this into a terminal. Without a payment it returns 402 Payment Required with the exact x402 terms (0.005 USDC to KushBitx on Base), and nothing is charged.

POST /api/preflight

A USDC transfer on Base

curl -i -X POST https://kushbitx.com/api/preflight \
  -H "content-type: application/json" \
  -d '{"chainId":8453,"from":"0x0d68028d06af13379C872FEE032568B4Be712f22","to":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","value":"0","data":"0xa9059cbb000000000000000000000000d2db751a2fdba554706fb535438d81d3a0b4297900000000000000000000000000000000000000000000000000000000000003e8","intent":"transfer"}'

A paid call returns verdict, reasonCodes, findings (each marked as onchain fact or inference, with its source), checksUnavailable, transactionDigest and expiresAt. Sign only on ALLOW, only that transaction, before expiresAt. For swaps add expectedTokenOut and minAmountOut.

Separate checks

Six more services, each on its own

Free

SpendGuard

0 USDC

Checks a proposed USDC payment against your policy (per-transaction limit, daily budget, human-approval threshold, allowed recipients) and returns APPROVE, HUMAN_APPROVAL or BLOCK.

Paid check

Token Risk

0.001 USDC / call

Screens a Base token for sellability, taxes, privileged controls, holder concentration and market risk.

Paid check

Simulation Check

0.001 USDC / call

Limited check: simulates one unsigned transaction, decodes transfers and approvals, and flags reverts, unlimited approvals and risky destinations. Returns ALLOW, WARN, BLOCK or INCOMPLETE. No token or recipient screening: for one verdict before signing, use KushBitx Preflight.

Paid check

Signature Check

0.003 USDC / call

Checks an EIP-712 signature request (EIP-3009 x402 payments, Permit, Permit2) before an agent signs it: chain, token, payee, amount, spender and validity. Returns ALLOW, REVIEW or BLOCK.

Paid check

Quick Check

0.001 USDC / call

Confirms Base chain identity and the official USDC contract.

Paid check

Payment Proof

0.00288 USDC / call

Verifies a Base USDC transfer: recipient, amount and confirmations.

Prices are the same as our live API returns; see pricing.

For agent builders

Free 30-day trial for agent builders. We write the integration for you.

If your agent signs transactions on Base, email admin@kushbitx.com with your project's repository and where it signs. We send the integration as a pull request you review, off by default, plus a trial key for KushBitx Preflight and Token Risk: 30 days from first use, 100 checks a day.

After the trial, pay per check with x402, or stop. There is no automatic charge. Trial terms.

Prepaid credits

For agents that check often: top up once in USDC on Base, then each check is deducted with no per-call payment step. Same prices (1 credit = 0.001 USDC), and every top-up of 10 USDC or more gets 10% more credits. How credits work.

How your agent reaches us

Each example runs as shown. Paid calls need a dedicated wallet with a little USDC on Base. Keep its key in a .env file listed in .gitignore, never in code.

MCP server

Claude, Cursor, Cloudflare Agents and any MCP client

{ "mcpServers": { "kushbitx": { "type": "http", "url": "https://kushbitx.com/mcp" } } }

The tool kushbitx_preflight is KushBitx Preflight. Paid tools follow the Cloudflare Agents paidTool format: an unpaid call returns the x402 requirement and charges nothing.

Coinbase AgentKit

@kushbitx/agentkit

npm install @kushbitx/agentkit @coinbase/agentkit viem zod
echo "EVM_PRIVATE_KEY=" >> .env    # paste the dedicated wallet's key after "="
node --env-file=.env app.mjs
// app.mjs
import { AgentKit, ViemWalletProvider } from "@coinbase/agentkit";
import { kushbitxActionProvider } from "@kushbitx/agentkit";
import { createWalletClient, http } from "viem";
import { privateKeyToAccount } from "viem/accounts";
import { base } from "viem/chains";

const walletProvider = new ViemWalletProvider(createWalletClient({
  account: privateKeyToAccount(process.env.EVM_PRIVATE_KEY),
  chain: base,
  transport: http(),
}));
const agentkit = await AgentKit.from({
  walletProvider,
  actionProviders: [kushbitxActionProvider({ maxPaymentUsdc: "0.005" })],
});
console.log(agentkit.getActions().map(action => action.name));

walletProvider is the agent's own AgentKit wallet on Base. It pays for each check (capped at 0.005 USDC a call), and KushBitx never sees its key.

JavaScript SDK

@kushbitx/sdk · free SpendGuard check

npm install @kushbitx/sdk
node check.mjs
// check.mjs
import { KushBitxClient } from "@kushbitx/sdk";

const kushbitx = new KushBitxClient();
const decision = await kushbitx.evaluateSpend({
  agentId: "my-agent",
  requestId: "demo-1",
  chain: "base",
  asset: "USDC",
  recipient: "0x0d68028d06af13379C872FEE032568B4Be712f22",
  amount: "1.00",
  policy: {
    maxPerTransaction: "5.00",
    remainingDailyBudget: "20.00",
    requireHumanAbove: "2.00",
    maxRepeats: 1,
    allowedRecipients: ["0x0d68028d06af13379C872FEE032568B4Be712f22"],
    blockUnknownRecipients: true,
  },
});
console.log(decision);

No wallet and no payment: this check is free. For paid checks with your own x402 client, see the developer docs.

Where agents find us

Listed in

Some listings still use our earlier name, KushBitx AgentProof. It is the same service.

Trust

What we do not do

Security · Privacy · Terms · Trust Center

For platforms

Platforms and teams

Platforms and teams: contact admin@kushbitx.com.

KushBitx E-Commerce, South Al Hayl, Al Seeb, Muscat 111, P.O. Box 776, OmanHomeDevelopersAPI pricingTermsPrivacyTrust