jev-dotnet
Unofficial dependency-free .NET client for Jev with typed Choice, Score and Noul questions and confidence helpers.
Overview
CMaintz.Jev.Client is a small .NET 8 client for TypeSafe's Jev, built on System.Net.Http and System.Text.Json with no runtime dependencies. You send a state object and a dictionary of typed questions (Choice with described options, Score with ordered levels, Noul yes/no) and get typed answers with confidence that code can threshold, for example routing a ticket only when IsConfident(0.7) holds.
The author's stated idea is to run Jev on everything and escalate only low-confidence cases to a person or larger model. It is unofficial, not endorsed by TypeSafe, and not yet on NuGet, so you reference it from source or build a local package. The client reads TYPESAFE_API_KEY from the environment.
What the decision model decides
| Type | Question | Answers |
|---|---|---|
| Choice | Which team should handle this ticket? | billing · technical · sales |
| Score | How frustrated does the customer appear? | Calm, just stating facts · Frustrated but civil · Very angry |
| Yes / no | Does the customer ask for a refund? | — |
How it works
- Create JevClient.FromEnvironment()
- Build typed questions and a state object
- Call SystemOneAsync
- Act when answers pass a confidence check; escalate otherwise
Strengths
- No runtime dependencies
- Typed answer objects with confidence helpers
- Targets modern .NET
Caveats
- Unofficial and not on NuGet yet
- Requires building from source
Getting started
Clone the repo and `dotnet add <project>.csproj reference jev-dotnet/src/Jev.Client/Jev.Client.csproj`, then set TYPESAFE_API_KEY.At a glance
- Type
- Library
- Status
- beta
- Language
- C#
- Runtime
- .NET 8
- Has code
- yes
Use cases and integrations
How curated lists describe it
Unofficial .NET SDK for TypeSafe AI.
wh000wh000/awesome-jev-live
Frequently asked questions
Is it official?
No, it is the author's own unofficial SDK.
Can I install from NuGet?
Not yet; reference the project from source or build a local package.
What .NET version?
It targets net8.0.
Related projects
Hack Club's lightweight LLM proxy, listed for adding a Jev forwarding endpoint behind its auth, limits and usage logging.
MCP serverproductionTypeScriptAx, a DSPy-style multi-language LLM framework, listed with a native TypeSafe provider for Boolean, Choice, Score and raw Jev questions.
PluginproductionTypeScriptEffect TypeScript library whose @effect/ai-typesafe package maps classify, probability and rating operations to Jev questions.
ProjectproductionTypeScriptPHP monorepo whose Polyglot module adds a TypeSafe driver for typed Noul, Choice and Score decisions alongside LLM inference.
ProjectproductionPHPGo MCP server giving any client typed Jev decisions via OpenRouter or TypeSafe, with validated answers and no paid retries.
MCP serverproductionGoSimon Willison's LLM plugin that adds Jev as a model for yes/no, choice and score questions from the command line.
PluginproductionPython