Coders In Hoods
  • Courses
  • Roles
  • Blog
  • Setup

Coders In Hoods AI Academy

Every course is free. Sign in to start, and your progress, quiz scores and bookmarks follow you.

AI Academy

  • Courses
  • Paths
  • Setup guides
  • How we teach

Role roadmaps

  • AI Engineer
  • Forward Deployed Engineer
  • Machine Learning Engineer
  • All roles

Coders In Hoods

  • The agency
  • Coaching for teams
  • Blog
  • LinkedIn
  • X (Twitter)

Contact

codersinhoods@gmail.com

© Coders In Hoods · since 2019

Course overview

System One Models with Jev

Free · sign in to start and track progress

1 · Decisions, not text

  • 1What a System One model is
  • 2Calibrated probabilities

2 · The Jev API

  • 3Your first Jev request
  • 4Choice, Score and Noul
  • 5State and decomposition

3 · Building systems

  • 6Routing on confidence
  • 7Jev alongside LLMs

    Exercise answers

    • Answer: Build a draft-then-gate reply pipeline
    • Answer: Sweep a cascade's gate and find the frontier
  • 8Evaluating Jev on your data
CapstoneTriage a busy inbox with JevReference implementation

Module 3 · Building systems · Lesson 7

Jev alongside LLMs

Hybrid architectures where an LLM generates and Jev decides, as a guardrail on inputs and outputs, a filter on retrieved passages, a citation checker, a selector over extracted candidates and the gate in a cheap-first cascade, with the cost and latency arithmetic that shows when each pays.

65 min 2 videos 3 exercises 7-question quiz Answers
Setup for the exercises:Python with uvJev, or its local stand-inInstall Claude Code

By the end of this lesson you can

  • Place Jev before, around and after an LLM call, and say which decisions belong to each
  • Design a guardrail and a RAG passage filter as batteries of atomic questions with thresholds kept in code
  • Implement extract-then-select and draft-then-gate workflows that keep generation in the LLM and decisions in Jev
  • Compute the cost, error and latency of a cheap-first cascade with a Jev verifier, and explain how the verifier's recall caps it
  • Explain what the System One adapter and the TypeSafe agent skill are for, and what Jev is not

On this page

  • Intuition: the drafter and the checker
  • Before the LLM: decide whether to call it
  • Around the LLM: guardrails on inputs and outputs
  • Between retrieval and generation: filtering passages
  • After the LLM: citation checks and extraction gates
  • Citations
  • Extract-then-select
  • Draft-then-gate
  • Cheap-first cascades with a Jev verifier
  • The arithmetic
  • Worked example: lease extraction
  • Comparing like with like: the System One adapter
  • Coding agents: using Jev, not becoming Jev
  • Misconceptions and limits
  • Connections
  • Summary
  • Sources & further reading
  • Quiz

In this lesson

  1. 01Intuition: the drafter and the checker
  2. 02Before the LLM: decide whether to call it
  3. 03Around the LLM: guardrails on inputs and outputs
  4. 04Between retrieval and generation: filtering passages
  5. 05After the LLM: citation checks and extraction gates
  6. 06Cheap-first cascades with a Jev verifier
  7. 07Comparing like with like: the System One adapter
  8. 08Coding agents: using Jev, not becoming Jev
  9. 09Misconceptions and limits
  10. 10Connections
  11. 11Summary

Sources & further reading

  • FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving PerformancePaper · Chen, Zaharia, Zou · 2023TMLR. The paper that made the LLM cascade standard (try cheap models first, score the answer, stop when good enough). Read section 3 on the cascade and its learned scorer; Jev plays the scorer's role here.
  • Formalizing and Benchmarking Prompt Injection Attacks and DefensesPaper · Liu, Jia, Geng, Jia, Gong · 2023USENIX Security 2024. A framework for prompt injection attacks and a benchmark of defences, including detection-based ones. Read it for why a detector is one layer and never a security boundary.
  • Guardrails for LLMsDocs · TypeSafe AIA battery of hazard Nouls plus a severity Score on both sides of an LLM call, with action and review thresholds grouped into named policies. Numbers are from jev-1.12.
  • Classifying RAG passagesDocs · TypeSafe AIFour Nouls per query–passage pair (relevance, evidence, contradiction, injection) and an ordered routing function; shows cosine similarity ranking a planted injection first.
  • SDE cascadeDocs · TypeSafe AISmall model extracts, per-field Jev Nouls verify with a max gate, a reasoning model handles what fires. Appendix A on what makes a good verifier signal is worth reading in full.
  • Double-checking citationsDocs · TypeSafe AIString matching catches fabricated quotes; a Choice over verified, unsupported and contradicted reads each surviving quote's context, with low-confidence verdicts sent to a person.
  • System One adapter for PythonDocs · TypeSafe AIRuns the same System One questions on OpenAI, Anthropic or Gemini models, for side-by-side comparisons of cost, speed and accuracy.
Free · sign in to start

Sign in to keep reading.

Free, no card. We use your account to save progress, quiz scores, bookmarks and occasionally send updates from our team.

  • 11 more sections
  • 3 hands-on exercises
  • A 7-question quiz
  • Progress, quiz scores and bookmarks