Skip to content

Laya Deploy

Reproducible deployment turning local open-weight Laya into the judgment backend for oh-my-pi, so small checks run on your own GPU.

Stars
0
Language
Python
Published by
Community
Author
Pidbid
Last verified
Oct 2026

Pidbid/laya-deploy

User repository on GitHub

View on GitHub

Deploy the Laya System 1 decision engine as a local judgment backend for omp (oh-my-pi): TypeSafe-compatible /v1/systemone bridge, MCP tools, systemd unit, installer, verification probes and the pitfalls hit on the way.

Forks
0
Last pushed
Updated Sep 2026

Repo stats from the GitHub API, cached Oct 2026.

About this project

把开源 System 1 决策引擎 Laya 变成 omp (oh-my-pi) 的本地判定后端,并让 omp 里所有「小判断」都跑在本机 GPU 上(20–400 ms),不再走云端 TypeSafe。. 不改 omp 源码:omp 的判定后端本来就是可替换的 HTTP 接口。. 实测环境:omp/18.2.6、laya 0.3.4、torch 2.11.0+cu128、transformers 5.17.0、mcp 2.2.0、RTX 5050 8 GB(Blackwell / sm120)、Ubuntu / Linux 7.0。. omp 把「agent 对自身状态做的小判断」(eval 里的 judge()、auto thinking 档位分类、Smart unexpected-stop 检测、git AI staging)统一收敛到一个 judgment 抽象,默认后端就是 TypeSafe 的 System One,而 base URL / key / 模型名都可覆盖:.

Quoted from the project's README. Read the full README.

Highlights

  • Thin adapter serving /v1/systemone with strict choice, noul, and score type-echo semantics omp validates.
  • Install script provisions venv, CUDA torch, weights, and systemd service with CPU and offline options.
  • Four verification probes cover contract, omp judge(), MCP tools, and shell-independent .env loading.
  • Optional MCP layer exposes decide, routing, guard, moderation, and triage tools to agents.

Watch out

Base checkpoints are near-random zero-shot on typed decisions and multilingual temperature is unfitted; plan calibration and the RLCD notebook before production use. Copy reviewed against the repository README on 2026-10-04, not from running it.

Questions about this entry

Short answers drawn from the linked project or page.

More Jev resources like this

2GitHub stars
Claude Code PreToolUse hook that screens Bash, file edits, and tool calls with Jev risk, policy, and allow-ask-deny judgments before execution.
Jev Agents & MCP#community#github
Demo of the LangChain Jev harness pattern in LangGraph: a fast classifier routes events and gates a risky tool call, leaving open-ended reasoning to a chat LLM. Entry is POST /events; output lands in JSONL files.
Jev Agents & MCP#community#github
Offline prototype replaying public Shin 2017 EEG sample-by-sample to trigger intents, gate actions with a Jev policy question, and confirm via repeat or imagery before a mock agent acts.
Jev Agents & MCP#community#github
1GitHub stars
Claude Code plugin that puts Jev judgments in the agent loop to route tool calls, verify outputs, judge completion, and pick next actions with metered calls.
Jev Agents & MCP#community#github
1GitHub stars
Python guardrail that intercepts agent tool calls, sends agent state plus tool details to Jev, and allows, blocks, or reroutes execution based on Choice, Score, and Noul answers.
Jev Agents & MCP#community#github
0GitHub stars
Browser-use agent that completes flight searches in real Chrome: Jev picks each next action from an indexed DOM table while a small model handles only text entry.
Jev Agents & MCP#community#github
Back to all resources

From the Jev community

Posts from builders shipping with Jev right now.

Follow @typesafeai