Skip to content

What is Banh?

Banh is an open-source CLI and TypeScript runtime. A model answers bounded questions about your input; your rules decide what happens next. You write both in one YAML file.

  1. Input: JSON or text, such as a support ticket.
  2. Decisions: pick an option, answer yes/no, or score a scale. All decisions run in one batch.
  3. Flow: ordered rules on decision values. The first match returns your output.

Rules are deterministic for a given set of decisions. Banh doesn’t run agent loops, execute code or take actions; it returns a value for your application to act on.

I want to… Go to
Run my first workflow Local quickstart
Deploy with managed inference Cloud quickstart
Write decisions and rules Workflow syntax
Choose Laya or Jev Inference providers
Embed Banh in an app TypeScript usage
Look up a command CLI reference
  • CLI and libraries: 0.1.0-alpha.1 on npm, MIT-licensed. Local runs use native Laya by default; remote runs use Jev through the TypeSafe API.
  • Banh Cloud: early release with managed Jev and self-service signup while places are available.

Keep inputs short. Native Laya has a 512-token context window, including question headers; longer input may be truncated.