Radek Brus

laya-as-judge 1.0: one open-source Decision, Judge & Governance API built for everyone — and ready for regulated enterprise

Radek Brus · 22 November 2026 · laya-as-judge v1.0.0 · Sixi Assure

AI evaluation and routing software usually breaks along an artificial divide. On one side sit lightweight local scripts that are fun to prototype with, but fail the moment a security architect asks for calibrated risk thresholds, deterministic deny rules, or a verifiable audit trail. On the other side sit closed enterprise guardrail clouds that require streaming proprietary customer state to third-party APIs, lock you into proprietary schemas, and charge per evaluation token until you quietly turn them off in production. Today I am releasing laya-as-judge v1.0.0 (Apache-2.0) — joining sixi-asi v1.0.0 and sixi-scanner v1.0.0 as the third stable pillar of Sixi Lab R&D — designed to work identically on a developer's single GPU and inside an air-gapped enterprise enclave.

Laya-as-a-Judge v1.0.0 Platform Architecture: Decision API (/v1/decisions), Judge API (/v1/judge), Hybrid The Judged Decision (/v1/judged-decision -> COMMIT/FALLBACK/ABSTAIN/BLOCK), hardware profiles from edge-6gb to air-gapped enterprise and Laya-Omega.

One API, three operational modes — zero output tokens

Every production agent eventually needs three distinct capabilities: choosing an operational action, judging whether content or trajectories meet quality and safety rubrics, and deciding whether a proposed action is actually safe to commit. laya-as-judge v1.0.0 exposes all three through one Python SDK, one CLI (laya-judge), and one FastAPI HTTP server with zero autoregressive token decoding and zero JSON parse failures:

Mode HTTP Endpoint & Python Entry What It Solves Output Contract
1. Decision API POST /v1/decisions
POST /v1/systemone
SystemOneHTTPBackend
Drop-in local replacement for cloud Decision APIs (Jev, Google, Azure) — ticket routing, tool calling, triage, classification with state/input and noul/bool wire compatibility. Strictly typed noul, choice, and score answers with calibrated simplex probabilities, 0 output tokens.
2. Judge API POST /v1/judge
FaithfulnessJudge, SafetyGuardJudge, CustomJudge
Inline guardrails, RAG hallucination audits, pairwise A/B evaluation, agent trajectory checks, and offline batch/CI benchmark suites. passed, per-criterion typed judgements, Shannon-entropy confidence, Top-1 probability, and latency/cost telemetry.
3. Hybrid: The Judged Decision POST /v1/judged-decision
JudgedDecisionEngine
Answers the real production question: "Not just what did the agent pick, but is it safe, grounded, and policy-compliant to execute?" Explicit 4-way ActionGate (commit / fallback / abstain / block), effective_decision, calibrated_risk, and step-by-step JSON audit_trace.

Why it works for individual developers, indie teams, and startups

Enterprise governance tools usually fail developers because they assume a Kubernetes cluster and a six-figure contract before your first request returns 200 OK. laya-as-judge v1.0.0 flips that equation:

Why regulated enterprises can deploy it without compromises

In banking, insurance, healthcare, pharmaceuticals, public administration, and industrial OT, the blocker is rarely model intelligence — it is control, auditability, data residency, and predictable failure behavior. Every piece of v1.0.0 was built from live red-teaming experience and aligns directly with Sixi Assure:

  1. 100% air-gapped & data-sovereign operation: With local GGUF decision servers (llama-server /v1/systemone) or on-prem PyTorch/MLX encoders, zero customer PII, medical abstracts, financial payloads, or internal tool schemas leave your network. That maps cleanly to GDPR/RODO residency rules and strict internal data-classification policies.
  2. Deterministic-first, fail-closed security gates: Neural models are probabilistic; compliance policies are not. In JudgedDecisionEngine, deterministic Python policy_rules (including the built-in spoofed_audit_guard_rule that stops fake [AUDIT_PASSED=TRUE] and [ADMIN_TOOL_OVERRIDE] injections) execute on every call regardless of audit policy. Even better: the default audit_policy="on_high_stakes" is fail-closed — if an operator forgets to declare high_stakes_actions, every action is audited instead of silently bypassing verification.
  3. Calibrated probabilities you can actually set SLAs on: Uncalibrated LLM confidence scores are unusable for risk thresholds. laya-as-judge v1.0.0 ships TemperatureScaler and out-of-fold MetaCalibrator (100% Top-1 invariant), proven live to cut 4-bit quantized ECE by 59% (0.0701 → 0.0287) and reach 0.0234 across 2,250 hybrid questions. Risk officers can set concrete thresholds (min_top1_prob, min_margin, max_judge_risk_score) and prove their selective accuracy via AURC and Acc@80%Cov.
  4. Four-way operational control & immutable audit traces: Rather than a brittle pass/fail boolean, /v1/judged-decision routes every action into COMMIT (autonomous execution), FALLBACK (safe pre-approved substitute such as request_more_info), ABSTAIN (human-in-the-loop review queue), or BLOCK (hard refuse). Every response carries a machine-readable JSON audit_trace recording which decider, cross-family verifier, orthogonal judge, and deterministic policy rule fired — directly supporting EU AI Act Article 12/14 logging & human oversight, DORA operational resilience evidence, and NIS2 incident forensics.
  5. Zero-dependency wire parity & Apache-2.0 licensing: No proprietary SaaS seat tax, no black-box prompt weights changing silently behind an endpoint, and reproducible offline benchmarks via laya-judge suite.

