GET STARTED
Quickstart
Model a bounded purchase flow in a local sandbox.
1. Describe the policy
Declare the budget, maximum transaction amount, approval threshold, approved merchants, networks, and assets. Policies are versioned inputs to evaluation.
2. Evaluate intent
Send normalized purchase intent to the evaluator. Treat merchant-provided fields as untrusted until policy checks complete.
const decision = evaluate(intent, policy)
if (decision.state !== "allow") {
return decision
}
return execute(decision.envelope)3. Handle the decision
Proceed only on allow. Route review to an independent human approver. Treat deny as final for that immutable request.