jev
Use TypeSafe Jev for typed judgments (Choice, Score, Noul) instead of asking a chat model to classify. Pair with a generative model for prose. Use when classifying, routing, scoring, guardrailing, or the user runs /jev.
- License 许可
- MIT
- 最近更新
- 2026-10-15
- Stars
- ★ 141
- Forks
- 30
01 前言 Front Matter
- name
- jev
- description
- Use TypeSafe Jev for typed judgments (Choice, Score, Noul) instead of asking a chat model to classify. Pair with a generative model for prose. Use when classifying, routing, scoring, guardrailing, or the user runs /jev.
03 SKILL.md 正文
Jev — System One judgments
Jev is TypeSafe's System One model. It does not generate text. Send state + typed questions, get calibrated probabilities back.
POST https://api.typesafe.ai/v1/systemone
Authorization: Bearer $TYPESAFE_API_KEY
Key from the environment or ~/.typesafe/api_key. Never commit it. Never print it.
When to call Jev
- Classify, route, score, guardrail, re-rank, verify a citation or tool trace
- You need a value software can
ifon, with a probability - You would otherwise prompt an LLM to "return JSON"
When not to
- Writing, explaining, coding, chatting
- Counting, arithmetic, date math (do that in code)
- Open-ended extraction (candidate-generate, then Choice)
Three primitives
| Type | Returns | Use |
|---|---|---|
choice |
choice, probabilities, confidence |
One of a closed set (≤255) |
score |
score, legend, probabilities, confidence |
Ordered rubric; can land between levels |
noul |
noul (0–1) |
P(yes). No separate confidence field |
Question IDs are for your code. They are not sent to the model. Put the whole question in instructions.
Rules
- Ask every independent question in one request (speculative fan-out).
- Keep control flow, weights, and side effects in code.
- Gate on confidence for Choice/Score; gate on the probability for Noul.
- Do not reuse a Noul threshold on a Choice.
- Send only the state the questions need. Point at fields with
`ticket.messages[0].text`. - A second HTTP call is only for true dependencies (next options or next state cannot be built yet).
- Pin
jev-1.13.0if thresholds were tuned against that version;jev-latestmoves.
Minimal request
{
"state": "I was charged twice. Please refund the duplicate today.",
"model": "jev-latest",
"questions": {
"department": {
"type": "choice",
"instructions": "Which team should handle this?",
"criteria": {
"billing": "Payments and refunds",
"technical": "Bugs or integrations",
"other": "Neither fits"
}
},
"refund_requested": {
"type": "noul",
"instructions": "Does the message request a refund?"
},
"urgency": {
"type": "score",
"instructions": "How time-sensitive is this?",
"criteria": ["No deadline", "Within a week", "Today or sooner"]
}
}
}
Official skill and cookbooks: https://docs.typesafe.ai/agent-skill
Sibling skills in this repo: skills/jev-fanout, skills/jev-guardrail, skills/jev-route.
04 同仓库更多 Skills
jev-route
Route with TypeSafe Jev — map Choice plus confidence to act/confirm/human, or pick a coding-agent model tier. Use for confidence routing, model routing, cheap vs frontier, loop-jev, or when the user runs /jev-route or `npx jev route`.
jev-guardrail
Screen LLM input and output with TypeSafe Jev Noul hazard batteries plus a harm Score; policy in code returns pass, review, or block. Use for jailbreak, prompt injection, secret leak, denylist pressure, or when the user runs /jev-guardrail or `npx jev guard`.
jev-fanout
Ask every independent TypeSafe Jev question in one POST /v1/systemone (speculative fan-out). Use for parallel questions, smart-home or compound commands, one-call turn assessment, or when the user runs /jev-fanout. Do not fire one HTTP call per question.
jev
暂无简介
jev-route
暂无简介
jev-guardrail
暂无简介