jev-go (kyledickey)
Go SDK for Jev with typed question and answer structs, client options and structured API errors.
Overview
jev-go by Kyle Dickey is a Go SDK for TypeSafe's Jev API. The client reads TYPESAFE_API_KEY by default and sends SystemOneRequest values with typed NoulQuestion, ChoiceQuestion and ScoreQuestion structs, each with a matching answer type. The README's example asks whether a customer is eligible for a refund given a 30-day policy described in the Noul criteria.
Options allow a custom key, HTTP client and base URL. Non-2xx responses return an APIError with status, headers and raw body. Requests are not retried, so callers wrap them if needed. CI runs gofmt, go vet and race-enabled tests, and the project is MIT licensed.
What the decision model decides
| Type | Question | Answers |
|---|---|---|
| Yes / no | Is the customer eligible for a refund? | — |
How it works
- Create a client
- Build a SystemOneRequest with typed questions
- Send and type-assert answers
- Handle APIError on failures
Strengths
- Typed structs per question kind
- Clear error type
- Tests in CI
Caveats
- No built-in retries
- Community SDK
Getting started
`go get github.com/kyledickey/jev-go`, then `jev.NewClient()` and `client.SystemOne(ctx, req)`.At a glance
- Type
- Library
- Status
- beta
- Language
- Go
- Runtime
- Library
- Has code
- yes
- Has tests
- yes
- License
- MIT
Use cases and integrations
How curated lists describe it
TypeSafe.ai Jev Go SDK.
hellogumbo/awesome-jev
Frequently asked questions
Does it retry requests?
No, wrap calls yourself if needed.
How are errors reported?
As *jev.APIError with status code, headers and body.
Where does the key come from?
TYPESAFE_API_KEY by default, or WithAPIKey.
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