Show HN: Shotoku – Local-first action governance and budget caps for AI agents
Category: security
Tags: ai-agents, mcp, policy-engine, budget-controls, human-in-the-loop, audit-trail, payments
Score: 7.8/10 (Innovation: 7, Technical: 8, Documentation: 9, Utility: 7)
Shotoku is a local-first policy and budget enforcement layer for AI agents, sitting in front of MCP servers to deterministically approve, deny, or hold agent actions like PayPal refunds. It combines per-transaction and rolling budgets, human-in-the-loop approvals, and a hash-chained audit ledger, with a rail-agnostic request model and out-of-the-box PayPal pricing. The project is notable for treating agent guardrails as a deterministic, fail-closed engine rather than another LLM.
Target audience: backend developers, AI agent builders, devops, security engineers
Repository: https://www.shotoku.dev/ · TypeScript · MIT · 9 stars
View on Hacker News