{
  "id": 1048,
  "kind": "post",
  "title": "How to Build Agentic Harness using Jev (Builder's Guide) — Avid / @Av1dlive",
  "summary": "2026-09-23 X Article by Avid (@Av1dlive): builder's walkthrough of putting TypeSafe Jev (and local Laya) as a narrow, host-checked decision layer inside a coding harness. Concrete build is keel 0.2.0 (github.com/codejunkie99/keel; Rust/GPUI macOS app): host prepares eligible provider/model or tool-focus options → selector returns typed id or abstains → host re-validates before apply and writes decision receipts. Covers route selection for fresh unpinned tasks, DeepSeek-loop focus bundles (inspect/implement/verify/answer), ACP boundary (provider-owned loops), and an evaluation framing for 'self-improvement' without auto-training. NOT about agentic-stack (author's separate ~2.3k★ portable .agent/ memory layer).",
  "body": "",
  "notes": "Cataloged 2026-09-25 from Hudson X dump. Dedup clear for 2102802621664985241 / 2102781294761701376 / Av1dlive harness title. Full X Article body obtained via curator-bot get_posts_by_ids (article.plain_text) + api.fxtwitter.com content blocks → /workspace/curator/research/av1dlive-jev-agentic-harness-20260923/article-full.md. jina.ai/x.com HTML 403. Companion code: codejunkie99/keel MIT ~135★ main (gh api); agentic-stack Apache-2.0 ~2275★ is bio product only — README has no TypeSafe Jev. Earlier Av1dlive 34-page Jev Engineering Guide post 2101365747574587854 (2026-09-19) is distinct and not yet cataloged. Cross-link catalog 1363 System One/Jev. Related official tutorials (not this body): https://learnjev.com/tutorials/agent-harness ; https://www.langchain.com/blog/building-a-harness-with-jev (LangChain ~Sep 17 2026). X Article https://x.com/i/article/2102781294761701376. Metrics snapshot ~697k impressions / 721 likes / 2218 bookmarks. Discord empty (user dump).",
  "url": "https://x.com/Av1dlive/status/2102802621664985241",
  "links": [],
  "authors": [
    "Avid (@Av1dlive)",
    "codejunkie99"
  ],
  "tags": [
    "av1dlive",
    "avid",
    "jev",
    "typesafe",
    "keel",
    "agentic-harness",
    "laya",
    "coding-agent",
    "decision-layer",
    "macos",
    "rust",
    "gpui",
    "builder-guide",
    "codejunkie99"
  ],
  "topics": "agentic harness; TypeSafe Jev; coding agents; decision layer; keel; local Laya",
  "venue": "X Articles / Av1dlive",
  "publisher": "X Articles / Av1dlive",
  "source": "x",
  "language": "en",
  "access": "https://x.com/Av1dlive/status/2102802621664985241 ; https://x.com/i/article/2102781294761701376 ; https://github.com/codejunkie99/keel",
  "license": "Article © author; keel MIT; Jev API proprietary (TypeSafe)",
  "published_year": 2026,
  "added_at": "2026-09-25T13:37:56.000Z",
  "verified_at": "2026-09-25T13:37:56.000Z",
  "attrs": {
    "scale": "~3500+ word X Article; keel 0.2.0 ~135★ MIT; ~697k impressions / 721 likes / 2218 bookmarks (fetch snapshot)",
    "domain": "agentic harness; TypeSafe Jev; coding agents; decision layer; keel; local Laya",
    "purpose": "Builder's guide: put Jev/Laya as a host-checked decision layer inside a coding harness (keel 0.2.0)",
    "used_for": "Jev-in-harness integration reference; compare vs Learn Jev / LangChain harness tutorials; distinguish keel vs agentic-stack",
    "author_type": "individual",
    "time_period": "X post/article 2026-09-23T16:49:47Z; keel 0.2.0 build; earlier Av1dlive Jev guide 2026-09-19"
  },
  "enrichment": {},
  "enriched_at": "2026-10-03T14:33:49.371Z",
  "license_class": "other",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "legacy_paper_id": "1467",
    "needs_deep_eval": "no",
    "pipeline_status": "done",
    "research_status": "done"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-03T12:29:06.561Z",
  "updated_at": "2026-10-03T14:30:16.149Z",
  "page": "https://papers.projxon.ai/entries/1048",
  "markdown": "https://papers.projxon.ai/entries/1048.md",
  "api": "https://papers.projxon.ai/api/entries/1048",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 1018,
      "kind": "model",
      "title": "Contrastive Language Models (CLM): A System One Model for Fast and Generalizable Decision-Making",
      "summary": "CLM (Contrastive Language Model) is a System One decision model: separate state and action encoders trained with bidirectional InfoNCE so each state is pulled toward the ground-truth action and pushed from others; at deploy time candidates are scored by cosine similarity of L2-normalized embeddings and softmaxed into typed answers (Noul/Choice/Score) or ranked for best-of-N. Released CLM-8B uses a frozen Qwen3-8B backbone (hidden 4096, last-token pooling, L2 norm) plus a trainable MLP projection head 4096→1536→1536→512 (GELU+LayerNorm; ~20M params, output dim 512); only the head is trained; LLM embeddings can be precomputed. Full Nemotron DQA pretrain ~1 hour on one RTX 4090. Dual-encoder disaggregation caches state and action embeddings independently (authors contrast with Jev state-only caching). Action-caching example (Super Mario): 4 action embeddings precomputed; per-step cost drops from 5 forwards to 1 (~4×). Zero-shot blog table (CLM vs Jev latency / success): T-Rex 16.5 vs 149.8 ms (5/5 both); BFCL V4 tool calling 76.8 vs 125.5 ms (95.2% vs 99.2%); WikiRacing 79.8 vs 225 ms (26/30 vs 30/30); Super Mario 33.5 vs 132.6 ms (5/5 both) — up to ~9× faster, roughly on-par accuracy. Latency microbench (200-token state, RTX 4090, 15 tok/candidate): at 1024 candidates CLM ~44 ms vs Jev ~579 ms (~13×) vs constrained decoding Qwen3-8B ~4.3 s (~97×); candidate-length sweep (5 cands) CLM stays ~36 ms through 2048 tok while CD goes to 3.4 s and Jev to 333 ms (~9× / ~95×). Agentic verifier (38 DeepSWE / 30 Terminal-Bench 2.1 held-out; Opus 5 / Fable 5 candidates; H100): DeepSWE CLM 81.6% vs Jev 71.1% vs Pass@1 73.7% (79 vs 449 ms, 5.7×); Terminal-Bench 2.1 CLM 87.6% vs Jev 83.1% vs Pass@1 84.0% (32 vs 131 ms, 4.1×) — Jev below Pass@1 on both. Data recipe: pretrain ~60M Nemotron DQA → midtrain ~30M Gemini 2.5 Flash-Lite hard negatives → posttrain ~1M ADP + Endless-Terminals + LiteCoder-Terminal-SFT (40% Nemotron replay / 60% agentic). Hard-neg study (~100K held-out, 1 gold+10 HN): pretrain 52.1% → two-stage 69.2% vs HN-from-scratch peak 62.4%. Replay keeps HN top-1 ~68.5% vs 56.2% agentic-only. Scaling fits (test InfoNCE): L≈(C/7.34e13)^-0.144; (D/2.12e9)^-0.117; (N/3.60e5)^-0.061; (N_enc/4.18e9)^-0.172; optimal head N*∝D^1.02 (~310 tokens/param). Posted 2026-09-23 Notion blog; Jacky Kwok† project lead; Stanford + NVIDIA Research. Roadmap: multimodal CLM-35B early next month; vision; more data/scaling. Contact jackykwok@stanford.edu.",
      "url": "https://x.com/jackyk02/status/2102905335925424285",
      "authors": [
        "Jacky Kwok",
        "Hangoo Kang",
        "Tarun Suresh",
        "Jon Saad-Falcon",
        "Marco Pavone",
        "Christopher Ré",
        "Azalia Mirhoseini (Hazy Research / Stanford AI Lab / Scaling Intelligence Lab)"
      ],
      "tags": [
        "clm",
        "contrastive-language-model",
        "system-one",
        "jev",
        "typesafe",
        "infonce",
        "dual-encoder",
        "qwen3-8b",
        "deepswe",
        "terminal-bench",
        "nemotron",
        "hard-negatives",
        "agent-data-protocol",
        "scaling-laws",
        "jacky-kwok",
        "hazy-research",
        "verifier",
        "best-of-n"
      ],
      "venue": "Contrastive-LM / Stanford University / NVIDIA Research / Notion blog",
      "source": "x",
      "license": "Code/serving Apache-oriented release on GitHub; reference head Contrastive-LM/CLM-v0.1-8B Apache-2.0; DeepSWE head/embeddings MIT; check each Hub card",
      "published_year": 2026,
      "added_at": "2026-09-24T01:37:52.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1018",
      "markdown": "https://papers.projxon.ai/entries/1018.md",
      "api": "https://papers.projxon.ai/api/entries/1018"
    },
    {
      "id": 1081,
      "kind": "model",
      "title": "Julia-1 (Supersonic Labs decision model)",
      "summary": "First Julia-family release and first public test of Supersonic Labs training system. Built on jhu-clsp/mmBERT-small multilingual ModernBERT encoder + decision head. Interface: state, question, and 2–20 options → selected option (choice / ordered score / Boolean noul). Eval 2026-09-24 H200 BF16: typed-decisions 73.15% (vs Jev ref 72.70%); AG News 94%; DAIR Emotion 86%; Banking77 pilot 64% (vs Jev 87%); MASSIVE 52-locale scenario 71.50%. Hierarchical Router for larger choice sets. ONNX/WebGPU sibling SupersonicLabs/Julia-1-ONNX. Apache-2.0. Strong TypeSafe/Jev relevance (benchmark protocol cites AbdelStark/jev-benchmarks).",
      "url": "https://huggingface.co/SupersonicLabs/Julia-1",
      "authors": [
        "Supersonic Labs"
      ],
      "tags": [
        "julia-1",
        "supersonic-labs",
        "decision-model",
        "jev",
        "typesafe",
        "mmbert",
        "routing",
        "typed-decisions"
      ],
      "venue": "Hugging Face / SupersonicLabs",
      "source": "huggingface",
      "license": "Apache-2.0",
      "published_year": 2026,
      "added_at": "2026-09-29T20:34:19.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": 3251,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1081",
      "markdown": "https://papers.projxon.ai/entries/1081.md",
      "api": "https://papers.projxon.ai/api/entries/1081"
    },
    {
      "id": 1007,
      "kind": "post",
      "title": "Jev’s Architecture Unmasked (Archer Hume black-box reconstruction)",
      "summary": "Essay (2026-09-17, ~28 min) proposing: causal transformer backbone (likely sparse MoE) + shared-state KV prefix + isolated question suffixes (no cross-question attention) + listwise option interaction within a question + direct probability readout (not AR text) + RLCD-style outcome training of distributions; confidence API field is arithmetic from p_max vs uniform, not a second learned score. Key experiments: (1) secrets in sibling questions invisible but secrets in state readable; (2) latency grows with state/questions but 1500 Qs still hundreds of ms—consistent with encode-once + batch branches; (3) output_tokens is billing/serialization, not decode steps—latency independent of option count; (4) reference-card last among options can flip earlier options’ ranking → joint listwise decision, not fixed independent logits; (5) appending irrelevant option shifts log-odds between existing options (IIA violation) → options interact; (6) MMLU sample ECE ~0.031; (7) tokenizer matches none of 192 public ones (closest Qwen on probes). Softens our earlier “must be non-causal encoder” constraint analysis: author prefers causal decoder for frontier pretrain + prefix cache; admits bidirectional can’t be ruled out. Sparse MoE least certain. Explicitly not claiming TypeSafe internals leak. Methods: jev-1.13.0 early-access, instrumented probes + downloadable evidence bundle. Cites Hydragen/DeFT, FIRST, Gneiting–Raftery, Guo 2017, Shazeer MoE.",
      "url": "https://archerhume.com/posts/jevs-architecture-unmasked/?v=3",
      "authors": [
        "Archer Hume"
      ],
      "tags": [
        "typesafe",
        "jev",
        "reverse-engineering",
        "black-box",
        "decision-model",
        "rlcd",
        "archerhume",
        "project-discover"
      ],
      "venue": "archerhume.com",
      "source": "web",
      "license": "essay © author; evidence bundle on site",
      "published_year": null,
      "added_at": "2026-09-17T15:00:52.000Z",
      "has_dataset_profile": false,
      "license_class": "other",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1007",
      "markdown": "https://papers.projxon.ai/entries/1007.md",
      "api": "https://papers.projxon.ai/api/entries/1007"
    },
    {
      "id": 971,
      "kind": "idea",
      "title": "System One Models and Jev (TypeSafe AI)",
      "summary": "TypeSafe launched System One / Jev: POST /v1/systemone takes unstructured state plus parallel Choice/Score/Noul questions and returns closed-schema probability distributions. Claims new architecture + parallel sampler + RLCD (Reinforcement Learning for Calibrated Decisions, not Meta RLCD). Understands language but does not generate free-form text. Output billed free; input $0.042/MTok. FAQ: neither small nor an LLM. Public investigation (2026-09-15) concludes encode-once + parallel closed-set heads is the only architecture that fits free output + no text generation. No paper/weights; LLaDA/vLLM GitHub forks are unmodified mirrors.",
      "url": "https://typesafe.ai/blog/introducing-system-one-models-and-jev",
      "authors": [
        "Diogo Almeida",
        "Erik Gafni",
        "Sasha Sheng",
        "TypeSafe AI"
      ],
      "tags": [
        "typesafe",
        "jev",
        "system-one",
        "rlcd",
        "decision-model",
        "calibration",
        "parallel-sampler",
        "diogo-almeida"
      ],
      "venue": "TypeSafe AI",
      "source": "blog",
      "license": "proprietary API (waitlist)",
      "published_year": null,
      "added_at": "2026-09-15T21:18:48.000Z",
      "has_dataset_profile": false,
      "license_class": "restricted",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/971",
      "markdown": "https://papers.projxon.ai/entries/971.md",
      "api": "https://papers.projxon.ai/api/entries/971"
    },
    {
      "id": 1058,
      "kind": "paper",
      "title": "Jev vs. LLMs as Rubric Judges: Cheaper, Faster, and Wrong in the Same Places",
      "summary": "UPenn external eval of TypeSafe Jev (typed classifier / System One) vs three flash-tier LLM judges (GPT-5.6 Luna, Gemini 3.8 Flash, DeepSeek V4.1 Flash) on nine panels from seven benchmarks (5,003 pairs; identical criterion texts via AutoRubric). Jev accuracy separates from an LLM judge in only 8/27 paired comparisons (ahead mostly on binary; behind only on graded, chiefly Gemini); LLM judges cost 29–325× and take 30–220× as long. On graded criteria all four judges agree more with one another than with labels and mostly assign lower levels (observational: missing rater conventions). Jev confidence ranks its own errors on most panels, but LLM judges repeat 96.0% of Jev’s most confident errors (~2× independence baseline), so replayed Jev→LLM cascades cut cost yet gain ≤1.5 points cross-fitted (≤2.0 oracle) over the best single judge. Median LLM jury never beats the best matched judge. Verdicts released (Appendix M).",
      "url": "https://arxiv.org/abs/2609.29769",
      "authors": [
        "Delip Rao",
        "Chris Callison-Burch"
      ],
      "tags": [
        "jev",
        "typesafe",
        "system-one",
        "cascading",
        "confidence",
        "correlated-errors",
        "flash-llms",
        "llm-as-judge",
        "rubric",
        "autorubric",
        "delip-rao",
        "upenn",
        "arxiv-2609.29769"
      ],
      "venue": "arXiv / University of Pennsylvania",
      "source": "arxiv",
      "license": "arXiv preprint (check abs); verdicts Appendix M",
      "published_year": 2026,
      "added_at": "2026-09-25T22:04:29.000Z",
      "has_dataset_profile": false,
      "license_class": "other",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 4,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1058",
      "markdown": "https://papers.projxon.ai/entries/1058.md",
      "api": "https://papers.projxon.ai/api/entries/1058"
    },
    {
      "id": 1079,
      "kind": "paper",
      "title": "Just Ask Jev: Reinforcement Learning for Calibrated Decisions as a Zero-Shot Detector of AI Alignment Failures",
      "summary": "arXiv 2609.29429 (published 2026-09-24). Introduces RLCDAlignBench: evaluates TypeSafe Jev (jev-1.13.0) as a zero-shot alignment-failure detector across 10 failure types (sycophancy, jailbreaks, deception, prompt injection, hallucination, privacy, social bias, reward hacking, concealing uncertainty, power seeking), 44 benchmarks, 7,193 instances from five open 2–7B targets. Separates what Jev is asked (generic vs targeted questions; Noul/Choice/Score) from what it sees (canonical state vs field ablations). Generic Noul reaches median AUROC 0.886 (31 benchmarks) and beats supervised TF-IDF/length on 25; split-half targeted +0.006; matches StrongREJECT human agreement of the reference scorer (κ 0.809 vs 0.811) at 63× lower cost than LLM judges ($0.30 vs $18.96 on 19 API-judge benches). Confident disagreements surface label defects. Code/data: github.com/sumleo/RLCDAlignBench.",
      "url": "https://arxiv.org/abs/2609.29429",
      "authors": [
        "Ruoqi Guo",
        "Yi Liu",
        "Gelei Deng",
        "Yuekang Li",
        "Lida Zhao",
        "Yutao Wu",
        "Simin Chen",
        "Ying Zhang",
        "Leo Yu Zhang"
      ],
      "tags": [
        "jev",
        "typesafe",
        "system-one",
        "rlcd",
        "alignment",
        "rlcdalignbench"
      ],
      "venue": "arXiv / Griffith University; Nanyang Technological University; UNSW; Deakin University; George Mason University; Wake Forest University",
      "source": "arxiv",
      "license": "CC BY 4.0 (paper); code MIT / data CC BY 4.0 per paper reproducibility statement; upstream benchmark licenses retained",
      "published_year": 2026,
      "added_at": "2026-09-28T00:40:50.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 4,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1079",
      "markdown": "https://papers.projxon.ai/entries/1079.md",
      "api": "https://papers.projxon.ai/api/entries/1079"
    }
  ]
}
