• Somi AI
2026 Statistics
0
Visits
0
Page views
Discover
  • Explore
  • Featured
  • Free
  • Fresh updates
  • New toolsNew
  • AI Tool Comparison
  • AlternativesNew
  • Jobs
  • Grok Bot templates
  • Submit a tool

Black FridayUp to 52% off listings: $19 → $9 and $59 → $29. Limited time

List your toolList
BlogNewsletterPricing

Footer

Somi AI

Discover AI tools & hacks for AI entrepreneurs, by AI entrepreneurs.

ThreadsFacebookInstagramX

Categories

  • Business Tools
  • Productivity Tools
  • Development
  • Automation Tools
  • Video Tools
  • Image Tools
  • Audio & Music Tools
  • AI Text Generators
  • Design & Creative
  • Data & Research
All categories →

Trending tools

  • Emergent
  • Rork
  • Base44
  • Vidfly AI
  • Fireflies AI
  • Raccoon AI
  • StarterPilot
  • LigoSocial
  • Synthesia
  • Jamy AI
See the ranking →

New tools

  • Layouta
  • WidgetAI
  • Shotoku
  • Midmap
  • Diorama
  • Anywhere
  • LeetSys
  • Bixlow
  • PHORM
  • Mireye
All new tools →

Alternatives

  • Layouta alternatives
  • WidgetAI alternatives
  • Shotoku alternatives
  • Midmap alternatives
  • Diorama alternatives
  • Anywhere alternatives
  • LeetSys alternatives
  • Bixlow alternatives
  • PHORM alternatives
  • Mireye alternatives
All alternatives →

Explore

  • New AI tools
  • Trending
  • Recently updated
  • Alternatives
  • Compare tools
  • Topics
  • Free tools
  • Featured
  • Fresh updates
  • Jobs
  • Grok bot templates

Company

  • About Us
  • Contact Us
  • Blog
  • Careers
  • Affiliate Program
  • Partners

Support & legal

  • Feature Requests
  • Status
  • Privacy Policy
  • Terms and conditions
  • llms.txt

© 2026 Somi AI. All rights reserved.

Built for people shipping with AI.

What is Shotoku?

Open-source spend-control layer that sets budgets, routes big AI agent spends to human approval, and logs every decision

Visit website

Categories

Development
Automation Tools
Security Tools
Developer Tools
AI Agents
Governance, Audit & Reporting

Pricing

Payment required (Free tier available)

Overview

Shotoku is an open-source spend-control layer for AI agents. Before your agent pays for something, it asks Shotoku. Shotoku checks the request against rules you write in one YAML file and approves it, denies it, or holds it for you to review. It runs locally, holds no funds or keys, and logs every decision. It's built for developers whose agents call paid APIs, use MCP tools, or make purchases, and who want limits that the agent can't approve for itself.

Key Features

  • Policy as Config: Write your rules in a single policy.yaml file. Rules are checked top to bottom, and the first match decides, so you can always tell why a request was approved, denied, or held.
  • Budgets and Spend Limits: Set per-transaction caps (maxAmount), rolling 24-hour per-vendor caps (maxDailyAmount), and an overall daily budget per agent. This stops a runaway loop from draining your account.
  • Human Approval Queue: Requests that go over a limit, or that match no rule, are held until a person approves or denies them. The agent can't approve its own requests.
  • Hash-Chained Decision Ledger: Every decision is written to an append-only local log, which gives you a tamper-evident record of what your agents tried to spend and what happened.
  • MCP Server and Gating: Connect Claude Desktop, Claude Code, Cursor, or any MCP-compatible agent. You can also put Shotoku in front of other MCP servers, such as PayPal's, so every tool call is checked before it runs.
  • Approvals From Anywhere: Review pending requests in the CLI, the terminal UI, the local browser dashboard (shotoku ui), or on your phone through Telegram's Approve and Deny buttons.
  • x402 Payment Authorization: Authorize an x402 payment once its price is known, before anything is signed.
  • TypeScript Core API: Call authorize() from @shotoku/core to add spend checks to agents that don't use MCP.

Pros

  • Free and Open Source: The core authorization engine, ledger, CLI, terminal UI, and MCP server are MIT-licensed and free, and the vendor says the core will stay open source.
  • Fully Local and Private: You don't need an account, cloud service, or internet connection, and Shotoku sends no telemetry. Your policies and ledger stay on your machine.
  • No Custody Risk: Shotoku never holds funds, credentials, or private keys, and it doesn't sign payments. That keeps it out of the payment path's security risks.
  • Fails Closed: If the policy is missing or invalid, or a request is malformed, Shotoku denies the request instead of letting it through.
  • Fast Setup: The docs walk you from install to a working MCP setup in about five minutes. You can also try npx shotoku-cli demo before installing.
  • Clear Denials: Denied requests return a reason and a decision ID, so your agent and your team can see exactly why a spend was blocked.

