DNA News

Act on this, mostly signal

Laya guard checks agent commands locally before they run

What to do

Install the pip package laya-guardrail, not laya-guard, which is an unrelated project.

Why

A free MIT-licensed pre-execution check using a regex prefilter and a small model.

Read the source at github.com Discussion

What the research found

laya-guard is a free, MIT-licensed local pre-execution check for coding agent commands, using a regex prefilter plus a ~322M model, installable as pip package laya-guardrail (not laya-guard, which is an unrelated project).

Claims and how well the evidence supports them

  1. Free and MIT-licensed, no API key or per-call billing 89%
  2. Regex prefilter plus ~322M model judges commands in about 85-90 ms on CPU 96%
  3. Install via pip install laya-guardrail; pip install laya-guard is an unrelated project 92%
  4. laya-guard install claude-code shows a diff and checks the hook; 11 agents supported 96%

Evidence

Actionability rated medium.