Business policy that AI agents can be held to

An open spec for the judgment calls inside business policy. Facts come from systems of record, one scoped question goes to a model, and the owner's costs decide when to act, refuse, or ask a person one question.

$ curl https://reasonabledoubt.dev/v0.1/spec.md
id: invoice_matches_po
question: "Does the invoice describe the work in the PO?"
inputs: [invoice_line, po_description]  # all the model sees
engine: decision_model
model_version: "jev-1.13"                # pinned
costs:
  false_yes: 4800   # paying a mismatched invoice
  false_no: 150     # holding a valid one
  review: 25       # one person, one question
# derived: yes at p ≥ 0.995, no at p ≤ 0.167
examples/invoice · sample values
Costs, not magic numbers

The owner states what a wrong yes, a wrong no and a review cost. Thresholds follow, then get qualified on labeled data.

Doubt escalates only when it matters

Unsure facts are tried both ways. If the outcome is the same, no one is asked. If not, a person answers one question.

Every decision replays

Judgments are recorded as facts before the policy runs, so one hash-chained record reproduces the outcome exactly.

Playground

Set the owner's costs and drag the model's confidence. The gate derives the thresholds, tries both readings against the sample policy, and decides.

$
$
$
Model's confidence that the answer is yes0.870
Ask one question
The gate's record, not what the agent sees

Sample values. The scale is stretched near 0 and 1, where these decisions are made.

For policy owners

If you own a payment, approval or refund policy, Reasonable Doubt is how agents from any vendor get held to it, with you in control of the risk.

You set the risk in dollars

State what a wrong payment, a wrongly held payment and a review cost. The rules for when to act follow from that.

The model answers one narrow question

Such as whether an invoice matches its purchase order. It never sees more than the fields you allow.

Your team is asked only when it matters

With one specific question and both texts side by side, not the whole case again.

Every decision stands up to audit

Each one leaves a record that replays to the same result, with the policy and model versions it used.