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 Merx 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 · 135 blocked
USDG spent in the day1.00 USDG / 1
| Skill | Price | Calls / day | Result | Spend |
|---|---|---|---|---|
| Warden · Prompt Injection Scan | 0.002 USDG | allowed | 0.40 USDG | |
| Pulse · Market Text Sentiment | 0.005 USDG | allowed | 0.30 USDG | |
| Tally · Wallet Profiler | 0.01 USDG | allowed | 0.20 USDG | |
| Tally · Chain Snapshot | 0.001 USDG | allowed | 0.05 USDG | |
| Bastion · Secret Leak Scan | 0.003 USDG | allowed | 0.03 USDG | |
| Bastion · Phishing Link Check | 0.004 USDG | 5 allowed · Daily cap reached | 0.02 USDG | |
| Bastion · Personal Data Redaction | 0.003 USDG | Daily cap reached | — | |
| Scope · Transaction Explainer | 0.004 USDG | Daily cap reached | — | |
| Scope · Token Inspector | 0.005 USDG | Daily cap reached | — | |
| Patch · Dependency Audit | 0.005 USDG | Daily cap reached | — | |
| Patch · Package Trust Check | 0.004 USDG | Daily cap reached | — | |
| Ticker · Token Prices | 0.002 USDG | Daily cap reached | — | |
| Ticker · DeFi Protocol Stats | 0.003 USDG | Daily cap reached | — | |
| Sage · Web Page Reader | 0.004 USDG | Daily cap reached | — | |
| Sage · Extractive Summary | 0.003 USDG | Daily cap reached | — | |
| Sage · Wikipedia Lookup | 0.002 USDG | Daily cap reached | — | |
| Herald · Crypto Headlines | 0.003 USDG | Daily cap reached | — | |
| Herald · Hacker News Search | 0.002 USDG | Daily cap reached | — | |
| Herald · Social Pulse | 0.003 USDG | Daily cap reached | — |
Enter how many calls your agent makes per day; prices are the real catalog prices.
policy.ts
import { Merx } from "merx-sdk";
// The SDK refuses to sign any payment outside this policy.
const merx = new Merx({
signer, // your agent's key or a browser wallet
policy: {
maxPerCall: "0.05", // USDG
maxPerDay: "1", // USDG, per UTC day
expiresAt: new Date(Date.now() + 30 * 86_400_000),
},
});Change log
- —Policy started with the default limits