categoryWhat kind of ticket is `ticket`?
Option probabilities
bug_report89%billing8%other2%feature_request1%A WORKING LAB FOR DEVELOPERS & AGENT BUILDERS
TypeSafe’s Jev turns messy input into typed judgments.
Your code keeps the thresholds, routing, and final say.
No signup. No visitor API key. Start with a saved example.
01 / THE WORKING STUDIO
Change the input. Inspect the judgment.
Move the boundary your code controls.
Threshold lessonRoutes support tickets by category and urgency.
Start here: raise the confidence floor in step 3 to 0.90. The same saved judgment switches to a human — no API call.
Try “Calm billing” to compare it with this angry outage. Then run Jev.
Live runs send this input and context to TypeSafe. Use sample data, not secrets.
Typed values, not generated prose. Your code uses these.
My production API has been down for 2 hours and I'm losing money! This is completely unacceptable. I need someone to fix this NOW or I want a full refund.Saved illustrative answers. No API request or live timing.
categoryWhat kind of ticket is `ticket`?
bug_report89%billing8%other2%feature_request1%urgencyDoes `ticket` convey urgency or time-sensitivity?
frustrationHow frustrated is the author of `ticket`?
Between rubric levels 1 and 2
refund_requestedDoes `ticket` ask for money back?
Saved judgments, real policy. Edit the input to request fresh answers.
Same judgments. Your threshold. Your outcome.
category.confidence0.84 ≥ 0.70Answer confidence vs. your floor. Other rules still apply.
Try 0.90. The same 0.84 confidence now sends this ticket to a human. No new API call.
if (answers.category.confidence < 0.70) {
return { route: "human" };
}
if (answers.category.choice === "other") {
return { route: "human" };
}
if (answers.category.choice === "bug_report" && answers.urgency.noul > 0.8) {
return { route: "engineering-priority" };
}
if (answers.category.choice === "billing" && answers.refund_requested.noul > 0.7) {
return { route: "billing-refund" };
}
return { route: `queue:${answers.category.choice}` };Jev returned bug_report with 84% confidence and 0.94 urgency. Your policy selects engineering-priority.
Illustrative policy, evaluated locally. No tickets routed, commands executed, content published, or payments made.
02 / FROM THE DEMO TO YOUR CODEBASE
The slider is the easy part. Choosing the right questions, setting a defensible floor, and knowing when to ask a human — that’s the work.
The ebook picks up exactly where this Studio stops.
Try a prepared decision.
Learn why the policy works.
Test a gate on your own data.

A practical field guide. Not another prompt collection.
THE COMPANION EBOOK · BY SKP / TENX LABS
Build the judgment layer.
Keep control of everything after it.
For developers, indie hackers, and agent builders who want to classify, route, score, and gate — without turning every branch into a chat completion.
CHOOSE YOUR EDITION
FIELD GUIDE + PRO KIT · RECOMMENDED
$49USD
The book + the kit for $20 more.
The book teaches the method. The kit puts it in your codebase — and in your coding agent.
38 files · 4 working gates · 67 offline tests · TypeScript + Python
SKILL.md that walks your coding agent through the book’s 7-step gate design (cost of error, state, primitive, criteria, policy, validation, tests) and has it extend the kit’s patterns instead of inventing its ownnpm run verify runs both suites, including 29 named boundary cases--live calls Jev; --record saves real responses as new test fixtures30-day money-back guarantee · Instant download · Free v1.x updates
THE FIELD GUIDE · JUST THE BOOK
$29USD
30-day money-back guarantee · Instant download · Free v1.x updates
| Feature | Field Guide | + Pro Kit |
|---|---|---|
| Learn the method (book, exercises, diagrams) | ✓ | ✓ |
| Copy-paste listings | From the PDF | ✓ Markdown file |
| Working, tested gate code (TS + Python) | — | ✓ |
| Agent skill for designing new gates | — | ✓ |
| Runs offline without an API key | Book examples | ✓ Full test suite |
| Commercial use of the code | Book snippets | ✓ Whole kit |
| Files in your download | 14 | 53 |
Published by TenX Labs. Written by SKP — founder, AI engineer, and product manager, previously at Microsoft. An independent guide to TypeSafe Jev.
03 / LOOK INSIDE, BEFORE YOU BUY
“A judgment describes the input; it is evidence, not authority. Confidence helps your code decide whether that evidence is usable or needs review. Permissions, hard rules, and the cost of being wrong still decide what happens.”
“Confidence informs policy. It does not grant permission.”
“Low confidence is not failure; it is a first-class outcome: review, escalate, or ask a different question.”
From your first typed question to a policy you can test and refine.
The mental model, primitives, first request, and policy boundaries
Worked patterns and offer selection
Composition, testing, and the live lab
KEEP THE MENTAL MODEL
Three primitives. Four patterns. A before-production checklist.
The same two-page reference that ships with the ebook — free, no email required.
A FEW STRAIGHT ANSWERS
Default examples use saved, illustrative answers and make no API call. Edit the text or select a non-default variant, then Run, to request live judgments through the Studio’s server. Live results are labeled. If a request fails, we show the error — never substitute saved answers for your edits. Moving the threshold only reruns local policy.
Not to use the Studio. Live runs use the host’s server-side TypeSafe key when configured. To integrate Jev into your own application, you’ll need your own TypeSafe access. The ebook does not include API credits or guarantee access to TypeSafe’s early-access service.
The $29 Field Guide teaches every pattern through the book’s listings, exercises, and worked case studies. The $49 Field Guide + Pro Kit adds the runnable developer kit — 38 files: four working gates with Python and TypeScript versions, 67 offline tests, an agent skill for designing new gates, an eval harness, setup guides, and every listing as copy-paste Markdown — and you can ship the kit’s code in your own commercial projects. The kit is only in the $49 edition.
A SKILL.md file your coding agent follows to design a new gate with the book’s method: decide the cost of being wrong, design the state, pick the primitive, write criteria, put the policy in code, validate responses, and test on fixtures. It tells the agent to extend the kit’s own questions, policies, and tests rather than invent new ones. If your agent doesn’t load skill files, paste it into its instructions.
No. These are teaching examples with illustrative thresholds. Jev’s judgments are probabilistic. Validate against your own labeled data, keep deterministic checks and side effects in code, and add human review where the stakes demand it. The Studio never executes the actions it displays.
TenX Labs publishes Hands-On Jev Studio and Hands-On Jev. SKP is the author. This is an independent educational product about TypeSafe’s Jev, not an official TypeSafe product. Technical references are linked in the ebook.
KEEP THE IF. IMPROVE THE JUDGMENT.