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

create3-laya

psyberLC

Uses a local Laya model to turn plain-English tasks into Create 3 robot actions

0·GitHub repo
L

layahost

Demo

Hosted Laya API, Jev-compatible, with Cloudflare Clef on the same endpoint

0·Demo

laya-serve

tuvl-io

Packages the Laya decision model in a container and serves it through the SystemOne API

0·GitHub repo

Laya-Plays-Starcraft

Jaesung-Jun

Connects Laya decisions to StarCraft: Brood War commands through BWAPI and CommandCenter

0·GitHub repo

laya-siro

Cihaimasuiro

Runs Laya decisions in a low-memory Windows automation engine using Rust and ONNX Runtime

0·GitHub repo

feedcast

TimurAkhtemov

Produces local narrated news episodes using RSS feeds and models including Laya

0·GitHub repo
G

@marg-adk/verdict

GitHub Actions

Provides typed decision cascades with Laya support, calibration, an MCP server, and an HTTP server

0·npm package

laya-mcp

Hypokoto

Runs the Laya ONNX decision model locally and exposes policy and code-analysis tools through MCP

0·GitHub repo

laya-skill-router

bappisinsane

Routes Hermes Agent requests to skills using Laya’s typed decisions and calibrated probabilities

0·GitHub repo

sky-team-ai-laya

wardraq

Implements a multiplayer Sky Team game with an optional Laya-powered AI player

0·GitHub repo

system-one-mcp

es11225599

Exposes typed decisions from System One backends, including Laya, through MCP tools

0·GitHub repo

codex-laya-go-decision

Ling0727-ai

Adds Codex tools for managing a local Laya inference server and making structured decisions

0·GitHub repo

orphusbot

kelvincushman

Provides self-hosted task bots that use Laya for routing and checking risky actions

0·GitHub repo

davinci-laya-zcode

Ydjin1984

Integrates a local Laya decision engine into ZCode with risk gates, context ranking, and MCP tools

0·GitHub repo

laya-hub

surtr85

Routes MCP servers and agent skills using Laya System-1

0·GitHub repo

laya-browser-agent

Sreenuraj

Automates web tasks locally using Laya MLX and Playwright tools

0·GitHub repo

laya-ai-local-llm

RohaizadMaznan

Routes chat requests with Laya before a local Ollama model generates replies

0·GitHub repo

bongo

lithometric

Provides a harness for real-time computer use with Laya alongside Claude and Codex

0·GitHub repo

DotaBotAI

Mohsen-Arshad

Benchmarks a synthetic Dota-style lane-control agent with optional Laya strategic advice

0·GitHub repo

laya-triage

CodeCave0000

Adds local Laya-based message triage to the OpenClaw agent plugin

0·GitHub repo

service-desk

boubakriibrahim

Assists field-service teams with sourced briefs, Laya safety screening, case scoring, and human approval

0·GitHub repo

laya-heart

sykyyds3739

A local-first couple-chat copilot uses Laya for message questions and Gemma to draft replies

0·GitHub repo
E

@es11225599/systemone-mcp

es1259

Provides an MCP server for evaluating typed decisions through System One backends, including Laya

0·npm package

WAya

ACKB

A WhatsApp appointment agent uses Laya for intent classification and topic extraction

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