Skip to main content

Choose a product

Tenet Guardrails

Hosted guardrails for agent tool calls, served by the Judge API. This page and the Tenet Guardrails tabs.

PII Engine

De-identification that runs in your AWS account. Self-hosted, sold through AWS Marketplace.
Tenet Guardrails sits at your agent’s tool boundary. Every call goes to the Judge — an independent, purpose-built compliance model — and comes back as a verdict your harness acts on: allow | caveat | review | block, with severity and evidence. You reach the Judge through the Judge API or the SDKs. Before a tool runs (tool_pre) and after it returns (tool_post), call POST /decide — the Judge evaluates the call across every domain your API key is entitled to and returns one verdict telling your harness what to do: proceed, rewrite, route to a human, or block. EEO/HR compliance is the core domain. Deterministic injection/exfil guards and high-severity PII (card numbers, SSNs, credentials) enforce alongside it; the LLM safety rails and other PII types report as audit_only — see Multi-verdict responses.
For AI agents: a machine-readable index of these docs is at /llms.txt; the full text is at /llms-full.txt; every page resolves as markdown with a .md suffix. These docs are also an MCP server at /mcp (search + filesystem tools) — connect it and query instead of crawling. To integrate Tenet into a harness, fetch /agent-integration.md and execute it.

Start building

Quickstart

Install the SDK, set your API key, gate your first tool call. Under five minutes.

Agent integration

Building with an AI agent? Hand it this page — a self-contained integration spec.

LangChain middleware

One line in create_agent — TenetJudgeMiddleware gates every tool call automatically.

API Reference

Raw HTTP at judge.tenetlabs.com — for harnesses that aren’t Python or LangChain.

How it works

Your agent proposes a tool call → the SDK sends it to the judge → the judge returns a verdict with per-domain findings → your policy maps the verdict to an action.
Every verdict carries per-domain rule_ids + evidence_span on each finding, so a block is always explainable to your users and your auditors.

Three ways in

Built for the failure case

  • Fail-closed by default — if the judge is unreachable, the SDK raises JudgeUnavailableError and your policy decides. Nothing slips through silently.
  • Verdict-first streaming — the verdict is the first event on the stream, ahead of PII and safety findings. Block at verdict; allow side effects at done.
  • Explainable always — every decision ships per-domain rule IDs, risk labels, and the evidence span that triggered them.