Cons

  • Advisory Unless You Gate Tools: In its basic MCP mode, Shotoku only works if the agent asks first. To actually enforce limits, you have to place it in front of your other MCP servers or payment path.
  • Team Features Not Yet Available: Org-level policy hierarchy, Slack approval routing, multi-approver rules, and a central ledger dashboard are on the Team plan, which is still marked "Coming soon." For now, the free version suits individual developers better than multi-agent teams.
  • Single-Use Approvals: An approval covers one identical request (same agent, vendor, and amount) for 15 minutes. Spends that repeat need a policy rule rather than a quick approval.

Use Cases

  • Capping Paid API Spend for Coding Agents: You run Claude Code or Cursor with tools that call paid APIs. Set a per-call limit and a daily budget, so routine calls go through automatically and anything unusual waits for your approval.
  • Guarding Customer Refunds: A support agent issues refunds through PayPal's MCP server. Put Shotoku in front of it so small refunds are approved automatically and large ones go to a person, with every decision logged.
  • Approving Agent Purchases on the Go: Your autonomous agent sometimes needs to buy something mid-task. Run shotoku telegram to get pending requests on your phone, then tap Approve or Deny without returning to your desk.
  • Authorizing x402 Micropayments: Your agent pays for resources with x402. Shotoku checks each payment against your budget once the price is known, before the agent signs anything.
  • Building Spend Checks Into Custom Agents: You're building your own agent in TypeScript. Call authorize() from @shotoku/core before each paid action, and you get policy checks and an audit trail without running MCP.
  • Auditing What Agents Tried to Spend: Use the hash-chained local ledger to review every approved, denied, and held request, with the actor, vendor, and amount recorded for each one.

Frequently Asked Questions

What is Shotoku?

Shotoku is a spend-control layer for AI agents. Your agent asks Shotoku before it spends money. Shotoku checks the request against your YAML policy and approves it, denies it, or holds it for a person to approve.

Is Shotoku free?

Yes. The Open Source edition is free. It includes the authorize() core and policy engine, the hash-chained decision ledger, the CLI and terminal UI, the MCP server, x402 payment authorization, and signed snapshots. A Team plan is in development, and Enterprise pricing is available on request.

Does Shotoku hold my money or payment credentials?

No. Shotoku holds no funds, stores no credentials or private keys, and doesn't sign or settle payments. Your agent's own wallet or payment rail carries out approved payments.

Which agents does Shotoku work with?

It works with any MCP-compatible agent, including Claude Desktop, Claude Code, and Cursor. Agents that don't use MCP can call the authorize() function from the @shotoku/core TypeScript package.

Can an agent skip asking Shotoku?

In basic advisory mode, yes, because the agent has to choose to ask. To enforce checks, put Shotoku in front of your other MCP servers so every tool call goes through it first.

Recent reviews

Shotoku Reviews

0 out of 5 stars

Based on 0 reviews

Review data

5 star reviews

0%

4 star reviews

0%

3 star reviews

0%

2 star reviews

0%

1 star reviews

0%

Share your thoughts

If you've used this tool, share your thoughts with other users

Shotoku

Shotoku

Product information

Give your AI agents a budget, not your card

00123456789001234567890012345678900123456789
Loading gallery...

Shotoku Alternatives

Compare alternativesView all →
Mireye: Infrastructure for Physical World AI Agents
View details

Mireye

Cited physical-world data and tools for AI agents

Open Mail :inboxes for AI agents.
View details

OpenMail

Give your AI agent its own email inbox

Tobira.ai :A network where AI agents find deals for their humans
View details

Tobira.ai

Give your AI agent an @address to find deals

Polly Reach :Your AI Agent Can Now Make Real Phone Calls
View details

PollyReach

AI voice agents that make real phone calls

Venn AI :Enable your AI do real work across the apps you use every day.
View details

VennAI

Connect AI tools to your work apps safely

Context Bolt :Building the toolkit for personal AI agents.
View details

ContextBolt

Live SEO and business data inside your AI agent

Stacks :AI-native software for finance teams
View details

Stacks

AI-powered financial close for accounting teams

Memoryplugin :Long term memory for ALL your AI tools
View details

MemoryPlugin

Long-term memory for your AI chats