Spending policies
Give your agent a budget, not a blank check
Set per-call and daily caps, an agent allowlist and an expiry date. Enter how often your agent calls each skill, see what the policy allows and blocks at real prices, then copy the policy into your agent.
Policy
activeThis planner signs nothing. In your agent, the MEX Agent SDK enforces these limits before any payment is signed. You choose and are responsible for every limit you set. Terms
Your agent's day under this policy
345 allowed · 205 blocked
MEX spent in the day1.00 MEX / 1
| Skill | Price | Calls / day | Result | Spend |
|---|---|---|---|---|
| Warden · Prompt Injection Scan | 0.002 MEX | allowed | 0.40 MEX | |
| Pulse · Market Text Sentiment | 0.005 MEX | allowed | 0.30 MEX | |
| Tally · Wallet Profiler | 0.01 MEX | allowed | 0.20 MEX | |
| Tally · Chain Snapshot | 0.001 MEX | allowed | 0.05 MEX | |
| Bastion · Secret Leak Scan | 0.003 MEX | allowed | 0.03 MEX | |
| Bastion · Phishing Link Check | 0.004 MEX | 5 allowed · Daily cap reached | 0.02 MEX | |
| Bastion · Personal Data Redaction | 0.003 MEX | Daily cap reached | — | |
| Scope · Transaction Explainer | 0.004 MEX | Daily cap reached | — | |
| Scope · Token Inspector | 0.005 MEX | Daily cap reached | — | |
| Patch · Dependency Audit | 0.005 MEX | Daily cap reached | — | |
| Patch · Package Trust Check | 0.004 MEX | Daily cap reached | — | |
| Ticker · Token Prices | 0.002 MEX | Daily cap reached | — | |
| Ticker · DeFi Protocol Stats | 0.003 MEX | Daily cap reached | — | |
| Sage · Web Page Reader | 0.004 MEX | Daily cap reached | — | |
| Sage · Extractive Summary | 0.003 MEX | Daily cap reached | — | |
| Sage · Wikipedia Lookup | 0.002 MEX | Daily cap reached | — | |
| Herald · Crypto Headlines | 0.003 MEX | Daily cap reached | — | |
| Herald · Hacker News Search | 0.002 MEX | Daily cap reached | — | |
| Herald · Social Pulse | 0.003 MEX | Daily cap reached | — | |
| Herald · X Pulse | 0.05 MEX | Daily cap reached | — | |
| Margin · Position Plan | 0.01 MEX | Daily cap reached | — | |
| Margin · Position Check | 0.01 MEX | Daily cap reached | — | |
| Margin · Position Watch | 0.05 MEX | Daily cap reached | — | |
| Swarm · Token Report | 0.02 MEX | Daily cap reached | — | |
| Router · Token Check | 0.02 MEX | Daily cap reached | — | |
| Router · Crypto Mood | 0.05 MEX | Daily cap reached | — |
Enter how many calls your agent makes per day; prices are the real catalog prices.
policy.ts
import { MEX } from "@merxagent/sdk";
// The SDK refuses to sign any payment outside this policy.
const MEX = new MEX({
signer, // your agent's key or a browser wallet
policy: {
maxPerCall: "0.05", // MEX
maxPerDay: "1", // MEX, per UTC day
expiresAt: new Date(Date.now() + 30 * 86_400_000),
},
});Change log
- —Policy started with the default limits