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_Sandbox

abhishekwoco

Serves Laya typed decisions to MCP-compatible agents over streamable HTTP

0·GitHub repo

laya-ha

artmdv

Integrates Laya as a fast System-1 conversation agent for Home Assistant

0·GitHub repo

lagos-monopoly

vunderkind

Runs two local Laya agents through a Lagos-themed Monopoly game and creates animated replays

0·GitHub repo

claude_guardrail_laya

pedro-ggomes

Uses Laya to score Bash commands in a Claude Code pre-tool guardrail

0·GitHub repo

loop.laya.bible

thomasperdana

An autonomous Bible study loop integrates Laya to generate chapter studies and interactive workbooks

0·GitHub repo

laya-plane-battle

wjw1-Evan

A browser-based plane battle game uses a local Laya model to make real-time gameplay decisions

0·GitHub repo

loop.laya.btc

thomasperdana

An autonomous BTC/USD trading system combines Laya decisions with market-making and directional strategies

0·GitHub repo

laya-stock-analysis-agent

sandeepj15

A stock analysis pipeline uses Laya to screen setups before Gemini synthesizes trade alerts

0·GitHub repo

laya-browser-use-skill

xnetsc

A portable decision skill bundles a local Laya model with a WebGPU runtime and browser adapter

0·GitHub repo

morning-agent

shauryajain07

A macOS morning briefing CLI uses local Laya-MLX for typed decisions

0·GitHub repo

finetuning-laya-for-browser-agents

kp-algomaster

Code, datasets, and evaluations fine-tune Laya for structured browser automation decisions

0·GitHub repo

n8n-nodes-layahost

Negmus

n8n community node for layahost: Laya and Clef decisions, flows and moderation in n8n workflows

0·GitHub repo

custom-voice-activator

M47HIS

Provides local macOS voice dictation and desktop control with Laya decisions

0·GitHub repo

jev-mcp

nik1tsyganov

MCP stdio servers expose TypeSafe Jev and a separate local Laya decision model

0·GitHub repo

jev-decision-layer

qualixar

A decision layer routes coding-agent tasks through Jev with optional local Laya

0·GitHub repo

flickering-sign

tienef

An autonomous-agent experiment combines Laya decisions with an LLM and simulated brain systems

0·GitHub repo

local-software-factory

champion19007

Runs a local coding assistant that uses Laya for task triage and Qwen for code generation

0·GitHub repo

Reai

ReKara12

Provides a local voice assistant for anticipatory operating-system navigation and control

0·GitHub repo

open-laya

skorotkiewicz

Provides a local HTTP API and MCP tools for Laya decisions

0·GitHub repo

weekofstay-agent-demo

drayapaty

Demonstrates an event-week hotel agent using Laya decisions and Jev browser automation

0·GitHub repo
P

glove-classifier

porkytheblack

Provides typed-decision adapters, cascades, and tools for Glove agents, including Laya and Jev backends

0·npm package
J

mahabodi

jollypk

Combines topology memory and ONNX Runtime-based Laya decisions in a System-1 engine for AI agents

0·npm package
A

laya-trader

antonellof

Paper-trades crypto and S&P 500 stocks using Laya’s market outlook decisions

0·HF Space
T

laya-vision-microduck-kick-demo

thaitea

Demonstrates a Laya vision model controlling a simulated duck robot to find and kick a ball

0·HF Space

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