repowiserepowise

MCP server

nandhakishorm / laya

Non-autoregressive System 1 decision engine. Typed choice, score and yes/no decisions over any text in a single forward pass, in 100+ languages, with a router that picks the right checkpoint per request.

★ 35,567stars on GitHubPythonApache-2.0

This connects Repowise to nandhakishorm/laya's code. It does not install laya.

Repowise maps public repos from their source. Not affiliated with nandhakishorm. What is Repowise?

github.com/nandhakishorm/layaIndexed at 23a1752

What is laya?

laya is a non-autoregressive decision engine for typed choice, score and yes/no decisions over any text. It returns each decision from a single forward pass of a model instead of generating text token by token. A router picks the checkpoint for each request, and the package is written in Python and supports 100+ languages. To install it, run python -m pip install laya and follow the steps below. Its code health is 7.5 out of 10 (Good), ranked #111 of 4,000+ indexed repos. The last commit to laya was on Sep 24, 2026, and 64 people have contributed.

As of commit 23a1752, indexed Sep 24, 2026. What it is comes from a model reading the README; the rest is measured from the source and git history, not from the maintainer.

For agentslaya.md

Repo facts: type, license, health, rank, contributors
laya facts
TypeMCP server
LicenseApache-2.0
Code health7.5 / 10 (Good)
Health rank#111 of 4,000+ indexed repos
Last commitSep 24, 2026
Contributors64
Bus factor7
Size207 files, 22,450 lines

Install laya

Commands copied from the README

  1. 1Install the PyPI release into a Python 3.10 or newer environment.
    python -m pip install laya
  2. 2Check the installed version from the virtual environment's Python on macOS or Linux.
    .venv/bin/python -I -c "import laya; print(laya.__version__)"

Releases on GitHub (latest v0.5.2, Nov 21, 2026)

Full install notes on GitHub

Explore laya

Ask about this code in your agent

This connects Repowise to laya's code. It does not install laya. To install laya, use the install steps.

Useful if you want to change or fork laya: your agent can ask how it is put together and get answers that cite its files.

Ask about laya

Answers come from laya's README and source, with the files they cite. Two free answers a day without an account.

Want this for your own codebase? Map your repo free

About this page

Get a page like this for your own codebase

Repowise built this map of nandhakishorm/laya from its source and git history. It parses every symbol, draws the dependency graph, scores each file's health from complexity, duplication, coverage and churn, finds hotspots and owners in the history, and writes documentation for every module. Your coding agent reads the same index over MCP, so its answers cite real files.

Free for 2 public repos, with a page like this one. No card. See how Repowise works

Prefer local? pip install repowise && repowise init indexes your own checkout, no account needed. Star Repowise on GitHub

nandhakishorm/laya FAQ

What is laya?

laya is a non-autoregressive decision engine for typed choice, score and yes/no decisions over text. It produces each decision in a single forward pass and supports 100+ languages.

How does laya work?

laya uses a Router that detects the script and language of each input and sends it to a suitable checkpoint, such as laya-multilingual for non-English text. The checkpoint returns the decision in one forward pass, together with routing metadata explaining the choice.

How do I install laya?

laya is installed with python -m pip install laya in an environment running Python 3.10 or newer. Optional extras add an HTTP server, an MCP server, LangChain and LangGraph support, or ONNX Runtime. See the install steps

What language is laya written in?

laya is written mainly in Python. It also includes a TypeScript package in the laya-ts directory.

How is the laya code organized?

The laya directory holds the core package, including router.py, agent.py, cli.py and an mcp subpackage. Tests, research, examples and benchmarks are kept in their own top-level directories.

When should I use laya?

Use laya when you need typed choice, score or yes/no decisions over text in 100+ languages. It suits cases where each request should be routed to the checkpoint that fits its language and length.

What license does laya use?

laya uses the Apache-2.0 license.

Code health

7.4out of 10Good

Hotspots average 5.1, the place fixes pay off most.

On the leaderboards:#26 of 71 Python repos

Key features of laya

  • Produces typed choice, score and yes/no decisions over text in a single forward pass.
  • Handles text in 100+ languages and detects script and language to choose a checkpoint.
  • The Router sends each request to the checkpoint that fits it and reports the reason in the routing metadata.
  • Accepts documents up to 8,192 tokens when max_len=8192 is passed to laya-multilingual.
  • Offers optional extras for an HTTP server, an MCP server, LangChain and LangGraph, and ONNX Runtime.

How nandhakishorm/laya works

Input enters through the Router in laya/router.py, which detects the script and language of each text and selects a checkpoint such as laya-multilingual or the English checkpoint. The selected checkpoint runs one non-autoregressive forward pass and returns the typed choice, score or yes/no answers. Each result includes routing metadata with the model name, the repository and the reason for the choice. The files laya/agent.py and laya/router.py are flagged as hotspots in the code index. laya/cli.py provides the laya command, and laya/mcp/server.py and examples/server.py expose the package through an MCP server and an HTTP server. docker/entrypoint.py prepares the Python environment when the container starts.

The codebase has 207 files and 1,964 symbols in 10 modules, led by Python, TypeScript and JavaScript. Code health is 7.4 out of 10, rated good.