TrigGuard
TRIGGUARD SDK

TypeScript · Node.js · Open source

Put TrigGuard in front of any execution path in 5 minutes

Install the execution SDK, authorize before side effects, and verify signed receipts offline. No callback required after issuance.

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

Canonical install: npm install trigguard or pip install trigguard, then createTrigGuard() / TrigGuard() for authorization on POST /execute and offline receipt verification. See First 10 minutes.

Authorize

One call before execution

import { createTrigGuard } from "trigguard";

const tg = createTrigGuard({
  gatewayUrl: process.env.TRIGGUARD_GATEWAY_URL,
  apiKey: process.env.TRIGGUARD_API_KEY,
});

const result = await tg.authorize({
  surface: "deploy.release",
  actorId: "my-service",
  context: { environment: "production" },
});

if (result.decision === "PERMIT") {
  await deploy();
}

const trusted = await tg.verify(result.receipt);
import os
from trigguard import TrigGuard

tg = TrigGuard(
    api_key=os.environ.get("TRIGGUARD_API_KEY"),
    gateway_url=os.environ.get("TRIGGUARD_GATEWAY_URL", "https://api.trigguardai.com"),
)

result = tg.authorize(
    surface="deploy.release",
    actor="my-service",
    context={"environment": "production"},
)

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

trusted = tg.verify(result["receipt"])

Proof

Deterministic decision + signed receipt

Decision PERMIT
Receipt Signed
Verification Offline
PERMIT DENY SILENCE

Verify with trigguard verify-receipt and GET /.well-known/trigguard-keys.json. See verification guide.

Works with

Any agent, pipeline, or runtime

OpenAI
Anthropic
LangChain
MCP
CI/CD
Custom agents

Packages

What ships today

trigguard

Product SDK - POST /execute, authorize, verify, audit.

@trigguard/cli

Offline receipt verification and local tooling.

@trigguard/protocol

Protocol types and receipt structures.

trigguard

Optional npm helper for discovery endpoints (not the trust path).

Start in 30 seconds

Install the SDK, run the hello-world example, or open the runtime docs for gateway integration.