Skip to content

Jev SDK Go

Dependency-free Go 1.24+ client for Jev Noul, Choice, and Score questions: ChoiceOf[T] and ScoreOf[L] return the caller's own types and reject labels the question never offered, with validation before sending, retries that honor Retry-After, OpenRouter support, and eleven tested examples.

Stars
1
Language
Go
License
MIT
Published by
Community
Last verified
Oct 2026

About this project

A Go client for the TypeSafe AI API. TypeSafe answers structured questions about a piece of content. You name each question; the answers come back under those names, with the probabilities behind them. Zero dependencies — standard library only. A Choice's criteria maps each label to a description of when it applies. For labels that speak for themselves, jev.Labels saves writing the nils:

Quoted from the project's README. Read the full README.

Highlights

  • Zero dependencies beyond the Go standard library; requires Go 1.24 or later and TYPESAFE_API_KEY (or the WithAPIKey option).
  • ChoiceOf[T] and ScoreOf[L] return the caller's own types and reject any label or level the question never offered.
  • Default retry policy retries twice on 408, 429, and 5xx with exponential backoff from 500 ms to 5 s inside a 30 second budget.
  • Eleven runnable examples cover basic, triage, moderation, rerank, batch, config, decode, resilience, observability, openrouter, and gateway.
  • Response bodies are read under a 1 MiB cap, and the SDK's own HTTP client refuses to follow redirects to avoid leaking Authorization headers.

Watch out

MIT license; defaults are 10s per attempt and jev-latest, and the README notes that one-level Score floors follow observed service behavior as of 2026-09-20 which departs from the documentation's two-level minimum.

Questions about this entry

Short answers drawn from the linked project or page.

Related terms

Glossary definitions related to this entry.

More Jev resources like this

1.9kGitHub stars
A Go-based team workspace with optional Jev AI for agent auto-routing, task auto-fill, auto-assign, and automation condition nodes.
Jev Tools & CLIs#community#go#agents
2GitHub stars
Ruby gem that makes System One measurement a language primitive: psi prepares a state, judge/choose/score return calibrated distributions, and ? collapses them for control flow. Ships TypeSafe, protocol (/v1/systemone) and CUA providers behind one interface with its own spec suite.
Jev Repos & SDKs#community#ruby-gem#sdk
1GitHub stars
Unofficial portable Clojure SDK for TypeSafe System One. It posts state and typed questions to /v1/systemone, lists available models, and returns validated Clojure data with keyword or string answer keys, on a JVM backend or a native Jolt backend.
Jev Repos & SDKs#community#clojure#sdk
4.5kGitHub stars
Ruby-native AI framework whose RubyLLM::Judge class asks typed judgment questions: a probability that a statement holds, choices or scores, answered by the TypeSafe provider alongside 18 other hosted and local providers under one consistent API.
Jev Repos & SDKs#community#ruby#framework
73GitHub stars
High-performance Go event bus with a bounded MPMC ring buffer, fan-out and ordered handlers, plus an optional routing layer that evaluates deterministic rules first, reuses cached decisions, and asks Jev a typed Choice only for ambiguous cache misses.
Jev Integrations & Adapters#community#go#event-bus
21GitHub stars
Self-hosted Python SDK and System One-compatible API for runtime-defined Choice, Boolean and Score decisions on pinned open models, across Torch, vLLM, MLX, llama.cpp and WebGPU. Each result records probabilities, token usage, timing, model revision and prompt version, with committed row-level benchmarks.
Jev Repos & SDKs#community#sdk#self-hosted

From the Jev guides

Original write-ups on what this entry is for.

Closed weights have not stopped the ecosystem from rebuilding the shape in the open. API-compatible servers, retrained heads on small models, and inference-time tricks that skip generation entirely.
Jev Repos & SDKs#open-models#research#local
Read article
Back to all resources

From the Jev community

Posts from builders shipping with Jev right now.

Follow @typesafeai