Laya

Laya: The Open-Weights Decision Model, How to Run It, and What People Build

Updated Oct 23 · 6 min read

On this page
Browse every Laya build, repo and video

What Laya is

Laya is a free, open-weights decision model from ConvAI Innovations. Like TypeSafe's Jev, it does not generate text: you give it a state (text, an email, a ticket or JSON) and typed questions, and it returns a choice, a score or a yes/no probability in a single forward pass. The GitHub README calls it a multilingual, non-autoregressive "System 1" decision engine, licensed under Apache 2.0.

It uses the same three primitives as Jev: choice picks one label, score places the input on an ordinal rubric, and noul returns the probability that a statement is true. A built-in Router detects the script and language of each request and picks one of three checkpoints:

Checkpoint Backbone Parameters Context Best for
laya ModernBERT-large 421M 512 English
laya-multilingual mmBERT-base 322M 1024 (up to 8k) 100+ languages
laya-typed-decisions ModernBERT-large 421M 1024 Four typed-decision workflows

These figures come from the Hugging Face model card. Because the models are small encoders rather than LLMs, they run on a laptop.

Release, access and pricing

The artificialbuilds page dates this release to 18 September 2026, three days after Jev launched. It builds on earlier work: the official site says founder Nandakishor Mukkunnoth published a first paper on non-autoregressive decision models in March 2025 (arXiv:2503.23303) and a second on schema-based decisions in September 2025 (arXiv:2510.01237).

Laya costs nothing. You self-host it, with no API subscription. The README listed version 0.4.13 of the laya Python package when I read it. Access points are PyPI, the Hugging Face hub, a live demo Space, and the GitHub repo, whose research branch holds the benchmark harnesses. The model card showed about 54,500 downloads in the last month.

The selling point against Jev is that it is local and fast. The model card reports 39.5 ms for one question on the English checkpoint and 32.8 ms on the multilingual one, using an Nvidia T4, and 72.3 ms for ten questions batched on the multilingual checkpoint. On an Intel Mac Pro without CUDA, the README measured 121 to 453 ms for a four-question call, depending on checkpoint and device.

How to install Laya and make a first call

You need Python 3.10 or newer. A GPU is optional: Laya picks CUDA, then Apple MPS, then Intel XPU, then CPU.

  1. Install the package. Run python -m pip install laya, or uv add laya. Extras include laya[serve] for an HTTP server, laya[mcp], laya[onnx], and integrations for LangChain, LlamaIndex and CrewAI.
  2. Ask a question. The Router downloads only the checkpoint it needs on first use (about 808 MB for English, 647 MB for multilingual, per the official site).
from laya import Router

router = Router()
result = router.predict(
    {"body": "We were billed twice. Please refund the duplicate."},
    {"billing": {"type": "noul", "instructions": "Does the user request a refund?"}},
)
print(result["answers"]["billing"]["noul"])  # probability of yes
print(result["routing"]["model"])            # which checkpoint answered
  1. Load a single checkpoint if you prefer. laya.load("convaiinnovations/laya", subfolder="multilingual") skips the Router.
  2. Swap it in for Jev. laya.serve exposes the same POST /v1/systemone endpoint as TypeSafe's hosted API, and the README says the answer payload is schema-identical, so an existing Jev client only needs a new base URL. Differences remain: choice options share a token budget instead of Jev's 255-option cap, the server caps options at 100 per question, and confidence is computed differently.
  3. Calibrate before trusting probabilities. The model card says the checkpoints are over-confident out of the box. Fitting one temperature per question type on your own data cut mean calibration error from 0.466 to 0.081 in the publisher's tests.
  4. Fine-tune for your domain. The official site points to a Kaggle notebook on free dual-T4 GPUs that it says takes about four hours.

Intel Macs need a pinned stack (numpy<2, torch==2.2.2, transformers==4.57.6), and the first MPS call takes about 13 seconds to compile kernels.

What people build with Laya

