# Shotoku

- Link: https://100xfounder.com/startup/shotoku/
- Published: 2026-11-15T12:45:45+05:30
- Author: Lovish Madaan

Shotoku is an open-source tool that sets spending limits for AI agents. Before an
agent pays for something, calls a paid API or uses an MCP tool, it asks Shotoku,
which checks your rules and answers approved, denied or pending approval. Everything
runs on your own machine: there is no account, no cloud and no telemetry, and Shotoku
never holds money, card details or keys. It only decides whether a spend is allowed
and writes the decision down.

The makers’ framing on the homepage is “Give your agents a budget, not your card.”
The problem it targets is an agent with access to a payment tool doing exactly what
it was told, including things you would not have approved. The README walks through
a support agent wired to PayPal’s MCP server: an $89 refund goes through, a $480
refund is held because it is over a $100 limit, and you approve or deny it from 
your phone.

## How it works

Rules live in one YAML policy file. Each rule names a resource (such as openai.com
or stripe.com), the actions it covers, and limits: `maxAmount` per transaction and`
maxDailyAmount` over a rolling 24 hours. Agents also get a daily budget across everything.
Over a limit, a request is denied, or held for a person if the rule says `overLimit:
pending_approval`. A request with no amount against a limited rule is held rather
than counted as zero.

Every decision is appended to a local, hash-chained log at `data/decisions.jsonl`,
which you can read, move or delete. You can approve from the terminal, a local dashboard(`
shotoku ui`) or Telegram, where pending decisions arrive with Approve and Deny buttons.
Developers call it with one TypeScript function, `authorize()`; agents that speak
MCP can use its MCP server without code changes, and a wrapping mode puts the agent’s
other MCP servers behind your policy. It also handles x402, a protocol for paying
for web requests. Install is `npm install -g shotoku-cli`.

## Status and price

Shotoku calls itself beta: the FAQ says the core authorisation path is stable and
tested and runs end to end against PayPal’s sandbox, but the API will change. The
changelog shows a first public beta in June 2026, a gateway and MCP wrapping in 
July (v0.2.0-beta), and PayPal support, phone approvals and agent budgets between
August and October. The GitHub repository is MIT-licensed and showed 11 stars and
124 commits on 15 November 2026.

The open-source version is free. A Team plan with Slack approval routing, multi-
approver rules and a central dashboard is listed as coming soon, and an Enterprise
tier (signed receipts, RBAC, SSO, compliance exports) is by conversation. The site
says it is built by two developers from France, Julius and Issa. It was posted to
Hacker News as a Show HN on 14 November 2026.

## Who it is for

It is for developers building agents that can spend money or run up API bills and
who want hard limits and an audit trail outside the model, rather than trusting 
a prompt. It isn’t a payments product and it isn’t for non-technical users: you 
need Node, a terminal and some comfort with YAML. Gateways such as LiteLLM and Portkey
also cap spend, but on LLM API usage rather than on purchases and tool calls.

_We have not tested Shotoku ourselves. It launched recently and may change quickly,
so check the official site before you rely on any detail here. Everything on this
page comes from the pages listed under Sources, read on 15 November 2026._
