SuperAPIAI Directory

deadbolt

github.com · AI agents

DeadBolt is a local admission gateway developed by NextEleven for making policy and operator control decisions before software agents execute actions. Implemented in Rust, it provides HTTP and stdio MCP integration, supports policies, operator revocation, and structured evidence records, and is released free of charge under the Apache-2.0 license.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsmacOS · Windows · Linux

About this tool

DeadBolt is a local execution admission gateway introduced by NextEleven, aimed at software agents (AI Agents). Its core idea is to place the gateway at the code that actually executes actions, with policies and operator control deciding whether that action is allowed. It can be embedded in Rust programs, called from other languages as a local sidecar, or wrap trusted stdio MCP servers. The project is offered free of charge under the Apache-2.0 license.

Key capabilities

  • Tool and target policies, reported spend caps, pause, clipping, and operator kill.
  • Default 60-second idle TTL; an independent supervisor maintains new runs, plus an explicit active mode; neither mode can move a fixed deadline or restore expired/terminated state.
  • Descendant processes obey ancestor restrictions; child policies cannot relax parent policies.
  • Provides broad one-time tool approval, as well as precise action authorization for trusted integrations using a content-binding API.
  • Scoped admission credentials separate scheduling from operator control; /spend is operator-only.
  • SQLite evidence, JSONL mirroring, and per-agent event record export.
  • Storage or transport failures reject protected scheduling; malformed or unsuccessful responses never authorize the executing principal.

How to use You can try it without a model account, API key, Harness, cloud service, or database server. From the installation guide, choose a native archive verified by checksum, and run it in the extracted directory on macOS/Linux; on Windows use .\deadbolt.exe --version, .\deadbolt.exe drill, and python examples/evaluate.py --binary .\deadbolt.exe. The evaluation starts a private sidecar, writes harmless temporary files, checks whether policies, approvals, termination, and interruption block effects, then cleans up. Requires Python 3.9+. Building from source requires Rust 1.89+ and a native C compiler/linker. Python client 2.0.2 and Rust package 2.0.2 have been released; the Python wheel contains only the client, not the engine, and Node remains a bundled source module. For embedded Rust use deadbolt = { package = "n11-deadbolt", version = "=2.0.2"} and submit the application's own lock file. During integration, the trusted executor first creates a run and configures the policy; after the matching Python client is installed and the sidecar configuration is complete, a fresh admission is performed before the callback, and if rejected, the principal is not invoked. Every protected route must be wrapped; allowed results must not be cached, and one-time admission must not be separated from execution. ensure only confirms that the record exists and does not indicate liveness.

Applicable scenarios and limitations Suitable for trusted execution environments that need to add policy admission, operator revocation, and evidence trails for local agent actions. It protects connected execution routes, but it does not sandbox arbitrary code, does not block providers, and does not make external effects transactional with admission. kill prevents subsequent admissions; stopping in-progress work requires the executor's cancellation mode. MCP subprocesses remain trusted and have OS access, and startup and non-tool methods are outside the scope of the tool-call gateway. State and operator privileges should be placed outside the untrusted agent process; a process that can write to the database or invoke the operator CLI has operator privileges. Evidence hashes identify content; operator-writable records are not tamper-proof authentication.

Version notes 2.0.2 engine fixes RUSTSEC-2026-0459, all four native targets have been released, and the Mac download is signed and notarized. Building from source requires Rust 1.89+. Existing 2.0.1 engines, plugin/bundled copies, and previously built containers retain their original SQLite until replaced. Version 2 requires Unix and TCP sidecars for authenticated operator setup, creates private state, defaults new roots to supervisor renewal, and enforces ancestor policy and fixed run deadlines. When upgrading an existing installation, the engine, Python client, editor plugin, and running sidecar are independent copies; installing one does not upgrade the others.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools