1
Install
2
Authenticate
TENET_CLIENT_ID and TENET_CLIENT_SECRET instead. See Authentication.3
Gate a tool call
Pick your integration:That’s it. Every tool call is now judged before it runs and after it returns. Blocked calls become tool errors with a compliance-safe message — the agent sees why and self-corrects.
- LangChain (recommended)
- Framework-free
- Direct client
4
See it on the platform
Open the dashboard at platform.tenetlabs.com. The call is listed under Recent decision traces and on Decision traces, with its verdict. It can take a few seconds to appear.
5
Read the verdict
The canonical decide endpoint is Response shape:Through the SDK, the same response surfaces as:The top-level fields are the merged most-restrictive judgment across enforcing domains — an integration that branches only on
POST /decide on judge.tenetlabs.com.A direct HTTP call looks like:verdict and severity is safe by construction. Read findings[] when you want per-domain audit logs or visibility into audit-only signals. Full rules: Multi-verdict responses.Why did it decide that? Each finding carries rule_ids and evidence_span — see How the Judge decides.Defaults you should know
- Judge:
hr-1(EEO/HR compliance) — the only judge served byjudge.tenetlabs.comtoday. Any otherTENET_JUDGE_IDraisesJudgeUnavailableErrorrather than silently 404ing. - Surface:
resume_triage— the client default. Right for the screening examples above; wrong as a hardwired value for everything else. When your product also drafts job ads, ranks candidates, writes interview questions, or composes outreach, setsurface=per request — see Surfaces. - Timeout: 3.0s per call. Guard hits return without a model call; other requests wait on one judge call. Read
latency_mson your responses to size the timeout for your traffic. - Failure mode: fail-closed. Unreachable judge →
JudgeUnavailableError, never a silent allow. Override per-policy if a tool is read-only and low-risk — see Policies.