Courier app
The driver says what’s happening at the door. Parcel value, weather and nearby lockers come from dispatch — the driver never has to know the rules.
- Over $250 never waits on a doorstep
- Anything unsafe means nobody risks it
- Unsure what’s happening? Dispatch takes over
A request comes in
Pick a scenario or write your own. The facts on the right come from your systems.
From your systems · never sent to the model
The model answers the policy's questions
You play the model: drag an answer and watch the decision change.
situationWhat is the courier's situation in message?
unsafe?Does message describe something unsafe for the courier?
The policy decides
Plain code picks the branch, and says which clause and which readings did it.
Pick a scenario to see the decision.
Call it from your code
The same route, the same answer. Drop the answers to let the model reply.
curl https://jevlang.sh/api/doorstep \
-H 'content-type: application/json' \
-d '{"input":{"message":"No answer at the door","valueUsd":40,"raining":false,"lockerNearby":true},"answers":{"situation":{"choice":"nobody-home","confidence":0.95},"unsafe?":{"noul":0.02}}}'