Skip to content

typesafe-ai-go

Community Go SDK for TypeSafe's System One API with typed questions, fluent builders, retries and examples.

LibrarybetaMIT

Overview

typesafe-ai-go is a community-maintained Go client for TypeSafe's System One evaluation API. It offers two styles: a raw pattern where you fill in EvaluationRequest structs and question maps directly, and a builder that chains Noul, Choice and Score calls into the same request. Answers are looked up safely with Get or with MustGet.

The default model is jev-latest and the base URL is api.typesafe.ai, configurable with WithBaseURL. The list notes retries and examples. It is not an official SDK. Transient failures are retried with a configurable backoff, examples cover the main patterns, and the project is MIT licensed. It is one of several community Go clients in this directory, differing mainly in API style.

What the decision model decides

TypeQuestionAnswers
Yes / noDoes this convey urgency?Explicitly time-sensitive · No urgency expressed
ChoiceWhich team should handle this?billing · technical
ScoreHow frustrated is the customer?Calm · Frustrated · Very angry

How it works

  1. Create a client with your API key.
  2. Build a request with state and typed questions.
  3. Call Evaluate.
  4. Read answers and act in your own code.

Strengths

  • Builder and raw styles produce the same request.
  • Configurable base URL for compatible endpoints.
  • Safe answer lookup helpers.

Caveats

  • Unofficial community project.
  • Requires a TypeSafe API key.

Getting started

go get github.com/kisshan13/typesafe-ai-go

At a glance

Type
Library
Status
beta
Language
Go
Runtime
library
Has code
yes
License
MIT

Use cases and integrations

How curated lists describe it

  • Community-maintained Go SDK for the TypeSafe AI System One evaluation API, with typed questions, fluent builders, retries, and examples.

    hellogumbo/awesome-jev

Frequently asked questions

Is it official?

No, it is community-maintained.

Can I point it at another endpoint?

Yes, with typesafe.WithBaseURL.

Which model does it use by default?

jev-latest.

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