The artificialbuilds catalog lists 50 entries from 50 creators between 18 September and 5 October, led by agents (13), automation (13) and games (12). Most builds do one of three things: port Laya to new hardware, run it head to head against Jev, or swap it into a Jev project to make it local.

Ports to Apple silicon and beyond. Laya-CoreML reports about 5 ms decisions on an M3 Max's Neural Engine, and another CoreML port reports 99.5% of operations on the Neural Engine at 3.7 ms on an M5 Pro. laya.cpp is standalone C++ inference with CUDA, Vulkan, Core ML and CPU backends, and laya-php brings it to Laravel.

Games against Jev. An MLX port plays Snake at 60 decisions per second. laya-vs-jev runs local Laya and hosted Jev side by side in Chrome's T-Rex game, and one builder reports local Laya beating cloud Jev at Tetris on speed.

Local agents. Laya Ultrafast ports Browser Use's jev-ultrafast web agent to local Laya. FluidUse does on-device computer use and form filling through the macOS Accessibility API, and keel is a local-first coding workspace with optional Jev. system1-agents collects agent examples for browsers, games and robotics.

Servers, evals and analysis. laya-server from 1Panel-dev is a self-hosted API and web UI compatible with Jev's format. jevals runs agent evals and guardrails as decisions on every trace, and WechatVibe analyzes WeChat chats for intent and emotion.

Tutorials. Several YouTube walkthroughs cover local installs, such as sorting 100 form leads in about five seconds and fine-tuning Laya for skill routing.

How Laya compares with Jev, and its limits

ConvAI's site publishes a head-to-head where routed Laya beats Jev 1.13 on typed-decisions accuracy (0.766 vs 0.727), AG News (0.950 vs 0.910) and calibration error. The publisher says it did not measure Jev directly; those Jev numbers come from third-party studies and TypeSafe. Read the fine print:

  • The headline score needed fine-tuning. Base checkpoints score 0.362 and 0.342 on typed decisions, below a 0.461 majority-class baseline. The 0.766 comes from a checkpoint trained on that benchmark's train split.
  • Many options hurt. On Banking77's 77 labels, Laya scored 0.425 against Jev's 0.870. The author suggests fewer than 20 options or a coarse-to-fine hierarchy.
  • Wrong checkpoint, confident nonsense. The English model scored 0.000 on Khmer at 0.952 mean confidence, so routing has to happen before inference.
  • Known bugs. The model card notes noul answers can follow the false:/true: labels instead of the state (issue #156), and action.act_probability is unreliable (issue #185).
  • Long documents vary. Accuracy is inconsistent beyond about 4,000 tokens, and ordinal scoring is weak (0.372 on SST-5).

Community tests are mixed too. The independent madewithlaya catalog lists a zero-shot benchmark concluding Laya's advertised win "does not reproduce" on four datasets, and a Japanese business benchmark where Jev scored 97.6 to Laya's 36.9. A cascade build that lets Laya decide first and escalates low-confidence cases to Jev may be the practical middle ground. All of these are author-reported.

Frequently asked questions

Is Laya free?

Yes. The weights and code are Apache 2.0 and you run them yourself. There is no hosted API or subscription.

Is Laya a drop-in replacement for Jev?

Close. laya.serve speaks the same /v1/systemone protocol with a schema-identical answer payload, but option limits and confidence calculations differ, and Jev scores higher on several community benchmarks.

What hardware does Laya need?

Python 3.10+ and about 650 to 810 MB of disk per checkpoint. It runs on CPU, and uses CUDA, Apple MPS or Intel XPU when available.

Does Laya support languages other than English?

Yes. The laya-multilingual checkpoint covers 100+ languages, and the Router sends non-English text to it automatically.

Can I trust Laya's probabilities?

Not straight out of the box. The publisher says the checkpoints are over-confident and recommends fitting temperatures on your own data first.

Browse every Laya build, repo and video

The Monday email

  • The week's best AI builds and who made them
  • New model releases and what people built with them
  • No spam. One click to leave.

Sign in once and you're on the list.