Introduction to Dmint

Autonomous AI agents (such as Cursor, Claude Code, Antigravity, and autonomous LangChain or CrewAI pipelines) are increasingly granted direct access to privileged tools: executing shell scripts, modifying databases, deleting cloud resources, and triggering API calls. Giving an LLM direct access to system tools creates an urgent security challenge:
LLMs are probabilistic systems. Security boundaries must be deterministic.
A system that relies on prompting an LLM to “only delete safe files” or “be careful when updating records” is vulnerable to prompt injection, jailbreaking, context confusion, and hallucination. Dmint provides an unbypassable, code-governed security boundary between the agent and the execution environment.

The Core Problem

When an AI agent decides to run a tool, today’s typical setups do one of two flawed things:
  1. Unrestricted Tool Access: The agent has ambient credentials and runs whatever it decides. A prompt injection in a README file or web search result can cause catastrophic data deletion.
  2. Probabilistic LLM Guardrails: Another LLM or classification model reviews the prompt to decide if it’s “malicious”. This adds latency, cost, and remains probabilistic—adversarial prompts can still bypass the classifier.

What Dmint Is and Is NOT

To design effective security architectures, it is critical to understand Dmint’s exact boundaries:
  • A Deterministic Runtime Gate: Evaluates tool calls against declarative JSON policies before execution occurs.
  • An Exact Request Binder: Computes a cryptographic SHA-256 fingerprint over RFC 8785 canonicalized JSON payloads so approvals cannot be replayed or altered.
  • A Single-Use Approval Engine: Enforces atomic state transitions (PENDING \to APPROVED \to CONSUMED) backed by Core SQLite.
  • An MCP Gateway: Transparently wraps downstream Model Context Protocol servers over standard I/O and HTTP.

How Dmint Works

Every tool invocation follows an authoritative 4-stage lifecycle:

Next Steps

Quickstart Tutorial

Set up Dmint and protect a real tool with human approvals in 5 minutes.

Core Concepts

Learn how capabilities, request bindings, and policy evaluation work under the hood.