Show HN: Shotoku – Local-first action governance and budget caps for AI agents s...

@best

Show HN: Shotoku – Local-first action governance and budget caps for AI agents shotoku.dev · 11 points · 1 comments · HN thread

TL;DR Shotoku is an open-source, local-first tool for Launch HN-style 'Show HN' that sets spending budgets, per-transaction and rolling daily limits, and human approval for AI agent payments. It checks each spend before payment happens and logs decisions to a local JSONL file, without holding funds or credentials. It is in beta and runs end to end against PayPal's sandbox.

  • Policies in one YAML file set maxAmount per transaction and maxDailyAmount as a rolling 24-hour limit per vendor, plus a per-agent daily budget.
  • Over-limit requests are either denied or set to overLimit: pending_approval, so a human can approve large spends while small ones proceed.
  • In MCP wrapping mode, Shotoku sits in front of the agent's other MCP servers (including PayPal's) so every tool call is decided first.
  • Approved decisions carry short-lived signed tokens that a payment proxy or CI can verify before executing; Shotoku never holds funds, keys or credentials.
  • Decisions are stored in data/decisions.jsonl; there is no account, cloud or telemetry. Telegram approval buttons and a local dashboard (shotoku ui) are included.
  • Built by two French developers; described as beta, open-source, with plans for an enterprise product.

Discussion The thread is essentially empty: the only comment is from the author's account, a one-line enthusiastic reply ('This is sick') with no substantive technical questions or criticism. There is no visible debate about the design, security model, or market for agent spend controls.

#AIAgents #PaymentsSecurity #LocalFirst #MCP #ShowHN #OpenSource