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

laya-vs-jev

darrenli6

Compares Laya and Jev in snake-racing and fighting-game arenas

0·GitHub repo

laya-plays-doom

greencat667

Uses Laya as a single-pass decision model for an autonomous Doom-playing agent

0·GitHub repo

laya-agent-skill

HunterXing

Provides agent integrations for typed decisions through Laya-compatible APIs

0·GitHub repo

laya-answer-router

ramb5144

A Chrome side panel and MCP bridge use local Laya to route page questions to OpenAI models

0·GitHub repo

laya-mcp-server

ocha-no-taiko

Wraps the laya-mlx typed-decision model in an MCP server for tools such as Claude Code

0·GitHub repo

switchyard

mayur2109

A local decision service exposes Laya's typed answers to agents and automation systems

0·GitHub repo

laya-vs-llm-benchmark

Shray15

Benchmarks Laya against a local LLM for selecting MCP tools

0·GitHub repo

pol2-laya-studio

shentonyan

A local interactive playground visualizes and evaluates typed decisions from Laya models

0·GitHub repo

e2e-ui-test-laya

spencerlepine

A local browser-use agent uses Laya through MLX to choose actions and verify task completion

0·GitHub repo

jev-router

drycool

Provides a multi-tier routing gateway for RAG and agent workflows with an optional Laya classifier

0·GitHub repo

doom-ai-overlord

JohGirard

Runs Laya as a local decision model for autonomous Doom gameplay through ViZDoom

0·GitHub repo

Jev

Caho1

A research repository documents Laya fine-tuning, evaluation, local inference and browser automation experiments

0·GitHub repo

Tuantuan

JunbiaoXue

Provides a native macOS desktop companion that uses local Laya decisions to choose behavior

0·GitHub repo

jev-frontend-lab

dante01yoon

Six frontend demos compare Jev and local Laya decision pipelines with optional LLM refinement

0·GitHub repo

opencode-system-1-router

jonasneustock

An OpenCode plugin routes tasks to cloud models with Jev or local Laya and routes subagents independently

0·GitHub repo

etri-voice-control

prajazz66

Controls a computer by voice using local speech recognition, UI perception, and Laya-based element grounding

0·GitHub repo

jev-demo

nadeem4

A demo site compares Jev and Laya playing games and includes benchmarks and agent experiments

0·GitHub repo

SystemOne

iksnerd

Runs local Laya checkpoints for fast typed judgments over text

0·GitHub repo

gut-check

rfi-irfos

Uses Laya confidence to route uncertain agent-verification cases to a larger language model

0·GitHub repo

dsh-decision-engine

LiuRJ99

A JavaScript decision runtime for DeepSeek Harness with Laya as its first provider

0·GitHub repo

laya

lucasnpinheiro

Runs Laya in a Docker container and exposes predictions through an HTTP API and MCP server

0·GitHub repo

LayaMCP

aydinozturk

Exposes Laya classification, triage, guardrail, and routing tools through an MCP server

0·GitHub repo

LayaBasedAssistant

userasg

Uses Laya to route requests and gate risky actions in a local voice-and-text assistant

0·GitHub repo

system-one-poc

tonysprite

Integrates Laya-based typed decisions into DeepSeek Harness tool approvals and selection

0·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