Skip to content

typesafe-sdk-go (atharvamhaske)

Beta unofficial Go SDK for System One and model discovery, checked against the upstream OpenAPI spec, with offline and live tests.

Librarybeta

Overview

This unofficial Go SDK gives Go applications the same System One workflow as the official Python and JavaScript SDKs: typed choice, score and noul questions, a typed answer union and model discovery. It exists because there is no first-party Go SDK, and the author says it should become unnecessary if one arrives.

It is in beta. Both endpoints (/v1/systemone and /v1/models) are implemented, go test passes against local fixtures without network, a live test runs in CI when a key is set, and the SDK is checked against the upstream OpenAPI spec committed to the repository. It requires Go 1.21+ and has a documentation site. Its maintainers state that an official Go SDK would make it unnecessary, and they keep it aligned with the same wire contract as the Python and JavaScript SDKs.

What the decision model decides

TypeQuestionAnswers
ChoiceCategorize the messagebilling · technical
ScoreRate urgencyCan wait · Needs attention
Yes / noIs this a duplicate charge?yes · no

How it works

  1. go get the module and set TYPESAFE_API_KEY.
  2. Call SystemOne with state and questions.
  3. Read answers from the typed union.
  4. List models as needed.

Strengths

  • Checked against the upstream OpenAPI spec.
  • Offline fixture tests plus live CI test.
  • Documentation site.

Caveats

  • Beta.
  • Unofficial.

Getting started

go get github.com/atharvamhaske/typesafe-sdk-go

At a glance

Type
Library
Status
beta
Language
Go
Runtime
library
Has code
yes
Has tests
yes

Use cases and integrations

How curated lists describe it

Frequently asked questions

Is it tested against the real API?

Yes, a live test runs in CI when a key is available, plus offline fixtures.

Which Go version?

Go 1.21 or later.

Is it official?

No.

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