Shotoku

    Shotoku

    No reviews
    Category:Coding & Development
    Pricing:Freemium
    Added:
    Updated:
    Website:
    VISIT NOW

    Share

    Shotoku is an open-source authorization engine that enforces budgets and approvals on AI agent spending before payment, locally and without holding funds.

    What is Shotoku?

    Shotoku is an AI tool for controlling what AI agents spend. It adds budgets, human approvals and a tamper-evident audit trail, enforced before the payment happens, deterministically and entirely on your machine. Its motto sums it up: give your agents a budget, not your card.

    What is Shotoku used for?

    It stops autonomous agents from overspending. You define rules in a single YAML file: a per-transaction maximum and a rolling daily limit per vendor, plus a daily cap per agent. When a request goes over a limit it is denied before the payment or held pending your approval; everything else passes. Each decision returns a structured reason and an ID.

    How does Shotoku work?

    Install it with npm and call authorize() from your TypeScript agent, or use its MCP server with Claude, Cursor and other agents without code changes. In wrapping mode, Shotoku sits in front of the agent's other MCP servers, PayPal's included, so every tool call is decided first. Approvals arrive in Telegram with Approve and Deny buttons, or you handle them in a local dashboard or terminal UI.

    Who is Shotoku for?

    • Developers building agents that can buy things or call APIs.
    • Teams that need human approval for large spends.
    • Companies that want an auditable trail of every decision.
    • Projects using x402 payments or PayPal's MCP server.

    Shotoku pros and cons

    It holds no funds, stores no credentials or keys and never signs payments: it only decides and records. It runs with no account, no cloud and no telemetry, with decisions in a local hash-chained JSONL file. The core is open source. On the downside, it is in beta and its API may change, and team features are still in development.

    Shotoku features and use cases

    •YAML spend rules with per-transaction maximum and daily per-vendor limit.
    •Daily spending cap per agent.
    •Denial before payment or hold for human approval.
    •authorize() function in TypeScript for any agent.
    •MCP server for Claude, Cursor and other agents.
    •Wrapping mode in front of other MCP servers, such as PayPal's.
    •Approvals from Telegram, a local dashboard or a terminal UI.
    •Local hash-chained, verifiable decision ledger.
    •x402 payment authorization and signed snapshots.
    •No custody, no account, no cloud and no telemetry.
    •Use case: a research agent asks to license a stock photo and the purchase waits until you approve it in Telegram.
    •Use case: a team caps its agent's daily spend on openai.com at 200 and only lets requests within the limit through.

    How to use Shotoku

    1Install the CLI with npm install -g shotoku-cli.
    2Define budgets and rules in the YAML file.
    3Call authorize() from your agent or connect the MCP server.
    4Optionally wrap the agent's other MCP servers.
    5Set up approvals in Telegram, the dashboard or the terminal.
    6Approve or deny pending spends.
    7Review the local decision ledger.

    Shotoku FAQ

    What is Shotoku?

    Shotoku is an authorization engine that enforces budgets, approvals and auditing on AI agent spending before payment.

    Is Shotoku free?

    The open-source core is free; team and enterprise tiers are described in the pricing section.

    How is it different from an if statement before my API call?

    It adds rolling budgets, a human approval queue, policy as config, a structured audit trail and MCP integration.

    What stops an agent from bypassing Shotoku?

    In wrapping mode it sits in front of the agent's other MCP servers, so every call goes through it; outside MCP it relies on signed receipts.

    Does Shotoku touch my money or keys?

    No, it holds no funds, credentials or private keys and never signs or settles a payment.

    Do I need an account or internet connection?

    No, it runs entirely on your machine with no account, cloud or telemetry.

    Can I approve from my phone?

    Yes, it sends each pending decision to Telegram with Approve and Deny buttons.

    Does Shotoku have an API?

    Yes, the authorize() function in @shotoku/core, an MCP server and an API reference in its docs.

    Does Shotoku work in Spanish?

    The site and docs are in English; rules are written in YAML and do not depend on language.

    What are the alternatives to Shotoku?

    There is no direct equivalent in our directory; to watch LLM spend see Langfuse or Spanlight, and Liquid Inference to cap per-request cost.

    Shotoku pricing and plans

    Reference amounts in US dollars (USD). Checked on: 17/11/2026.

    Open Source: free forever. authorize() core and policy engine, hash-chained ledger, CLI and terminal UI, MCP server, x402 authorization and signed snapshots.

    Team: coming soon (in development). Org-level policy hierarchy, Slack approval routing, multi-approver rules and a central ledger dashboard.

    Enterprise: contact for pricing. Signed receipts, RBAC, compliance export packs (EU AI Act, SOC 2), SSO/SAML/SCIM and support SLA.

    Shotoku Screenshots

    Shotoku screenshot 1
    Shotoku screenshot 2

    Shotoku user reviews

    Write a review

    Checking your session...

    Shotoku Reviews

    Loading reviews...

    Shotoku alternatives

    Spanlight
    Free

    Spanlight

    Spanlight is an open-source LLM observability platform: traces, line-by-line spend, a gateway, failure detectors, prompts and evals on a single Postgres.

    –
    18
    Coding & Development
    Woolly
    Free

    Woolly

    Woolly is an open-source memory engine for AI agents: one local Markdown folder your tools share over MCP, an API and SDKs.

    –
    15
    Coding & DevelopmentEducation & TranslationOffice & Productivity
    Liquid Inference
    Paid

    Liquid Inference

    Liquid Inference is an LLM inference exchange where providers compete in an instant auction to answer each request at the best price and quality.

    –
    18
    Coding & DevelopmentOther
    Hubzoid
    Free

    Hubzoid

    Hubzoid is an open-source, self-hostable platform for internal AI agents: one shared brain for chat, workflows and MCP, with per-person permissions.

    –
    15
    Business ManagementCoding & DevelopmentOffice & Productivity
    datatomcp
    Freemium

    datatomcp

    datatomcp is a data layer for AI agents: connect databases, sheets and apps once, and Claude, ChatGPT or Cursor query exact answers over MCP or REST.

    –
    12
    Coding & DevelopmentResearch & Data Analysis
    Griyd
    Paid

    Griyd

    Griyd is a platform for teams coding with AI agents: ideas become reviewed specs on a shared board, and each developer's agent builds on its own story branch.

    –
    15
    Coding & Development

    Shotoku Analytics

    Views
    Real data
    Website Clicks
    Real data
    CTR
    Real data

    Views Trend (30 days)

    Analytics data is updated in real-time and is 100% real