jevbooks

← All projects

typesafe-ai-rust-sdk

weirdstuff-dev/typesafe-ai-rust-sdk

Unofficial Rust SDK for TypeSafe AI, ported from JavaScript.

What it is

An unofficial Rust SDK for the TypeSafe AI API, ported from the official JavaScript SDK. It lets Rust developers call the TypeSafe AI System One model with typed questions and receive answers.

How it uses Jev

Jev is called via client.system_one with a SystemOneRequest containing a state string and an IndexMap of questions. Questions are built with noul, score, or choice. The result's answers map is an IndexMap of Answer enums; use as_noul(), as_score(), or as_choice() to extract the expected variant.

Primitives:choicescorenoul

Technique worth stealing

Rust port uses a tagged enum for answers instead of TypeScript's per-key generics.

Try it

Run examples/basic.rs after setting TYPESAFE_API_KEY.

View on GitHub

judged by Jevjev-1.13.0

Evidence

Each line is one question put to Jev about the README. ≥ 0.60 reads as yes, ≤ 0.40 as no; in between Jev is not making a call.

  • Jev-centricunclear0.60
  • Shows a System One patternno0.37
  • Handles uncertaintyno0.03
  • Measuredno0.04
  • Runnableyes0.93
  • Worth recommendingno0.15
  • Model replicano0.05
  • Problem scopescore on a 0–2 scale1.00
  • About Jevyes0.95

Signals by Jev jev-1.13.0, card written by DeepSeek V4.1 Flash from the README on 20 Sept 2026.