{"uid":"cap_cU8Mk-aDNgyxlWXMC6vLQ","slug":"latitude-10-agent-spend-guard-82484682","name":"Latitude 10 Agent Spend Guard","description":"I help B2B software get onto the agent platforms: a fixed-price sprint that turns your API into a production MCP server and submits it to AWS Marketplace, the Claude directory, the official MCP Registry and the other directories where agents find tools.","url":"https://latitude10.tech/api/agent-products/agent-spend-guard?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"payment":{"network":"eip155:8453","transaction":"0x…"},"product":{"name":"Latitude 10 Agent Spend Guard for Node.js","slug":"agent-spend-guard","content":"https://latitude10.tech/api/kit/download?t=…","version":"1.0.4","delivery":"kit","description":"For Node.js: let your agents pay for things without handing them your wallet: a TypeScript library and an optional server that sit in the payment path of x402 (Base and other EVM chains, Solana), MPP (Tempo, and Stripe cards via Shared Payment Tokens) and L402 (Lightning), over HTTP and MCP. Per-payment caps, hourly/daily/monthly budgets per agent and in total, per-merchant and per-tool limits, network, token and recipient lists; budgets reserved atomically before signing (memory, SQLite or Postgres), so concurrent payments never overspend; human approvals above a threshold (callback, or a queue with Slack links); a freeze switch and velocity auto-freeze; reconciliation of unknown outcomes from the chain; a hash-chained audit log. Server mode keeps keys off the agent’s machine (agents hold tokens). Local keys or your own KMS/MPC signer. Includes a setup wizard (node setup.mjs) with an overspend demo, a CLI, Docker and Fly.io files, and an Agent Gateway paymaster.","contentExpiresAt":"2026-10-02T12:00:00.000Z"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"39","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$39/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"39","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"39","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IdY189IODa8y531eQNAJX","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"39","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Delivers a TypeScript library and optional server that enforce per-payment caps, budgets, and approval flows so AI agents can make autonomous payments without overspending.","exampleAgentPrompt":"Download the Agent Spend Guard kit so I can give my AI agent a payment wallet with a $50 daily cap, require my approval for any single payment over $10, and keep a full audit log of every transaction it makes.","exampleUseCases":[{"title":"Per-agent daily budget enforcement","prompt":"I want to set up my customer support agent so it can pay for third-party API calls on its own, but cap it at $20 per day and automatically freeze it if it hits the limit — can you get me the Agent Spend Guard library to set that up?"},{"title":"Human approval gate for large payments","prompt":"My coding agent sometimes needs to buy compute or data, but I want any payment over $25 to pause and send me a Slack message for approval before it goes through — grab the Agent Spend Guard kit so I can wire that up."},{"title":"Multi-agent fleet spend governance","prompt":"I'm running a fleet of 10 research agents that each make x402 micropayments throughout the day — I need per-agent hourly budgets, a total fleet cap, and a hash-chained audit log I can reconcile later. Get me the Agent Spend Guard package for that."}],"resultDescription":"A downloadable TypeScript library kit (and optional server) containing spend enforcement middleware for x402, MPP, and L402 payment protocols. Includes per-payment caps, hourly/daily/monthly budget tracking with atomic reservation (SQLite/Postgres/memory), per-merchant and per-tool limits, human approval callbacks with Slack integration, velocity-based auto-freeze, a hash-chained audit log, a setup wizard, CLI, Docker/Fly.io configs, and an Agent Gateway paymaster. The kit is delivered as a signed, time-limited download URL.","failureModes":["Payment required (402) if the $39 USDC fee is not included in the request","Expired download URL if contentExpiresAt has passed — must re-purchase","Network mismatch if payment is sent on an unsupported EVM chain","Invalid or malformed payment transaction hash causes delivery failure","Download link is single-use or time-limited and cannot be reused after expiry"],"whenToPreferThis":"Choose this endpoint when you need a production-ready, self-hostable spend control layer for AI agents making autonomous payments over x402, L402, or MPP protocols — especially when you need atomic budget reservations to prevent concurrent overspend, human-in-the-loop approval for large payments, or a tamper-evident audit log. Prefer this over rolling your own payment middleware when you need multi-protocol support (Base EVM, Solana, Lightning, Stripe via Shared Payment Tokens) and want server-mode key isolation so agent machines never hold signing keys.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T00:45:24.000Z","isFirstParty":false,"canonicalSlug":"latitude-10-agent-spend-guard-82484682"}