jev-sdk-go
Dependency-free Go client for Jev Noul, Choice and Score questions that rejects any label or level the question never offered.
Overview
jev-sdk-go is a Go client for the TypeSafe API using only the standard library and requiring Go 1.24 or later. You name each question in a request and the answers come back under those names with their probabilities. Question types are Noul (yes/no probability), Choice (label plus every label's probability), Score (expected score, rubric legend and per-level probabilities), and a RawQuestion escape hatch.
Helpers build criteria: Labels for self-explanatory choice labels, Levels for an ordered rubric, and optional descriptions that can be any JSON-marshalable value, including examples, to sharpen boundaries between overlapping labels. Answers are available in per-kind maps so no type assertions are needed. Every question must come back answered and in kind, and labels or levels the question never offered are rejected. Per the list summary, it includes retries, OpenRouter support and eleven examples tested against an in-process fake of the API.
What the decision model decides
| Type | Question | Answers |
|---|---|---|
| Choice | What is this ticket about? | billing · technical · other |
| Yes / no | Is this a duplicate charge? | yes · no |
| Score | How urgent is this ticket? | can wait · this week · today |
How it works
- go get the module and set TYPESAFE_API_KEY
- Build a SystemOneRequest with named questions
- Call SystemOne
- Read answers from Nouls, Choices and Scores maps
Strengths
- Zero dependencies
- Strict validation of returned labels and levels
- Typed answer maps without assertions
Caveats
- Community client
- Requires Go 1.24+
Getting started
go get github.com/HomayoonAlimohammadi/jev-sdk-goAt a glance
- Type
- Library
- Status
- beta
- Language
- Go
- Runtime
- Library
- Has code
- yes
- Has tests
- yes
Use cases and integrations
How curated lists describe it
Go ecosystem: dependency-free Go 1.24+ client for Jev `Noul`, `Choice` and `Score` questions that reads `Choice` and `Score` answers back as the caller's own types, rejecting any label or level the question never offered, with retries, OpenRouter support, and eleven examples tested against an in-process fake of the API.
yibie/awesome-jev
Frequently asked questions
Does it have dependencies?
No. Standard library only.
What if the API returns an unexpected label?
The call fails; labels or levels not offered are rejected.
Does it support OpenRouter?
Yes, per the list summary.
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