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-go

metalagman

Provides an embeddable Go runtime for local Laya inference and typed decision routing

0·GitHub repo

jevlaya

holiq

Integrates local Laya inference and hosted Jev into a provider-agnostic decision framework

0·GitHub repo

pixel

adetbekov

Uses Laya to route robot-pet commands locally and Gemini for unknown requests

0·GitHub repo

laya-forge

devjothish

Fine-tunes and calibrates Laya decisions, then uses them to guard production agents

0·GitHub repo

laya-ultrafast

ShinyDataTech

Ports a browser-use agent to run Laya locally for browser action decisions

0·GitHub repo

laya-trade

LivingG0D

Analyzes crypto markets and manages Toobit positions using a fine-tuned Laya decision model

0·GitHub repo

laya-node

roryyu

Provides a Node.js SDK for local Laya typed decisions using Transformers.js and ONNX

0·GitHub repo

dsh-laya

RestCode72

Adds Laya typed-decision tools and a service to DeepSeek Harness

0·GitHub repo

laya-dino

that-daniel

Controls Chrome's dinosaur game with Laya through a real-browser decision loop

0·GitHub repo

laya-local

arshadakl

Turns Malayalam and English voice or text commands into safe local actions using Laya

0·GitHub repo

laya-chrome

korbinjoe

Uses local Laya to perform constrained browser tasks in Chrome

0·GitHub repo

laya_mcp

fuleinist

Exposes Laya decision inference as tools for MCP clients

0·GitHub repo

pi-laya

Dephilia

Routes prompts among model tiers and gates confidential prompts using a local Laya sidecar

0·GitHub repo

pi-laya

izhimu

Integrates local Laya decision-model guardrails and judging into pi and oh-my-pi

0·GitHub repo

laya-mcp

kodexArg

Provides an MCP server for local Laya choice, score, and binary decisions

0·GitHub repo

laya-turbo

razaowais6112

Proposes bounded browser actions using a Laya-compatible decision endpoint

0·GitHub repo

Laya-Navigator

Vann4799

Adapts Laya decisions to workflow-state classification and next-action prediction

0·GitHub repo

laya-mlx-mcp

Blackphi6

Exposes Laya-MLX typed decisions through an MCP server for Apple Silicon

0·GitHub repo

codex-laya-mcp

AetherZZ2

Exposes local Laya typed-decision tools to Codex through MCP on Apple Silicon

0·GitHub repo

laya-decision-web

LeeeeeeM

Runs a local browser demo for Laya decisions in Snake and side-scrolling game scenarios

0·GitHub repo

cam-laya-mcp

vdqvinh2004

Adds optional local Laya-MLX decision tools for coding agents

0·GitHub repo

laya-tetris-ai

htpu

Uses local Laya decisions to choose Tetris moves through a Chrome extension or Playwright bot

0·GitHub repo

laya-chatgpt-flow

Boom-Vitt

Uses local Laya decisions to operate Google Flow in a Thai video-production workflow

0·GitHub repo

laya-sponsor-skip

Samuel-Ku

Skips YouTube sponsor reads using a local typed-decision model and a Chrome extension

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