Skip to content

Jev directory

TypeSafeAI for .NET

.NET SDK for the System One API with typed question sets, HttpClientFactory and dependency-injection wiring, plus Microsoft.Extensions.AI guardrail, routing, tool, and evaluator adapters.
Stars
6
Language
C#
License
APACHE-2.0
Reading time
3 min
Published by
Community
Author
Hawxy
Last verified
Sep 2026

About this project

A .NET SDK for the TypeSafe AI System One API. Ask small, typed judgments about text or structured state and get calibrated probabilities back that your code can act on: Noul: is this true? Returns the probability of yes. Choice: which of these labels? Returns the most likely label plus a probability per label and a confidence. Score: where on this scale? Returns the expected level plus a probability per level and a confidence.

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

Highlights

  • A QuestionSet returns typed handles: Noul answers give a probability, Choice an enum label, Score a level with its legend.
  • Retries and per-attempt timeouts run on a Polly resilience pipeline with an injectable TimeProvider for tests.
  • Two packages: the core TypeSafeAI client and TypeSafeAI.Extensions.AI for guardrail, routing, tool, and evaluator middleware.
  • Targets net8.0 and net10.0, and the package is trim and NativeAOT safe.

Quickstart

csharp
using TypeSafeAI;

using var client = new TypeSafeClient("YOUR_API_KEY");
var q = new QuestionSet();
var urgent = q.Noul("Does this convey urgency?");
var category = q.Choice<TicketCategory>("What is this ticket about?");

var result = await client.SystemOneAsync("Payouts have been failing for 3 days.", q);
double p = result.Get(urgent).Probability;

Watch out

Apache-2.0. A community SDK, not affiliated with TypeSafe; needs an API key, and live tests skip without TYPESAFE_API_KEY.

Questions about this entry

Short answers drawn from the linked project or page.

Reactions & coverage

Posts, threads, and videos about this entry from around the web.

Facebook: Intake Router keeps diagnosis out of the answer space at the front desk.

FacebookClinicnotes

X: OpenRouter Decision Model Rankings

X: herdr + jev, an agent router

X: A group chat bot with decision room routing

From the Jev guides

Original write-ups on what this entry is for.

From the Jev AI model community

Posts from builders shipping with Jev right now.

Follow @typesafeai