Skip to content
JevDirectory.org
CommunityRepos & SDKs11 starsVerified 2026-09-22

TypeSafe for Rust

A Rust client for the System One API with typed Noul, Choice, and Score results, async and blocking transports, batched questions over one state, and inspectable retry and error details.

Category
Repos & SDKs
Published by
Community
Author
Twister915
Added
2026-09-22
Tagscommunityrustsdk

Highlights

  • Typed Noul, Choice, and Score responses deserialize into Rust enums with probabilities, distributions, confidence, and usage data.
  • Async reqwest client by default; disable default features to use the blocking ureq client without pulling in Tokio.
  • evaluate returns a simple result, while a lazy iterator or stream exposes each failure and planned retry as a progress event.
  • Errors keep status, headers, request IDs, original response bytes, and concrete backend errors without exposing credentials.
  • Batches independent questions over shared text or structured JSON in a single request.

Quickstart

rust
use typesafe_ai::{Question, Request, ReqwestClient};

let request = Request::new(message).with_question(
    "requests_refund",
    Question::noul("Is the customer asking for a refund?"),
);

let response = client.evaluate(&request).await?;
let refund = response.answer("requests_refund").and_then(|answer| answer.noul());

Watch out

Apache-2.0. A community crate, not an official TypeSafe SDK; needs a TYPESAFE_API_KEY and a Rust toolchain.

More like this

4GitHub stars
An independent Rust client for the System One API targeting parity with the official Python and JavaScript SDKs at 0.6.0, with async and blocking clients, model discovery, and configurable retries.
Repos & SDKs#community#rust#sdk
1GitHub stars
A community Rust client for Jev's System One API whose environment variables, defaults, retries, identification headers, and error kinds match the official Python and TypeScript SDKs.
Repos & SDKs#community#rust#sdk
Communitytypesafe-rs
1GitHub stars
A Rust derive layer for typed System One decisions: enums and structs become Choice, Score, and Noul questions with compile-time-checked, confidence-gated answers, plus a scriptable fake client for network-free tests.
Repos & SDKs#community#rust#sdk
Communitys1-rs
Back to all resources

From the community

Posts from builders shipping with Jev right now.

Follow @typesafeai

The case against Jev-scored compaction

This is a terrible compaction strategy that fundamentally doesn't understand how compaction and context management work. Seems like a lot of people are confused so let's break this down. 1. Compaction isn't a filter The role of compaction is to clean up history to keep the Show more

tamara
tamara
@tamarajtran

found the perfect use case for @typesafeai Jev: instant compaction in 2026, why is compaction still a summarization prompt? Jev can make it instant by scoring every tool call and dropping what’s irrelevant

Reply

Classifying rows in DuckDB

A playable 16-judgment demo

AI multiple choice, not essay writing

Screening agent actions with Jev

Tested TypeSafe’s Jev (no-text, probability-only model) as an AI agent safety monitor. Checking each action first worked well caught most attacks with almost no false blocks, and much faster than Gemini.

Image
Image
Image
Diogo Almeida
Diogo Almeida
TypeSafe AI
@CompleteSkeptic

After co-inventing ChatGPT, I kept asking myself: why have superhuman chat models not led to AGI? I’ve spent the last 2 years in stealth building a new way to train models (RLCD), and a new type of frontier AI model that we are releasing today: Jev • 20-200x faster • 40-400x

Reply

Cua's small System One models