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.
- Input: JSON or text, such as a support ticket.
- Decisions: pick an option, answer yes/no, or score a scale. All decisions run in one batch.
- 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.
Start here
Section titled “Start here”| 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 |
Availability
Section titled “Availability”- CLI and libraries:
0.1.0-alpha.1on 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.