Laya for agents

Agents make many small decisions: which tool to call, whether an input is safe, which element to click. Laya answers each one as a typed probability in one forward pass, locally, so an agent can branch on a number instead of parsing prose from an LLM.

606 projects

H

cut-laya-onnx

harshpreet931

An 8-bit ONNX conversion runs Laya text classification in browser-based editors

1·HF model
Q

laya-browser-mind2web

Quantum08

A Laya checkpoint fine-tuned to select browser actions from page content and a user goal

1·HF model
N

laya

nishanth-kj

Provides a multilingual typed-decision model and Python package with optional serving and integration extras

1·HF model
B

laya-plays-google-snake

BoogieKn

Provides an imitation-trained Laya checkpoint that scores moves in the Google Snake game

1·HF model
K

laya-browser-agent

knpatil

Fine-tunes a ModernBERT-based Laya model for autonomous browser control

1·HF model
B

laya-android

ByunByun

Fine-tunes Laya for selecting and grounding Android GUI actions from accessibility trees

1·HF model
W

laya-browser

wuyuanpei

Fine-tunes Laya as a browser-agent decision head compatible with jev-ultrafast

1·HF model
R

sunday-laya-router

rithulkamesh

Fine-tunes Laya for Sunday agent intent routing and distributes the model as an ONNX export

1·HF model
A

laya-web-agent

abedinia

Selects browser-agent actions and page targets with a fine-tuned Laya decision model

1·HF model

hermes-skill-router

cdepuy

Routes tasks to relevant Hermes skills using a local Laya model or SemIf

1·GitHub repo

laya-mcp

andragon3110

Provides MCP tools for coding-agent judgments using local decision models, including Laya

1·GitHub repo

omp-laya

KiidxAtlas

Adds local Laya decision policies and verification controls to Oh My Pi

1·GitHub repo

pastewhat

mizorewww

A native macOS clipboard companion recommends entries using a local Laya model or optional Jev backend

1·GitHub repo

jev-codex-workbench

qualixar

Adds Jev decisions and optional local Laya-MLX routing to a Codex plugin and MCP server

1·GitHub repo

pi-laya-router

AdelysAlberto

Routes Pi coding-agent prompts using local Laya classification on Apple Silicon

1·GitHub repo

laya-mcp

PerryLink

An MCP server for Laya typed decisions with preflight checks and persisted calibration

1·GitHub repo

laya-omni-agent

yashrastogi069-dev

An autonomous agent combines local Laya or Jev routing with cloud reasoning and browser, OS, and data tools

1·GitHub repo

laya-mcp-mimo-desktop

miniongk

Bridges Laya typed decisions into MiMo Desktop through a local stdio MCP server

1·GitHub repo

macos-use

ArdaOzd

Controls native macOS apps and Chrome using spoken or typed commands with local Laya or hosted Jev decisions

1·GitHub repo

NLaze

Punch-Pain

A smart terminal uses Laya to correct typos, infer command intent, and learn user patterns

1·GitHub repo

hd5-antigravity-jev

alpaslan-exe

A workshop teaching developers to build projects with Antigravity and locally run Laya decisions

1·GitHub repo

building-with-laya-skill

MIt9

An agent skill teaches developers to build typed-decision programs with Laya and laya-cli

1·GitHub repo

laya-computer-use

koushikvarma37-jpg

Runs a local Windows voice assistant that uses Laya to choose intents and actions

1·GitHub repo

laya-adk-toolkit

Ashfaqbs

Google ADK tools expose Laya's typed-decision engine for classification, scoring, and detection

1·GitHub repo

MCP servers

The core package includes an optional MCP stdio server with laya_predict, laya_route, laya_preset and laya_status tools:

pip install "laya[mcp]"
laya-mcp-server
{
  "mcpServers": {
    "laya": {
      "command": "laya-mcp-server",
      "env": { "LAYA_DEVICE": "cpu" }
    }
  }
}

Other options:

  • laya-mcp (NVentimiglia): pip install laya-mcp, with guardrail, routing, PR-diff and moderation tools.
  • ollaya: claude mcp add ollaya -- ollaya mcp.
  • typesafe-mcp: built for Jev, and can point at a local Laya server through TYPESAFE_BASE_URL.

Browser automation

  • laya-browser-agent: Playwright/CDP browser decisions with Laya, speaking TypeSafe's /v1/systemone dialect. It also publishes a fine-tuned browser checkpoint.
  • laya-ultrafast: a port of browser-use/jev-ultrafast that runs Laya through laya-mlx (Apple Silicon only).
  • The core repository documents a browser-agent fine-tune on one 16 GB GPU. Element top-1 accuracy went from 0.10 zero-shot to 0.66, and task success from 0% to 62%.

Agent frameworks and evals

  • system1-agents: prebuilt browser-use, computer-use, robotics and game agents on Jev, Laya or Cua-S1.
  • jevals: agent evals and guardrails as typed decisions (pip install jevals), with Laya as a local option.
  • FluidUse: on-device computer use on macOS, with Laya over Core ML.

Caveats

laya-ultrafast states it plainly: Laya answers narrow questions well (which field is the destination, whether two dates match) but does not reliably answer "what should the browser do next?". Those projects combine narrow Laya questions with rules. The zero-shot numbers above also show that fine-tuning is where most of the gain comes from.

Hosted option

An agent that runs in the cloud may not have a GPU or a Mac next to it. layahost serves Laya, and Cloudflare's open Clef models, over the Jev-compatible /v1/systemone. It has an MCP server for agents, an n8n community node (n8n-nodes-layahost) and a prompt_injection template for screening web pages, emails and tool output before an agent reads them. layahost is run by the makers of laya.tools.

More ways to use Laya