Laya in coding tools

Coding agents make many cheap judgement calls: which files matter, how hard a task is, whether a command is risky. Several projects hand those calls to a local Laya model instead of a second LLM call, which saves tokens and keeps code on the machine.

128 projects

vibecheck-jev

mgd34msu

Tracks coding-agent work in SQLite and verifies reports with a configurable judgment model

0·GitHub repo

laya-plugin

Andrei-cloud

Provides an offline Laya decision plugin for coding agents through MCP and native integrations

0·GitHub repo

laya-swe

Mukul-svg

Uses Laya as a fast memory controller for autonomous coding agents and evaluates it on software tasks

0·GitHub repo

laya-orchestrator

emanuelediluzio

Combines Laya decisions with code-generation models to orchestrate autonomous software development

0·GitHub repo

fast-laya-compaction

kartikeyaagr

Trims stale Claude Code tool output using local Laya classification decisions

0·GitHub repo

laya-opencode-router

Wauuuuuu

A macOS OpenCode plugin routes tasks using local Laya classification and optional MLX models

0·GitHub repo

gh-action-laya-release

valtzu

A GitHub Action uses Laya to classify commit changes and choose a release bump

0·GitHub repo

canvastty-plugin-assistant

BIackFIame

Adds a CanvasTTY assistant for command review, task triage, and orchestration advice

0·GitHub repo

fast-brain-deep-brain

thunderhill

Demonstrates local Laya and Claude collaboration for inbox triage, escalation, and coding guardrails

0·GitHub repo

pi-context-gc

Lausi-h2ai

Archives old tool outputs for Pi coding agents and evaluates retention policies with local judges

0·GitHub repo

CodeAgentLab

YeChenglin8888

A lightweight Python coding-agent system that integrates Jev and Laya for browser and application tasks

0·GitHub repo

laya-router

suradisworkspace

Routes Claude Code turns between model tiers using a local Laya classifier

0·GitHub repo

laya-snag-finetune

Adityaakr

Fine-tunes and evaluates Laya as a pull-request requirement verification engine

0·GitHub repo

laya-claude-code

anshc022

A Claude Code plugin runs Laya locally for prompt checks, task hints, and typed decisions

0·GitHub repo

Coding_Decision_Agent

SampleBias

A training harness fine-tunes Laya to grade code changes, tool calls, agent traces and routing decisions

0·GitHub repo

codepilot

GorbunovS

Indexes code and provides MCP search tools with Laya-powered reranking

0·GitHub repo

RLP

senghan1992

Uses Laya to triage coding requests and route work to parallel agents

0·GitHub repo

laya-mcp

kennedyshead

Serves local Laya routing decisions to coding agents through an MCP server

0·GitHub repo

claude-laya

marcellbaan

Routes Claude Code turns among Haiku, Sonnet, and Opus using local Laya decisions

0·GitHub repo

laya-guard

PS061188

Evaluates and fine-tunes Laya as a safety guard for commands issued to a coding agent

0·GitHub repo

laya_kev_Agent

MinhTriTM

Coordinates coding agents using Laya and Kev decision engines

0·GitHub repo

bialy

paintedwolf-ai

A local AI engine for Painted Wolf Code built on Laya

0·GitHub repo

JevRouter-for-OpenCode

husnain381a

An OpenCode plugin that uses Laya or Jev to route prompts to downstream models

0·GitHub repo

laya-tools

teamswyg

Implements a Go-based local Laya router for code search and experimental model selection

0·GitHub repo

Claude Code

laya-codex indexes a repository locally and gives Claude Code the relevant code before each task, using tree-sitter, BM25 and a Laya re-ranker. Install (macOS Apple Silicon or Linux x86_64):

curl -fsSL https://raw.githubusercontent.com/pilotspace/laya-codex/main/install.sh | sh
/plugin marketplace add pilotspace/laya-codex
/plugin install laya-codex@laya-codex

Its README reports that Claude Code read 38% fewer code tokens and took 21% fewer turns in a paired benchmark of 60 tasks on three repositories.

arbiter serves Laya behind a Jev-compatible API with an MCP server and a Claude Code plugin.

Model routing in coding agents

pi-pignon asks a local laya-serve (or Jev) how hard each prompt is and switches the pi agent's model:

pi install npm:pi-pignon
uv tool install "laya[serve]"
LAYA_HOST=127.0.0.1 laya-serve

Judges and gates

  • adecider: typed judgements for any coding agent through a CLI, MCP tool or HTTP, with local Laya as the default backend.
  • omp-laya-judge: a local judge for oh-my-pi. It reports a mean 160 ms per question on CPU and 8/12 correct on its benchmark.
  • laya-rust: its exfil_triage example flags shell commands that send credentials off the machine.

Workspaces

keel is a local-first macOS coding workspace. A local Laya selector (Core ML) or an opt-in hosted Jev picks a route for each new task, and the host validates the choice before applying it.

Caveats

omp-laya-judge found Laya confidently wrong on arithmetic and parity questions (confidence 0.80 and 0.84), so it routes those to the LLM whatever the confidence. Keep Laya on semantic questions and keep a fallback. laya-codex downloads a model of about 850 MB on install.

Hosted option

Several tools on this page can talk to Jev instead of a local model. Anything built on the official TypeSafe SDKs can point at a hosted Laya instead: layahost documents the switch as changing TYPESAFE_BASE_URL and the key. That saves a model download on every developer machine, at the cost of sending prompts and code snippets to a server in the EU. layahost is run by the makers of laya.tools.

More ways to use Laya