> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tenetlabs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# What is Tenet

> The compliance runtime for AI in regulated industries — pre-action enforcement at the tool boundary, with the audit trail to prove it.

**The compliance runtime for AI in regulated industries.**

Tenet judges every agent action against the rules of the domain it operates in: the specific statutes that govern hiring, care, or claims. It judges *before* the action runs, and produces the audit trail to prove it.

Output filters check what a model *says*. Tenet governs what an agent *does*: the resume search it executes, the PHI it fetches, the claim it writes. In regulated work, the action is the exposure — so enforcement has to sit at the tool boundary, not the response.

## Why guardrails

Regulated professionals want agents. Recruiters want resume triage, clinicians want documentation help, adjusters want claims summarized. The blocker isn't capability — it's that these industries run on law, and the model can't be the one deciding whether it's following it.

**Same prompt, completely different risk.** "Find candidates who can start immediately" is benign. "Find candidates under 30" violates the ADEA. "Filter out anyone with an accent" violates Title VII. The words are similar; the legal exposure is not. An agent that executes the search has already done the harm, whatever the response says afterward.

**Output moderation runs too late.** Tools that screen the model's *response* — moderation endpoints, output guardrails — catch what the model says. They run after generation, so by the time they see the text, the candidate search already ran, the record was already written, the PHI was already pulled. Enforcement has to move to where intent becomes action: the tool boundary, before the call dispatches.

A system prompt can't carry this load either, for reasons that are structural rather than fixable:

* **Prompts are suggestions.** Instructions compete with user pressure, injection, and the model's own drift. Compliance can't be probabilistic.
* **The model that drafts the action can't approve it.** Self-review fails exactly when it matters — on the inputs crafted to slip past it.
* **"It refused" is not a compliance record.** When the auditor asks why a candidate search was blocked — or worse, why it wasn't — "the model decided" is not an answer. Regulated industries require a decision basis: which rule, what evidence, what severity.

So enforcement has to live outside the model, at that same boundary. That's a guardrail: an independent judge the model cannot skip, with a verdict your harness is bound to.

## What Tenet enforces

Tenet Guardrails puts **the Judge** at your agent's tool boundary. It returns a decision: **allow**, **caveat**, **review**, or **block**. It has the four properties a regulated deployment can't ship without, plus the latency budget to run inline.

**Enforced, not suggested.** The judge runs as middleware the model can't decline. A deterministic floor handles the unambiguous violations with no model call — explicit age filters, salary-history pulls, known PII patterns — and a judge model handles the rest, with a second-pass risk screener that can only escalate. The acting model never sees a path around it.

**Independent — it is not the model under review.** The objection "self-review fails" applies to a model grading its own output under the same prompt, the same user pressure, the same injection surface. The Judge is none of those things: it's a *separate* model with no stake in the action, on a *separate* channel the user's input can't address, sitting under a *deterministic floor* that fires regardless of what any model concludes, and *graded out-of-band* against labeled compliance cases rather than tuned by the conversation it's policing. Self-review fails when the actor and the reviewer are the same system. Here they are not.

**Explainable, always.** Every verdict names the per-domain rule that fired and quotes the span of text that triggered it. When someone asks "why was this blocked?", the answer is already in the response.

```json theme={null}
{
  "verdict": "route_to_human",
  "severity": "high",
  "latency_ms": 11,
  "decision_id": "9f2c1a7b4e8d40a3b6c5e2f1a0d9c8b7",
  "route_reason": "semantic_graded",
  "degraded": false,
  "findings": [
    {
      "domain": "eeo",
      "verdict": "route_to_human",
      "severity": "high",
      "enforcement": "enforce",
      "rule_ids": ["EEO-AGE-PROXY-01"],
      "risk_labels": ["EEO-AGE-PROXY-01"],
      "evidence_span": "tier1:recruiter_prompt:under 30"
    }
  ]
}
```

**Fail-closed.** Judge unreachable means side effects don't run. The system never silently approves traffic it didn't evaluate.

