Skip to content

jev-go-sdk

Dependency-free Go client for Jev mirroring the official Python and JavaScript SDK features, with grouped answer helpers.

LibrarybetaApache-2.0

Overview

jev-go-sdk is a dependency-free Go client for TypeSafe's API and Jev that aims to mirror the feature surface of the official Python and JavaScript SDKs. It sends a text or JSON state with typed Noul, Choice and Score questions and returns one probability-bearing answer per question.

The README's example asks, in one request, whether a customer wants money back, which team should handle the message, and how urgent it is, then reads the Noul probability, the Choice with its distribution and confidence, and the Score with its level and legend. Helpers return answers grouped by kind, and the README encourages asking several questions at once rather than chaining calls. It requires Go 1.26+ and uses only the standard library.

What the decision model decides

TypeQuestionAnswers
Yes / noIs the customer asking for money back?—
ChoiceWhich team should handle this?billing · support · sales
ScoreHow urgent is this message?low · medium · high

How it works

  1. jev.NewClient() with TYPESAFE_API_KEY
  2. client.Ask with state and several questions
  3. Read Noul, Choice and Score answers
  4. Branch in Go code

Strengths

  • Standard library only
  • Mirrors official SDK features
  • Grouped answer helpers

Caveats

  • Community SDK
  • Requires Go 1.26+

Getting started

`import "github.com/ajayk/jev-go-sdk"`, set TYPESAFE_API_KEY, then `jev.NewClient()` and `client.Ask(ctx, req)`.

At a glance

Type
Library
Status
beta
Language
Go
Runtime
Library
Has code
yes
License
Apache-2.0

Use cases and integrations

How curated lists describe it

Frequently asked questions

Does it have dependencies?

No, only the Go standard library.

Can I ask several questions at once?

Yes, and the README recommends it.

Which licence?

Apache-2.0.

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