Keep the question bounded.
Choose an option, answer yes or no, or score a scale. Laya evaluates your decisions together in one model call.
A little intelligence. A clear next step.
Give messy input a little structure. Banh makes bounded, model-backed decisions, then follows the rules you write.
YAML workflows. TypeScript runtime. Local inference.
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“Our checkout is down.”
route: escalation
Illustrative decision. The model evaluates your actual input.
A SMALL, DELIBERATE RUNTIME
Choose an option, answer yes or no, or score a scale. Laya evaluates your decisions together in one model call.
Compare decision values and probabilities in ordered rules. The first match returns a value your application can use.
Validate a YAML file, run it locally on CPU, or use the TypeScript runtime in your application. Inspect the decisions behind the result.
BANH CLOUD In development
We’re building a home for versioned workflows and recorded runs. The local cloud service already supports authentication, deployment, and the HTTP API.
Cloud execution currently uses a fake backend. Hosted model inference is coming next.
Explore Banh CloudSTART SMALL
Available from source during early development.