AI product Open source

Laya

Laya is an open-source, Jev-compatible System-1 decision model package by Convai Innovations for running typed decision questions from Node.js and TypeScript through ONNX Runtime. It accepts a state such as a ticket, email, or JSON object and returns calibrated answers for choice questions with per-option probabilities, ordered score questions with a probability distribution and expected level, or yes/no statements with a probability of true. Questions in one call are batched into a single model run, and the package uses the same request and response shape as the Python reference implementation without requiring Python or PyTorch at runtime. The package downloads and caches ONNX model weights from Hugging Face by default, or can load a local ONNX bundle; it requires Node.js 20 or newer. The JavaScript package is MIT-licensed, while the Laya model weights are published under Apache 2.0.

View repository Mentioned in 1 video ↓

What Laya is used for

1 use taken from transcripts — each links to the moment in the video.

  • A Node.js and TypeScript package for running Laya decision models without Python or PyTorch. It accepts a state and typed questions, returning per-option probabilities, rubric scores, or calibrated yes-or-no results.

Videos mentioning Laya

1 in the library.