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

DecisionSwarm

themaincharacter

Builds and serves configurable swarms of Laya decision models as Python libraries, CLI tools, and services

0·GitHub repo

sys1_mcp

dmonteroh

Provides an MCP server and HTTP daemon for System One decision models, including an in-process Laya backend

0·GitHub repo

vector-rag-laya-ai-automation

mjaouni

Combines Laya intent classification with retrieval, answer generation, and automated workflows

0·GitHub repo

home-router

cloudeeo

Routes home-assistant requests locally using Laya before running commands, search, or chat

0·GitHub repo

NapQuest

adkbbx

Runs a 2D woodland sandbox game with local Laya AI

0·GitHub repo

systemone-mcp-core

wssab314

Implements a Rust confidence gate and UI parser for Laya-Vision and Vev mobile agents

0·GitHub repo

pi-laya-mlx

a3harva

Screens coding-agent tool calls with a fine-tuned Laya model running locally on Apple Silicon

0·GitHub repo

sentinel-v4

hearthacker003366

Uses Laya for triage in a simulated-network SOC copilot with human-approved responses

0·GitHub repo

ReflexFoundry

nazeeh111

Trains and evaluates local Laya decision heads for coding-agent workflows

0·GitHub repo
G

alvaress

GitHub Actions

Installs an OpenCode agent harness that makes local decisions with Laya and validates code changes

0·npm package

laya-docker

thomashaertel

Runs Laya on AMD GPUs in Docker and exposes Jev-compatible decision APIs and an MCP server

0·GitHub repo

reflex

Aymiut

Uses locally fine-tuned Laya to triage phishing reports and escalates uncertain cases to a Meta agent

0·GitHub repo

trend-agent-webapp

Lucas-0911

Scores media trends with Jev or local Laya-MLX and feeds the results into an analysis workflow

0·GitHub repo

laya-gpt

stevenke1981

Uses a local Laya model to select reasoning effort for GPT and resume prematurely ended turns

0·GitHub repo

laya-localserver

smellship

Deploys the Laya decision model locally and connects it to UI automation workflows

0·GitHub repo

laya-toolselect

surajmhaske02

Selects relevant tools for LLM agents with an optional Laya judge

0·GitHub repo

agentic-rag-laya

qaq1902

Tests Laya decision models as optional components in an agentic RAG workflow

0·GitHub repo

hermes-laya-router

axelBrei

Routes home automation requests using Laya decisions and executes supported actions through Home Assistant

0·GitHub repo

laya-rover-agent

RKJegan

Uses Laya in a safety-guarded rover navigation agent with simulation, ROS 2, and serial backends

0·GitHub repo

laya-zcode-stack

Ydjin1984

Runs a local Laya decision engine and ZCode plugin with MCP tools for coding-agent workflows

0·GitHub repo

browser-agents

hiszpan400

Routes browser automation tasks to pluggable agents, including a Laya agent

0·GitHub repo

laya-command

Kimhyuntae9665

Combines Korean command translation with local Laya decisions in a Codex skill

0·GitHub repo

hermes-laya-classifier

Bill-Davidson999

Adds advisory Laya classification as a native Hermes Agent tool and skill

0·GitHub repo

laya-workflows-ko

realizer-1966

Runs Korean workflow demos in the browser using the multilingual Laya decision model

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