Shotoku

Blog

Spend controls for AI agents, in practice.

How to set a hard spending limit on an AI agent

November 6, 2026

Why alerts and prompts don't stop an agent from overspending, and how to enforce a per-call and daily cap in code, with a tested example.

How to require human approval before an MCP tool call

November 6, 2026

Three ways to put a human in front of MCP tools, which one an agent can't skip, and a tested setup for Claude Desktop and other MCP hosts.

How to stop an AI agent from deleting your production database

November 6, 2026

What the PocketOS and DataTalks.Club incidents teach, which safeguards would have mattered, and what a tool policy can and can't prevent.

How to let an AI support agent issue refunds safely

November 6, 2026

Let an agent handle small refunds and send big ones to a human, using PayPal's MCP server, a dollar limit and a daily budget.

How to stop an AI agent from emailing the wrong people

November 6, 2026

Allow internal email, hold everything else for a human, and check every recipient before an agent's message leaves your code.

How to prove what your AI agent did: a tamper-evident audit log

November 6, 2026

We edited and deleted records in an agent's audit log to see what gets caught. Why a hash chain isn't enough on its own, and what to add.

What are spend controls for AI agents?

November 6, 2026

A plain definition: the five controls that limit what an agent can spend, where they should run, and how they differ from alerts and prompts.

x402 spend controls compared: Shotoku, AgentPay MCP, x402-cfo and PolicyLayer

November 6, 2026

How four tools put a budget on x402 payments: who holds the key, where the decision runs, what a human can stop, and what survives a restart.