AI automation
AI tool

Shotoku

Open-source controls that let developers budget, approve, and audit AI agent spending.

Pricing information is currently unavailable.Free plan

Overview

Shotoku is an open-source tool for putting budgets, policies, and human approvals in front of AI agent actions, with a focus on spending. It is built for developers and teams whose agents call paid APIs, buy products, issue refunds, or use tools through MCP. Rather than giving an agent a payment method with no limits, the user writes rules that decide what is allowed.

It works through an authorize() function in TypeScript or through an MCP server for compatible agents. Policies live in a YAML file and can set allowed actions per vendor, per-transaction limits, daily limits, and an overall budget for an agent. A request that goes over a limit is denied before the payment happens; a request that matches no rule waits for a person. Decisions are written to a local append-only JSONL ledger. Approvals can be handled from the terminal, a local dashboard, or Telegram. Shotoku holds no funds and stores no credentials, so the agent's own payment rail does the executing. In MCP wrapping mode, it can sit in front of other MCP servers so their tools are reached only through the policy check.

The core is free and open source for use on the user's own machine. A Team plan is coming soon with organization-level policy hierarchy, Slack approval routing, multi-approver rules, and a central ledger dashboard. Enterprise adds signed decision receipts, role-based access control on approvals, compliance export packs, SSO/SAML/SCIM, and a support SLA.

Key features

  • Local policy engine for agent spending
  • Per-vendor transaction and daily limits
  • Human approval queue
  • Telegram, local dashboard, and terminal approvals
  • Append-only JSONL decision ledger
  • TypeScript authorize() API and MCP server
  • MCP wrapping for other tool servers
  • x402 payment authorization

Pricing

Pricing model
Freemium
Monthly
Pricing information is currently unavailable.
Yearly
Not on record
Free plan
Yes
Free trial
Not on record
Last verified
Checked December 1, 2026

Pros

  • Runs on the user's machine without an account, cloud service, or telemetry
  • Fails closed when policy is missing or a request is malformed
  • Works with any agent that can call a function and with MCP-compatible agents
  • Open-source core with inspectable local decisions

Cons

  • Beta software, with an API expected to evolve
  • Team plan is not yet available
  • Slack approval routing is not yet offered

Who should use it

  • Developers adding spend controls to AI agents
  • Teams that need approval gates for agent payments
  • MCP-based agent deployments
  • Local-first setups with no cloud dependency

Facts

Category
AI automation
Platforms
Command line, API
Integrations
None on record
API
Available
Skill level
Team size
Data and privacy
We have no verified details on data handling. Read the vendor's privacy policy before uploading sensitive material.

Frequently asked questions

How much does Shotoku cost?

Pricing information is currently unavailable. Checked December 1, 2026.

Does Shotoku have a free plan?

Yes. Shotoku has a free plan.

Who is Shotoku best for?

Developers adding spend controls to AI agents; Teams that need approval gates for agent payments; MCP-based agent deployments; Local-first setups with no cloud dependency.

Which platforms does Shotoku run on?

Command line, API.

Does Shotoku have an API?

Yes, Shotoku offers an API.

Member reviews