jev-go-sdk
Dependency-free Go client for Jev mirroring the official Python and JavaScript SDK features, with grouped answer helpers.
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
| Type | Question | Answers |
|---|---|---|
| Yes / no | Is the customer asking for money back? | — |
| Choice | Which team should handle this? | billing · support · sales |
| Score | How urgent is this message? | low · medium · high |
How it works
- jev.NewClient() with TYPESAFE_API_KEY
- client.Ask with state and several questions
- Read Noul, Choice and Score answers
- 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
Dependency-free Go client for TypeSafe AI's System One API and the Jev model
logicrw/awesome-jev-projects
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 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