Measured scoreboard across every deployment tier

Every figure below is measured on real benchmarks (5-experiment local GPU report and 2,250-question Laya-Omega report) — zero synthetic claims:

Deployment Tier Hardware / Cloud Quality Score Calibrated ECE Red-Team (24 cases) Cloud Cost
edge-6gb Jetson Orin Nano / RTX 8 GB (5.88 GB) 61.6% (6-bench) · 100% Jev@80%Cov 0.0621 (Meta) 12 / 12 (w/ v1.0 rule) · 0% FP $0.00
rtx-16gb (Clef-Flash) 1× RTX 16 GB (11.75 GB) 78.0% (6-bench) · 100% PL · 0% flips 0.0539 (raw) 12 / 12 · 100% benign · 0% FP $0.00
rtx-16gb-glide 1× RTX 16 GB (11.11 GB) 78.7% (6-bench) · 92.5% When2Call 0.0287 (Temp) 12 / 12 · 100% benign · 0% FP $0.00
workstation-24gb RTX 3090–5090 / 2×16 GB (20.2 GB) 77.0% (6-bench) · 80% PubMedQA 0.0584 (Meta) 12 / 12 · 0% FP $0.00
Laya-Omega (Hybrid) Local GPU + selective packed Gemini 11 / 11 wins vs Gemini Decision 1 0.0234 (OOF) Full text + vision + audio + video $0.77 / 2,250 Qs

Five-minute deployment: from laptop to air-gapped server

# 1. Install laya-as-judge v1.0.0 with HTTP server extras
pip install 'laya-as-judge[server]'

# 2. Launch verified local Tier-1 (Kev-4B) + Tier-2 (Clef-Flash 9B joint-schema) in 11.75 GB VRAM
llama-server -hf ggml-org/Kev-4B-GGUF:Q4_K_M --port 8080 --ctx-size 8192 -b 2048 -ub 2048 --parallel 2
llama-server -hf ggml-org/Clef-Flash-GGUF:Q4_K_M --port 8081 --ctx-size 8192 -b 2048 -ub 2048 --parallel 2

# 3. Start the unified 3-mode Decision / Judge / Judged-Decision API (fail-closed default)
laya-judge serve --profile rtx-16gb \
  --tier1-url http://127.0.0.1:8080 \
  --tier2-url http://127.0.0.1:8081 \
  --port 8000

From there, any application — Python, Go, TypeScript, .NET, Java, or an API gateway — calls POST /v1/decisions for fast typed routing, POST /v1/judge for quality/safety scoring, or POST /v1/judged-decision for policy-gated autonomous execution.

How the three Sixi Lab R&D 1.0 pillars fit together

With laya-as-judge v1.0.0, the full local AI lifecycle now stands on three Apache-2.0 v1.0.0 tools — all measured with published raw numbers:

  1. Infer (sixi-asi v1.0.0): Pure C++20/CUDA inference for hybrid MoE & Gated DeltaNet models on NVIDIA Jetson Thor & DGX Spark (55 tok/s single-stream, 32 streams in 27 GB).
  2. Decide, Judge & Gate (laya-as-judge v1.0.0): Zero-output-token Decision, Judge, and Hybrid Judged-Decision runtime with calibrated risk and deterministic-first policy rules.
  3. Red-Team in CI (sixi-scanner v1.0.0): Zero-dependency Go scanner with 45 adversarial techniques, MCP/A2A transports, cumulative session tool policies, and SARIF CI gates.

Honest boundaries in v1.0.0

laya-as-judge v1.0.0 gives individual builders a zero-cost, sub-200 ms local Decision & Judge API on one consumer GPU — and gives regulated enterprises an air-gapped, calibrated, deterministic-first governance gate with full JSON audit trails under Apache-2.0. If your team is moving AI agents into regulated production and needs a fixed-scope architecture review or signed governance handover pack, see Sixi Assure or work with me.


Release & source (Apache-2.0): github.com/radeksixi/laya-as-judge v1.0.0 · Local 5-experiment benchmarks: v0.7.0 write-up · Hybrid 11/11 benchmarks: Laya-Omega write-up · More writing