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

AxeForging

A local context-compaction tool that uses Laya to score which tool calls remain needed

0·GitHub repo

laya-gateway

aios-b-612

Routes coding-agent tool choices through Laya in a local LLM gateway

0·GitHub repo

omp-laya

agusbyna

An omp wrapper adds Laya decisions and prompt pre-screening to agent workflows

0·GitHub repo

laya-decide

Luminousyyh

A DeepSeek Harness skill gates file and command actions using a local decision model

0·GitHub repo

laya-mc-bot

LixiaoLeo123

Minecraft bots use Laya decision models alongside external LLM harnesses

0·GitHub repo

pi-laya-router

rabi

Adds Laya decision tools and prompt-based model routing to the pi agent

0·GitHub repo

laya-computer-use

ChenneyZhuang

Uses local Laya decisions to control macOS apps through their Accessibility trees

0·GitHub repo

lica

np9royal

Adds typed decision packs powered by Laya to coding-agent hooks

0·GitHub repo

jev-voice-browser-agent

adnankhan46

Implements a voice-controlled browser agent using Jev or Laya

0·GitHub repo

ChenneyZhuang

ChenneyZhuang

Showcases a fine-tuned Laya browser model and local browser-agent tooling

0·GitHub repo

reflex-engine

chenshuai9101

A Python toolkit collects, calibrates, and automates routine decisions using local Laya

0·GitHub repo

Xpark-Media-Foundry-Agent

ArcSeekerX

A media-production pipeline uses Laya, OpenJev, or Jev to allocate attention across video generation

0·GitHub repo
D

dsh-browser-laya

drscrewdriver

A reserved npm package name for a planned browser-action backend using a local Laya sidecar

0·npm package
P

@mokei/mcp-system-one

paul_lecam

MCP server exposing a System One predict tool, backed by local laya-serve or the hosted API

0·npm package
E

@ejstembler/pi-classifier-router

ejstembler

Routes Pi and Oh My Pi prompts to models using typed decisions from Jev or Laya

0·npm package
G

@gabedsam01/decision-maker

gabedsam01

Provides typed decisions for AI agents through a Pi adapter and local Laya or hosted Jev

0·npm package
K

laya-decision-lab

KGFCode

Demonstrates Laya text classification, scoring, and probability analysis with an API and MCP service

0·HF Space
H

laya-decision-playground

hadeas

Provides a Gradio playground for Laya typed decisions with editable schemas and probability outputs

0·HF Space

laya-trader

antonellof

Uses Laya MLX to paper-trade crypto and stocks with a dashboard and backtesting tools

0·GitHub repo

semantic-operators

jasonduncan

Provides Python, CLI, and MCP interfaces for typed judgments using Laya and Jev

0·GitHub repo

LayaAssitant

ps1x

Provides a local Home Assistant conversation agent that uses Laya to select approved device actions

0·GitHub repo

LayaTUI-MCP

guillermojmontenegro-hub

Provides a terminal UI and MCP server for running Laya questions and viewing results

0·GitHub repo

layatest

krish154

Combines Laya, Qwen, and MCP tools in a modular local AI agent

0·GitHub repo

ask-laya

v3moreno

Routes agent decisions through a local Laya daemon for classification, relevance filtering, and yes/no scoring

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