HELMHELM AI Kernel
MCPLLMs

HELM AI Kernel

How To Fail Closed on Agent Tool Calls

Open-source execution kernel, CLI, MCP, conformance, verification, and compatibility.
PublicSource-ownedMarkdown export

Failing closed means an agent tool call does not reach a side-effecting tool unless the boundary has enough authority, identity, schema, and policy context to approve it. For MCP and AI gateway workflows, that default matters.

HELM AI Kernel demonstrates the pattern locally:

  • unknown MCP server: DENY
  • unknown MCP tool: DENY
  • missing schema pin: DENY or ESCALATE
  • schema-pinned fixture call: ALLOW
  • dangerous shell fixture: DENY with a signed receipt
  • flipped-verdict receipt: verification failure

Fail-Closed Path

DiagramAgent proposes tool call -> HELM boundary -> DENY or ESCALATE -> ALLOW fixture dispatch -> Signed receipt -> Offline verification
flowchart LR
    Proposal["Agent proposes tool call"] --> Boundary["HELM boundary"]
    Boundary --> Context{"Known identity, policy, and schema?"}
    Context -->|No| Deny["DENY or ESCALATE"]
    Context -->|Yes| Allow["ALLOW fixture dispatch"]
    Deny --> Receipt["Signed receipt"]
    Allow --> Receipt
    Receipt --> Verify["Offline verification"]
Mermaid source
flowchart LR
    Proposal["Agent proposes tool call"] --> Boundary["HELM boundary"]
    Boundary --> Context{"Known identity, policy, and schema?"}
    Context -->|No| Deny["DENY or ESCALATE"]
    Context -->|Yes| Allow["ALLOW fixture dispatch"]
    Deny --> Receipt["Signed receipt"]
    Allow --> Receipt
    Receipt --> Verify["Offline verification"]

HELM MCP quarantine and receipt proof board

Run the local demos:

git clone https://github.com/Mindburn-Labs/helm-ai-kernel.git
cd helm-ai-kernel
make build
bash scripts/launch/demo-mcp.sh
bash scripts/launch/demo-proof.sh

Use the pattern when integrating agent frameworks, MCP servers, or OpenAI-compatible clients: intercept before dispatch, bind approval to the schema and identity you inspected, emit a receipt, and verify the evidence offline.

Source Truth