**Performance.** Guard hits and purely operational asks return with no model call; everything else waits on one judge call. Every response reports its end-to-end `latency_ms`, and [verdict-first streaming](https://docs.tenetlabs.com/guides/streaming.md) puts the verdict on the wire ahead of the remaining findings. The `review` verdict exists to route genuine ambiguity to a human rather than over-block.

## Does the Judge actually work

A judge you can't measure is just another model you're asked to trust. Tenet's is graded — on blind, held-out sets the judge never saw during development.

* **Internal held-out EEO set (the HR judge as deployed in June 2026):** on a 489-prompt blind adversarial set spanning resume triage, job-ad drafting, and interview-question generation: **F1 95.7%, precision 100%**, **recall 91.7%** overall, with **100% recall** on obvious unlawful discrimination, criminal-history, and salary-history categories. The remaining misses were subtle proxies (e.g. graduation-year and ZIP-code patterns). These figures predate the current judge model.
* **Methodology lineage:** Tenet's evaluation approach is the one behind [ClinCheckBench](https://tenetlabs.com/benchmarks) — *Benchmarking Adoption-Blocking Failure Modes in Clinical AI* (4,101 samples, 7 failure modes, 9 frontier models; Tenet Labs, 2026) — judge quality measured against credentialed human graders, not model self-report.
* **PII rails:** the detection layer is benchmarked at **0.985 average AUC across the 6 HIPAA-critical identifier types** (2,710 annotated samples, 500 adversarial negatives, 6 languages) — [full ROC curves published](https://tenetlabs.com/benchmarks).

For the compliance buyer, the evidence maps to what an examiner asks for: the **decision basis** for each verdict, tied to a correlation ID.

## Where Tenet runs today

**HR & hiring — generally available.** The `eeo` domain on `judge.tenetlabs.com`. Deterministic guards for age, race, religion, pregnancy, disability, national-origin, and salary-history violations. Regulated under EEO law: ADEA, Title VII, ADA, salary-history bans, disparate-impact standards. The `pii` and `safety` (disclosure + injection) domains run alongside on every plan — PII detection redacts the identifiers it detects before any model reads the request ([scope](https://docs.tenetlabs.com/concepts/multi-verdict.md#pii-redaction-posture)).

## For engineers

You keep your harness. Tenet is one call at your dispatch loop. The judge runs before the tool fires; on `block` the side effect never executes, on `review` your loop hands off to a human, on `allow` or `caveat` you proceed.

```python theme={null}
from tenet_client import TenetCloudJudgeClient, JudgePolicy

judge = TenetCloudJudgeClient.from_env()   # credentials from env
judge.warmup()

# at your dispatch loop, before the tool runs:
verdict, action = judge.evaluate_phase(
    policy=JudgePolicy(),                  # verdict → action mapping; yours to override
    phase="tool_pre",
    tool_name="search_resumes",
    tool_input=tool_args,
)

if verdict.decision == "block":
    return f"Blocked: {verdict.reason}"    # side effect never runs; verdict.findings says why
if verdict.decision == "review":
    return hand_off_to_human(verdict)      # your harness owns the review step — see below
result = run_tool(tool_args)               # allow → proceed
```

Using LangChain, it's a single registration:

```python theme={null}
agent = create_agent(model, tools=tools, middleware=[TenetJudgeMiddleware(judge)])
```

**What Tenet provides vs. what your harness owns.** Tenet returns the verdict and the per-domain findings. On `review`, the middleware hands the verdict to your `on_review` callback; **your harness owns the human-in-the-loop step** — surfacing it to a reviewer and resuming on their decision. Tenet gives you the pause and the resume hook ([HITL guide](https://docs.tenetlabs.com/guides/hitl.md)); it does not ship the review UI.

An agent can integrate straight from these docs — they're written to be executed. → [Agent integration](https://docs.tenetlabs.com/agent-integration.md)

## For compliance teams

Every response carries the decision basis and a correlation ID, `decision_id`. Log both: that log is your audit trail, and `decision_id` is what you quote to Tenet support to locate a decision.

The unit of that trail is the **verdict trace** — the verdict payload plus a server-side record keyed by the same correlation ID and stamped with the policy version (a content hash). [Verdict Traces →](https://docs.tenetlabs.com/concepts/traces.md)

The same evidence pack maps to examiner expectations across the frameworks you're accountable to: EEO today. → [Policies](https://docs.tenetlabs.com/guides/policies.md) · [How the Judge decides](https://docs.tenetlabs.com/concepts/decisions.md)

## Start

> [card] [Quickstart](https://docs.tenetlabs.com/quickstart.md)
>
> Gate your first tool call in under five minutes.

> [card] [How the Judge decides](https://docs.tenetlabs.com/concepts/decisions.md)
>
> Phases, verdicts, decision paths, and the rule chain.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.