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-go
metalagman
Provides an embeddable Go runtime for local Laya inference and typed decision routing
jevlaya
holiq
Integrates local Laya inference and hosted Jev into a provider-agnostic decision framework
pixel
adetbekov
Uses Laya to route robot-pet commands locally and Gemini for unknown requests
laya-forge
devjothish
Fine-tunes and calibrates Laya decisions, then uses them to guard production agents
laya-ultrafast
ShinyDataTech
Ports a browser-use agent to run Laya locally for browser action decisions
laya-trade
LivingG0D
Analyzes crypto markets and manages Toobit positions using a fine-tuned Laya decision model
laya-node
roryyu
Provides a Node.js SDK for local Laya typed decisions using Transformers.js and ONNX
dsh-laya
RestCode72
Adds Laya typed-decision tools and a service to DeepSeek Harness
laya-dino
that-daniel
Controls Chrome's dinosaur game with Laya through a real-browser decision loop
laya-local
arshadakl
Turns Malayalam and English voice or text commands into safe local actions using Laya
laya-chrome
korbinjoe
Uses local Laya to perform constrained browser tasks in Chrome
laya_mcp
fuleinist
Exposes Laya decision inference as tools for MCP clients
pi-laya
Dephilia
Routes prompts among model tiers and gates confidential prompts using a local Laya sidecar
pi-laya
izhimu
Integrates local Laya decision-model guardrails and judging into pi and oh-my-pi
laya-mcp
kodexArg
Provides an MCP server for local Laya choice, score, and binary decisions
laya-turbo
razaowais6112
Proposes bounded browser actions using a Laya-compatible decision endpoint
Laya-Navigator
Vann4799
Adapts Laya decisions to workflow-state classification and next-action prediction
laya-mlx-mcp
Blackphi6
Exposes Laya-MLX typed decisions through an MCP server for Apple Silicon
codex-laya-mcp
AetherZZ2
Exposes local Laya typed-decision tools to Codex through MCP on Apple Silicon
laya-decision-web
LeeeeeeM
Runs a local browser demo for Laya decisions in Snake and side-scrolling game scenarios
cam-laya-mcp
vdqvinh2004
Adds optional local Laya-MLX decision tools for coding agents
laya-tetris-ai
htpu
Uses local Laya decisions to choose Tetris moves through a Chrome extension or Playwright bot
laya-chatgpt-flow
Boom-Vitt
Uses local Laya decisions to operate Google Flow in a Thai video-production workflow
laya-sponsor-skip
Samuel-Ku
Skips YouTube sponsor reads using a local typed-decision model and a Chrome extension
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/systemonedialect. 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