Skip to content

jev-sdk-go

Dependency-free Go client for Jev Noul, Choice and Score questions that rejects any label or level the question never offered.

Librarybeta

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

TypeQuestionAnswers
ChoiceWhat is this ticket about?billing · technical · other
Yes / noIs this a duplicate charge?yes · no
ScoreHow urgent is this ticket?can wait · this week · today

How it works

  1. go get the module and set TYPESAFE_API_KEY
  2. Build a SystemOneRequest with named questions
  3. Call SystemOne
  4. 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-go

At 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 serverproductionTypeScript
  • Ax, a DSPy-style multi-language LLM framework, listed with a native TypeSafe provider for Boolean, Choice, Score and raw Jev questions.

    PluginproductionTypeScript
  • Effect TypeScript library whose @effect/ai-typesafe package maps classify, probability and rating operations to Jev questions.

    ProjectproductionTypeScript
  • PHP monorepo whose Polyglot module adds a TypeSafe driver for typed Noul, Choice and Score decisions alongside LLM inference.

    ProjectproductionPHP
  • Go MCP server giving any client typed Jev decisions via OpenRouter or TypeSafe, with validated answers and no paid retries.

    MCP serverproductionGo
  • Simon Willison's LLM plugin that adds Jev as a model for yes/no, choice and score questions from the command line.

    PluginproductionPython