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

pi-laya

avatsaev

Adds a typed-question Laya tool and configuration command to the pi agent

0·GitHub repo

laya-tetris

Hiohk

A browser-based Tetris game uses Laya to choose and explain piece placements

0·GitHub repo

mcp-laya

tijo95

Provides local Laya decision tools through an MCP server for routing, checks, and custom typed questions

0·GitHub repo

laya_model

ranjithjunnu

Demonstrates a local PyTorch Laya decision service for classification and workflow planning

0·GitHub repo

tetris_laya_llm

TinlerLin

Runs a Tetris game with optional local Laya decision review alongside LLM and heuristic strategies

0·GitHub repo

elnachto_laya-triage

actions-marketplace-validations

Runs a fine-tuned Laya model in GitHub Actions to classify and triage issues

0·GitHub repo

opencode-laya-plugin

PedroZia

Adds a local Laya decision tool to OpenCode for classifications, routing, scoring, and yes/no decisions

0·GitHub repo

laya-claude-code-integration

danhnguyen-xiontechs

Installs and serves Laya locally on Windows, with an optional Claude Code MCP integration

0·GitHub repo

jev-desktop-agent

Archmetrus

Automates KDE desktop tasks through Jev and optional locally run Laya models

0·GitHub repo

local-systemone

axiomantic

Provides a self-hosted System 1 decision daemon and MCP server with a native Laya backend

0·GitHub repo

local-settings-slm

AkhileshManda

Uses Laya to generate Android settings decisions for distilling into an on-device Qwen model

0·GitHub repo

omnifast-browser

abdulaaly

Runs a browser agent with pluggable Jev and Laya decision engines

0·GitHub repo

LocalFirstGmailIntelligence

karan19

Sets up local Gmail intelligence models on Apple Silicon, including Laya-MLX

0·GitHub repo

sys1-eval

David-DL-Space

Compares Laya and Jev on typed decisions for LLM agent harnesses

0·GitHub repo

systemone-poc

joskr2

Connects Jev and Laya decision models to coding agents for preflight task routing

0·GitHub repo

dsh-auto-review-jev

xlennart

Adds Jev and self-hosted Laya decision API backends to a DeepSeek Harness approval plugin

0·GitHub repo

laya-android

surapat-codediva

An agent skill that controls Android devices with adb and uses local Laya for decisions

0·GitHub repo

clara

TheWiderLensInitiative

A private desktop AI assistant pairs a Hermes agent with a Laya router and Android app

0·GitHub repo

laya-robot-agent

diren55

Uses Laya semantic decisions with vision and lightweight planning to control simulated robot tasks

0·GitHub repo

laya

csr9497

A browser interface for designing and evaluating semantic decisions with the Laya library

0·GitHub repo

layaForMemory

vishalmysore

A browser-based agent memory layer that uses Laya to assess whether stored facts remain valid

0·GitHub repo

jobs-laya

adilsonmenechini

Collects job listings and classifies their fit to a professional profile using Laya

0·GitHub repo

appLaya

vitormarcio-nuvme

A Python road game uses Laya through a System One API to control the driver

0·GitHub repo

laya-serve

enlotec

Serves Laya typed decisions through REST and MCP endpoints

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