banh.

Small decisions.
Clear outcomes.

A model answers bounded questions about your input. Your rules decide what happens next.

npm install -g @banh/cli@alpha

MIT-licensed alpha · Node.js 20+

urgent-routing.yaml
version: 1
process: urgent_routing
input:
  type: text

decisions:
  urgent:
    decide: whether
    question: Does this need immediate attention?

flow:
  - when: urgent.probability >= 0.85
    do: return
    value:
      route: escalation
  - else:
      do: return
      value:
        route: support
INPUT

“Our checkout is down.”

IF P(URGENT) ≥ 0.85

route: escalation

01 / DECIDE

Ask yes/no, pick-one, or scale questions. Run Laya locally or Jev via API.

02 / ROUTE

Ordered rules on values and probabilities. First match wins.

03 / RUN

From the CLI, your TypeScript app, or Banh Cloud.