TrigGuard
TRIGGUARD SDK

TypeScript · Node.js · Open source

Put TrigGuard in front of any execution path in 5 minutes

Offline first receipt with npx trigguard demo. Live authorization with TRIGGUARD_API_KEY and authorize(). Root API: authorize, verify, receipt, explain, createAgent, createClient.

Verification live TypeScript Node 18+ Open source npm
Install trigguard
npm install trigguard
pip install trigguard

Primary install: npm install trigguard or pip install trigguard. Offline first receipt: npx trigguard demo. Live authorization: TRIGGUARD_API_KEY + authorize(). Root exports: authorize(), verify(), receipt(), explain(), createAgent(), createClient(). See First 10 minutes.

Authorize

One call before execution

import { authorize } from "trigguard";

const result = await authorize({
  surface: "deploy.release",
  actor: "my-service",
});

if (result.decision === "PERMIT") {
  await deploy();
}
from trigguard import authorize

result = authorize(
    surface="deploy.release",
    actor="my-service",
)

if result["decision"] == "PERMIT":
    deploy()

Need to validate a receipt? → Verification guide

Proof

Deterministic decision + receipt

Decision PERMIT
Receipt Issued

Works with

Any agent, pipeline, or runtime

OpenAI
Anthropic
LangChain
MCP
CI/CD
Custom agents

Packages

What ships today

One core SDK. Three ecosystem packages that call into it.

trigguard

Core SDK

  • npm
  • PyPI
npm install trigguard pip install trigguard

Root API

authorize() verify() receipt() explain() createAgent() createClient()

Optional modules

execution agent provider express proxy

Ecosystem packages

authgraph

Intelligence layer

  • PyPI
pip install authgraph

Calls authorize(). Does not issue local PERMIT / DENY / ESCALATE / SILENCE.

@trigguard/mcp

MCP integration

  • MCP
  • npm
npx @trigguard/mcp

Connects agents to gated execution through TrigGuard.

trigguard-litellm

LiteLLM adapter

  • PyPI
pip install trigguard-litellm

Maps PERMIT / DENY / ESCALATE / SILENCE into LiteLLM control flow.

Start in 30 seconds

Offline: npm install trigguard then npx trigguard demo. Live: set TRIGGUARD_API_KEY, call authorize(), then verify().