Skip to content

TypeSafe Client — JedimEmO

An unofficial async Rust client for the TypeSafe System One API in which each question hands back a key typed by its answer, so reading a choice answer as a probability fails to compile.

Stars
1
Language
Rust
License
APACHE-2.0
Published by
Community
Author
JedimEmO
Last verified
Oct 2026

This is one of several Jev listings for the same project. The canonical entry is TypeSafe Client — haileyok.

About this project

A typed, async Rust client for the TypeSafe System One API. TypeSafe's System One models, such as Jev, don't generate text. They answer narrow questions about content you give them, and return typed answers with calibrated probabilities: the probability that something is true, the most likely option out of a set, or a position on a scale. This crate lets you ask those questions from Rust and read each answer back as the type its question promises.

Quoted from the project's README. Read the full README.

Highlights

  • Typed both ways: questions.add returns a key typed by its answer, and responses are verified against the questions before you see them.
  • Requests are validated against the documented limits before sending, and 408, 429, 5xx, connection errors and timeouts retry with backoff.
  • Options come from an enum via choice_options!, from runtime values via ValueChoice, or as 2 to 10 ordered score levels.
  • Without default features the crate is types, builders and validation with no HTTP stack; a fake feature adds an in-memory SystemOne for tests.

Watch out

Unofficial and independent, published on crates.io at 0.1 with an MSRV of 1.87 under MIT OR Apache-2.0, so expect surface churn while it matures. Semantics that will bite you are documented but easy to skim past: the question id is never sent to the model, so each question's instructions must stand alone; a Noul answer near 0.5 means the model is unsure rather than that something is partly true; a Score is a probability-weighted position that can land between levels, so nearest_level() and normalized() are deliberate choices; and choice probabilities always sum to 1, which is why the guide asks a separate yes/no question about whether any option fits. Defaults read TYPESAFE_API_KEY, and optionally TYPESAFE_BASE_URL and TYPESAFE_DEFAULT_MODEL. This review covers the README through the structured-state section, so deeper guide material is unverified. Copy reviewed against the repository README on 2026-10-04, not from running it.

Questions about this entry

Short answers drawn from the linked project or page.

More Jev resources like this

3GitHub stars
Unofficial Rust client for the TypeSafe AI System One API, matching the Python SDK 0.6.0 contract: named noul, choice and score questions, a typestated builder, per-call overrides, and a `wire` module for serving the same shape.
Jev Repos & SDKs#community#jevbest#catalog-import
1GitHub stars
A Rust client for typed decision models across TypeSafe Jev, Cloudflare Clef, Liquid, Vercel AI Gateway and OpenRouter, with noul, choice and score builders, typed label enums, and a scripted fake for tests.
Jev Repos & SDKs#community#jevbest#catalog-import
0GitHub stars
Typed Rust client for TypeSafe's System One API that sends shared state with independent Choice, Score and Noul questions, validates the provider's response against the originating request, and returns latency, attempts and usage with the answers.
Jev Repos & SDKs#community#jevbest#catalog-import
45GitHub stars
Go SDK plus a pipeline-friendly CLI for typed decisions, covering single questions, batched question maps, retries, and line-oriented filtering over stdin.
Jev Repos & SDKs#community#jevbest#catalog-import
16GitHub stars
Swift library and CLI for asking Jev typed Choice, Noul, and Score questions from Apple platforms, with answers returned alongside calibrated probabilities in one parallel request.
Jev Repos & SDKs#community#jevbest#catalog-import
9GitHub stars
Go SDK for the TypeSafe API that asks typed Noul, Choice, and Score questions about a state and returns probability distributions with confidence and typed accessors.
Jev Repos & SDKs#community#jevbest#catalog-import

From the Jev guides

Original write-ups on what this entry is for.

Closed weights have not stopped the ecosystem from rebuilding the shape in the open. API-compatible servers, retrained heads on small models, and inference-time tricks that skip generation entirely.
Jev Repos & SDKs#open-models#research#local
Read article
Back to all resources

From the Jev community

Posts from builders shipping with Jev right now.

Follow @typesafeai