laya-as-judge 1.0: one open-source Decision, Judge & Governance API built for everyone — and ready for regulated enterprise
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.
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/decisionsPOST /v1/systemoneSystemOneHTTPBackend |
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/judgeFaithfulnessJudge, 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-decisionJudgedDecisionEngine |
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:
- Zero-friction start (0 GB VRAM):
pip install 'laya-as-judge[server]' && laya-judge serve --profile emulatorboots all three API modes in under a second with zero model downloads for local integration tests and CI pipelines. - Runs on hardware you already own ($0.00/month): Built-in hardware profiles match real VRAM envelopes —
edge-6gb(5.88 GBVRAM, fits NVIDIA Jetson Orin Nano 8 GB or an RTX 4060 8 GB,88 msP50),rtx-16gb(11.75 GBVRAM on one RTX 4060 Ti / 5060 Ti / 5070 Ti 16 GB, 78.0% 6-benchmark average, 12/12 red-team catch rate, 100% Polish accuracy, 3.3× faster multi-question log analysis), andrtx-16gb-glide(11.11 GB, 78.7% 6-benchmark average, 92.5% When2Call, 0.0287 calibrated Top-1 ECE). - No cloud lock-in — upgrade only when you want multimodality: Because the Decision API uses standard
/v1/decisionsand/v1/systemonewire schemas, you can start 100% local at$0.00and turn onLaya-Omegawhenever you need raw vision, audio, or video (11/11 wins over Gemini Decision 1 across 2,250 questions, pooled0.0234ECE,$0.77total).
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:
- 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. - Deterministic-first, fail-closed security gates: Neural models are probabilistic; compliance policies are not. In
JudgedDecisionEngine, deterministic Pythonpolicy_rules(including the built-inspoofed_audit_guard_rulethat stops fake[AUDIT_PASSED=TRUE]and[ADMIN_TOOL_OVERRIDE]injections) execute on every call regardless of audit policy. Even better: the defaultaudit_policy="on_high_stakes"is fail-closed — if an operator forgets to declarehigh_stakes_actions, every action is audited instead of silently bypassing verification. - Calibrated probabilities you can actually set SLAs on: Uncalibrated LLM confidence scores are unusable for risk thresholds.
laya-as-judge v1.0.0shipsTemperatureScalerand out-of-foldMetaCalibrator(100% Top-1 invariant), proven live to cut 4-bit quantized ECE by 59% (0.0701 → 0.0287) and reach0.0234across 2,250 hybrid questions. Risk officers can set concrete thresholds (min_top1_prob,min_margin,max_judge_risk_score) and prove their selective accuracy viaAURCandAcc@80%Cov. - Four-way operational control & immutable audit traces: Rather than a brittle pass/fail boolean,
/v1/judged-decisionroutes every action intoCOMMIT(autonomous execution),FALLBACK(safe pre-approved substitute such asrequest_more_info),ABSTAIN(human-in-the-loop review queue), orBLOCK(hard refuse). Every response carries a machine-readable JSONaudit_tracerecording 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. - 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:
- 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). - 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. - 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
- Local-only profiles are text-only by design: Local GGUF decision encoders do not process raw screenshots, audio clips, or video frames yet — for multimodal inputs, use
OmegaDecisionEngine(hybrid cloud escalation) or convert media to structured text/DOM/ASR first. - Single-turn vs stateful cumulative business rules:
/v1/judged-decisionexcels at per-decision grounding, injection defense, and stateless policy rules, while cumulative multi-turn session invariants (like two separate 30-EUR refunds beating a 50-EUR cap) should be enforced by stateful deterministic tool-policy middleware and tested continuously withsixi-scanner.
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