Sandbox — synthetic data, anonymous, no signup. Apply for pilot → to govern your real AI agents
interactive · in-browser PDP

kye_decide() playground

Curl-friendly. SDK-friendly. Reset any time.

Construct an observed_action, choose a scenario for context, hit Decide. The shadow-mode evaluator runs the production precedence rules against the action and returns a signed decision envelope — all in your browser.

Plain Q&A

Plain Q&A

Short questions. Short answers.

Plain take

Plain take

Try every endpoint. Sign every reply. No signup.

Loading scenario…

Request

Try it now. Copy the curl.

Decision envelope

Short take. Big idea.

POST /v1/runtime/decide → kye.pdp_decision.v1
// Decision JSON will appear here.

Precedence rules (reference)

Short take. Big idea.

  1. R-PROHIBIT-CLASS — action is in denied_actions for the PP → deny / denied_action_class
  2. R-AMOUNT-CAPcontext.amount_gbp exceeds scope.amount_cap_gbprequire_approval / amount_cap_exceeded
  3. R-RISK-HIGHcontext.risk_score ≥ 0.85deny / risk_threshold_exceeded
  4. R-REQUIRED-GATE-UNMETrequired_gate set but gate_satisfied = falserequire_approval
  5. R-MEANING-DRIFT-MATERIALmeaning_drift === "material"require_approval
  6. R-ASSURANCE-FLOORassurance_level < min_assurancerequire_approval
  7. R-CONSENT-MISSING — PP requires consent + no receipt → deny / consent_required
  8. R-EXTERNAL-EXPORTexternal_export === truequarantine
  9. R-REDACTION-REQUIREDunredacted_fields overlaps with PP's redaction_requiredquarantine
  10. R-ALLOW-DEFAULT — otherwise → allow / policy_allow_default